Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination does not work for get_tasks_for_project #170

Open
mikecx opened this issue Jul 12, 2024 · 1 comment
Open

Pagination does not work for get_tasks_for_project #170

mikecx opened this issue Jul 12, 2024 · 1 comment

Comments

@mikecx
Copy link

mikecx commented Jul 12, 2024

When calling get_tasks_for_project on any project with more than 100 tasks, the API returns the following:

The result is too large. You should use pagination (may require specifying a workspace)! (Asana::Errors::InvalidRequest)

The docs say to set options: { limit: } to a value between 1 and 100 but setting any value including 1 still causes the API to fail in the same way. There's no option to specify a workspace on that API either, so that's of no use.

This is the same issue from #110 and I suspect the same issue from #164 but I haven't looked at that one. I've forked the gem and used the same fix from #112 applied to get_tasks_for_project but i'm not sure if that's the right fix or just a fix.

@samyouel
Copy link

Same here, its not working for get_tasks_for_tag either...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants