Skip to content

Pagination does not work for get_tasks_for_project #170

@mikecx

Description

@mikecx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions