Hello Community,
We are using Asana Python SDK for API Calls to get Stories for the Tasks, but the SDK is throwing 500 error:
asana.error.ServerError: Server Error: Oops! An unexpected error occurred
while processing this request. The input may have contained something
the server did not know how to handle. For more help, please contact
api-support@asana.com and include the error phrase from this response.
The API Calls we are doing are as follows:
- Get all Workspaces
- Get all Projects in Workspaces
- Loop over every Project and get all Tasks
- Get Stories for all the Tasks using SDK function:
get_stories_for_task
In the stack trace, we can see the error is coming from the get_stories_for_task
function of Asana Python SDK.
Please see the Reference for function and API Endpoint.
Can someone help me out with this issue?
Thanks.