503 errors trying to get ToDo lists

Raymond Camden 31 Reputation points
2020-11-03T22:22:42.747+00:00

When I try to get my ToDo lists, using this endpoint, https://graph.microsoft.com/v1.0/me/todo/lists, I get a 503 error

{
"error": {
"code": "UnknownError",
"message": "The service is unavailable.",
"innerError": {
"date": "2020-11-03T22:16:08",
"request-id": "046d52f9-304a-4f73-884e-e0fa737a92fa",
"client-request-id": "7f73ad15-7558-6a4c-0c64-0761fbb618ba"
}
}
}

I've confirmed that I've given permissions to read this resource.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,557 questions
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. Sebastiano Bellinzis 11 Reputation points
    2021-01-01T19:36:54.143+00:00

    I am encountering the same issue on my end. I have an office365 linked to my account.

    503 Service Unavailable
    {
    "error": {
    "code": "UnknownError",
    "message": "The service is unavailable.",
    "innerError": {
    "date": "2021-01-01T19:24:55",
    "request-id": "57fc5eaa-2dd4-466a-af26-eb236c755629",
    "client-request-id": "57fc5eaa-2dd4-466a-af26-eb236c755629"
    }
    }
    }

    52821-image.png

    2 people found this answer helpful.
    0 comments No comments

  2. Raymond Camden 31 Reputation points
    2020-11-03T22:42:24.257+00:00

    I've already set the right permissions (as far as I know). This is what I'm seeing:

    37243-image.png

    1 person found this answer helpful.
    0 comments No comments

  3. Jeremy Thake 6 Reputation points Microsoft Employee
    2020-11-03T22:37:44.053+00:00

    Looking at the request-id on the backend. Your user token did not have the correct permissions. You only had user.read.

    To call teh /todo endpoint as per the docs, you'll need to consent to Tasks.ReadWrite. https://learn.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-1.0

    If you're doing this just in Graph Explorer, there is a Modify Permissions tab where you can consent this permission.

    0 comments No comments

  4. Jeremy Thake 6 Reputation points Microsoft Employee
    2020-11-03T23:03:12.91+00:00

    I cannot repro this with 3 diff Microsoft Accounts (Consumer / MSA). I'm going to escalate this internally.


  5. Amar Patel 1 Reputation point
    2020-11-24T19:57:45.653+00:00

    I have the same error. I have Tasks.ReadWrite permissions setup.

    0 comments No comments