Skip to content

Bug: pagination of tasks per team #11

@theteladras

Description

@theteladras

There seams to be an issue with trying to fetch all tasks of team. So what happens is the following:

  • I hit the EP for fetching the tasks (/team/${teamId}/task?page=0&subtasks=true)
  • The response of that call gets me a result of 100 tasks (which is the default limit I assume)
  • Then I try to get the same data for the next page (/team/${teamId}/task?page=1&subtasks=true)
    The call results in a 404, with the following response body:
{
    "err": "Team not found",
    "ECODE": "ACCESS_002"
}

This error makes no sense, as we know that for the first page the team did exist and for the second it fails to fetch and throws the error report that the team is not found.

Here is the value for the header x-datadog-trace-id : 8433326557108611397. Not sure if it can be used to trace the issue back.

Also is there a support to reduce the limit of the items per page?

Edit:

It also seams to be happening in cases when fetching tasks via the other endpoint (/lists/{listId}/task), for some lists. But when inspecting the list data, nothing seams unusual.

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