HTTP response headers: HTTPHeaderDict({‘Date’: ‘Fri, 15 Sep 2023 13:26:08 GMT’, ‘Content-Type’: ‘application/json; charset=UTF-8’, ‘Content-Length’: ‘208’, ‘Connection’: ‘keep-alive’, ‘Server’: ‘nginx’, ‘x-frame-options’: ‘DENY’, ‘x-xss-protection’: ‘1; mode=block’, ‘x-content-type-options’: ‘nosniff’, ‘content-security-policy’: “report-uri https://app.asana.com/-/csp_report?report_only=false;default-src ‘none’;frame-src ‘none’;frame-ancestors ‘none’”, ‘x-asana-api-version’: ‘1.1’, ‘asana-change’: ‘name=new_user_task_lists;info=Update on our planned API changes to user task lists (a.k.a. My Tasks), name=new_goal_memberships;info=https://forum.asana.com/t/launched-team-sharing-for-goals/378601;affected=true’, ‘x-robots-tag’: ‘none’})
HTTP response body: b’{“errors”:[{“message”:“offset: Your pagination token is invalid.”,“help”:“For more information on API status codes and how to handle them, read the docs on errors: Errors”}]}’
I have been getting this error, I tried all the ways to fetch tasks for a projects in case when there are more than 1000 tasks for projects. Have been getting pagination error , even using Asana Api and Asana library as well in Python. Kindly help me resolve this issue