Api masters, hi,
I am trying to use https://app.asana.com/api/1.0/workspaces/**{workspace_id}**/tasks/search endpoint with a service account I created for enterprise edition. I use the app token for the service account. However, I see that I get empty response.
When I do the request with a PAT token for a user, I do get non-empty response. Looking at documentation, I also see the following
The workspace in which the search is being performed is a premium workspace - The user is a member of a premium team inside the workspace
Blockquote
My question is: Is the service account we create for enterprise edition NOT a member of a premium team inside the workspace? I notice that service account does not have email associated with it. How can we make /workspaces/{workspace_id}/tasks/search work with service account?
Please read this before posting
- If you received an error from the API that you’re looking for help with, please include the error in your post and be descriptive of the requests you made that received the errors. To be clear, we need the error in the JSON response from the API, not the error your code raised.
- Do not share any API credentials. Please check that the code you’re pasting into the post does not contain any real OAuth tokens or personal access tokens. If you have exposed credentials, you should revoke them immediately.