When using the Asana connector in Workflows with the Create User, Update User or Deactivate User cards, a Not Authorized error may be encountered, similar to the following, even though other Asana connector cards execute successfully:
{
"_error": true,
"retry_count": 0,
"flo": 248038,
"method": "vXW6NjP52",
"execution": "c95b2b9a-7505-4ba3-afc5-b3154ebf7b9f",
"module": "asana.createUser",
"kind": "HTTP Request Error",
"statusCode": 401,
"headers": null,
"body": null,
"message": "Not Authorized",
"code": 401,
"description": "HTTP Request Error",
"steps": 26,
"left-operand": 0,
"_fatal": null,
"source": {
"flo": "asana:1.2.180:hTTPRequest",
"method": "irHHTFYMkpfC",
"execution": "a35793c8-4521-4306-b3a5-d673e52b8d8a",
"module": "control.throwIf"
},
"right-operand": 0,
"operator": "=="
}
- Asana connector for Workflows
- Create User card
- Update User card
- Deactivate User card
The Create User, Update User, and Deactivate User cards use the Asana SCIM endpoints. As documented in Asana SCIM, accessing these endpoints requires an Asana Service Account and an Asana Enterprise domain. These cards cannot be used without an Enterprise subscription.
With an Enterprise subscription, use the connector cards that make use of the Asana SCIM endpoints, the Asana connection must be authorized using the optional Service Account Token:
