Get tasks from a project returns different number of tasks depending on page limit provided.

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

2 Likes

I can confirm i have the same issue.

2 Likes

Hi @Kem_Ozbek, do you have any at your team that could have a look at this bug? Thanks :slight_smile:

1 Like

@John_Baldo @David_Neal

2 Likes

I have a similar issue. Most times I get all the tasks for a project, but every like 6 or 7 days I get about 3,100 out of 3,400 with no error returned. The most recent time this happened was this Sunday night.

1 Like