Hi Asana Community,
I hope you’re all doing well. I’m reaching out to report an issue we’re encountering when fetching tasks for a project. The project contains 110 tasks, but we’re seeing inconsistent results depending on the page size limit used.
When we set the page size limit to 10, we receive only 92 tasks in total, with the last page containing just 2 tasks. However, when we set the page size limit to 100, we receive all 110 tasks, with 10 tasks on the last page.
This behavior is observed both when using the Asana Node.js SDK and on the API reference page (Get tasks from a project).
API request:
curl --request GET
–url ‘https://app.asana.com/api/1.0/projects/{project_gid}/tasks?limit=10’
–header ‘accept: application/json’
–header ‘authorization: Bearer {token}’
Please let me know if any additional details are required from my side. Any insights or suggestions would be greatly appreciated!
Regards,
Dawood