/users/{user_gid}/user_task_list returns 403


I have a script that queries a bunch of users’ task lists and it uses the /users/{user_gid}/user_task_list endpoint to discover gids of these task lists. It used to work fine, but now I’m getting 403 on all requests that search for a task list for any user other than the API authenticated user. At the same time I can see task lists in the app just fine, so it doesn’t look like a permissions issue.

For example, this works: https://app.asana.com/api/1.0/users/329041525715141/user_task_list?workspace=157272343743262, because I’m logged in as this user. This doesn’t: https://app.asana.com/api/1.0/users/329041525715141/user_task_list?workspace=157272343743262 and gives me {"errors":[{"message":"Forbidden","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"}]}.

I think it stopped working a few weeks ago.

Sorry but I don’t see any difference between your 2 query, the one that is working and the other.

It’s difficult to help!

Hi @Konstantin_Azarov, due to upcoming product changes, we’re unable to support accessing another user’s user_task_list. Instead, we recommend using GET /tasks?workspace=<workspace-gid>&assignee=<user-gid> which should return the same exact tasks, but with a different ordering. Sorry we caught you off-guard! Our logs showed that there was extremely little affected traffic and we must have missed you in our analysis.

1 Like