Problem with Task Permissions via API


#1

Hi All,

I’m having trouble with Asana Permissions in tasks.

I’ve create one task with my user (gid: XXXXXXX), and I’ve add a follower to that task (gid: YYYYYY).

I want to check that task status and his story with user YYYYY, i’m able to do it via web, but API gives me this:

curl -H "authorization:bearer 0/YYYYYYYYYYYYYYYYYYYYYYYY" https://app.asana.com/api/1.0/tasks/123456789456
{"errors":[{"message":"You do not have access to this task.","help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"}]}

Any idea why?

Regards.