<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
"Not Authorized" Error when Using Certain Asana Connector Cards in Workflows
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

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": "=="
}
 

 

Applies To
  • Asana connector for Workflows
  • Create User card
  • Update User card
  • Deactivate User card
Cause

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.

Solution

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:

Asana Reauth 
 

Related References

Loading
"Not Authorized" Error when Using Certain Asana Connector Cards in Workflows