Update Assignee for a task

Hi,

I am using custom action to update assignee for task. Input request as below:
Path : image
Method: PUT
Input: image

Error: image
When I check this forbidden error it is saying that I do not have access to update task.
Please help!

Thanks and Regards,
Ravi Shankar

@Phil_Seeman Can you please help me in this? I am using workato platform.

Thanks and Regards,
Ravi Shankar

Input:

Attaching input path, data etc.

Thanks!

Regards,
Ravi Shankar

Hi @Ravi_Shankar,

In order to access data via the Asana API, it requires that you supply an “Authorization” header containing an authorization token for the Asana account that you’re wanting to access. I don’t see anything in your posts about such a header, and that could certainly explain a “Forbidden” error.

You can read about Asana API authentication/authorization here: Asana

Hi @Phil_Seeman , I was able to read data without the authorization header.
Do I need to still use authorization header if I am using workato connection.
image

Thanks!

Regards,
Ravi Shankar

I’m afraid I don’t know anything about Workato specifically, have not used it myself - you would need to contact Workato for more info on that question, unless anyone else here has used it and chimes in.

Thanks! I was able to resolve this issue. I was passing wrong Task GID.

Regards,
Ravi Shankar