question

RaymondCamden-4923 avatar image
2 Votes"
RaymondCamden-4923 asked saldana-msft edited

503 errors trying to get ToDo lists

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-todo
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jeremythake avatar image
0 Votes"
jeremythake answered

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://docs.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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaymondCamden-4923 avatar image
1 Vote"
RaymondCamden-4923 answered

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

37243-image.png



image.png (90.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jeremythake avatar image
0 Votes"
jeremythake answered RaymondCamden-4923 commented

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

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you - I really appreciate it!

0 Votes 0 ·

As an FYI, I tested today with a work account, and it worked fine, so it's definitely something related to my account alone.

0 Votes 0 ·

Can you confirm , is this Live Account sign in using cell number only? Can you sign into a browser and see the Todo tasks there?

0 Votes 0 ·
Show more comments
AmarPatel-2824 avatar image
0 Votes"
AmarPatel-2824 answered AmarPatel-2824 published

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BhaktiGaonkar-8555 avatar image
0 Votes"
BhaktiGaonkar-8555 answered RaymondCamden-4923 commented

@RaymondCamden-4923 , @AmarPatel-2824

Can you please share if it is MSA id or AAD id. The login screen showed the same email for both personal and AAD accounts.
It would be helpful in debugging the issue if we have user ID. To retrieve User ID, please :
a. Open Welcome to To Do (microsoft.com) on your Web app, then open To Do Settings in the top right corner.
b. Select Copy Session ID.
c. Paste your User ID

· 29
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Here ya go:

SessionID: 40406161-f21d-41af-a8c4-8d307719cb9c
UserID: 7f77d1fe9c69badb

1 Vote 1 ·

Thanks. Also can you please share if it is MSA id or AAD id. The login screen showed the same email for both personal and AAD accounts.
Please try the API again on graph explorer and verify if you are still facing the issue.

0 Votes 0 ·

I tried the GraphQL Explorer again, same issue.

1 Vote 1 ·
Show more comments

iI don't know. :) When it asks me work or personal, I select personal, always.

0 Votes 0 ·
Show more comments
SebastianoBellinzis-8626 avatar image
2 Votes"
SebastianoBellinzis-8626 answered

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



image.png (70.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sebi-5617 avatar image
0 Votes"
sebi-5617 answered

I am encountering the same issue
But i may be facing Throttling issues

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SebastianKlenke-3239 avatar image
0 Votes"
SebastianKlenke-3239 answered

I have exactly the same issue. But I think my problem is that I want to use me office 365 Family account. As far as I know those accounts don't have an AAD integration. So I can't use MS Graph to query me todo list. When you use your office 365 account to create a new azure tenant you'll get a new account. It seems it's the same account but it's another. And this account hasn't sign up for "to do".

Could anyone confirm my thoughts or have another idea? And is there an solution to use ms graph to implement custom stuff with "to do" by using an office 365 family account.


BR Sebastian

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.