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
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
8 answers
Sort by: Most helpful
-
Bhakti Gaonkar 1 Reputation point
2020-12-01T16:53:05.293+00:00 -
Raymond Camden 31 Reputation points
2020-12-01T16:57:05.777+00:00 Here ya go:
SessionID: 40406161-f21d-41af-a8c4-8d307719cb9c
UserID: 7f77d1fe9c69badb -
Bhakti Gaonkar 1 Reputation point
2020-12-02T06:42:37.237+00:00 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. -
Raymond Camden 31 Reputation points
2020-12-02T16:03:01.803+00:00 iI don't know. :) When it asks me work or personal, I select personal, always.
-
Raymond Camden 31 Reputation points
2020-12-02T16:04:12.34+00:00 I tried the GraphQL Explorer again, same issue.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2020-12-03T11:02:04.267+00:00 Hey Raymond, Thanks for checking it again.
Can you share the Error response like the one you have shared in starting of this thread. We would need request id to dig deeper. -
Raymond Camden 31 Reputation points
2020-12-03T15:04:57.813+00:00 {
"error": {
"code": "UnknownError",
"message": "The service is unavailable.",
"innerError": {
"date": "2020-12-03T15:04:14",
"request-id": "0d90e9be-7b35-4973-a0cf-c11b61429afa",
"client-request-id": "9fa11296-c227-968f-4df5-44df9591844a"
}
}
} -
Raymond Camden 31 Reputation points
2020-12-08T20:56:42.367+00:00 Any update on this?
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2020-12-09T03:37:30.113+00:00 Hey! Raymond.
Thanks for being patient, we are investigating this issue and seems like very corner scenario which you are facing. While we root cause the issue and pull more details why is it happening for you can you try this workaround and share with us what you see.- Try Profile call on Graph explorer.
GET https://graph.microsoft.com/v1.0/me/
Please try hitting this endpoint. After this try out https://graph.microsoft.com/v1.0/me/todo/lists again. - Check if GET on messages is succeeding for you.
GET https://graph.microsoft.com/v1.0/me/messages this endpoint
While you try out these endpoint we are looking into the isue by pulling details being logged on our side.
Thanks
- Try Profile call on Graph explorer.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2020-12-16T05:58:56.927+00:00 Hi Raymond.
Looking at the latest request-id you shared on 3/12 on the backend. Your user token did not have the correct permissions. You only had user.read. i know you have checked this earlier and shared you have Tasks.ReadWrite consent but can you check again.
To call teh /todo endpoint as per the docs, you'll need to consent to Tasks.ReadWrite.
If you're doing this just in Graph Explorer, there is a Modify Permissions tab where you can consent this permission. To check if right permissions are going please scroll down in Modify permission tab to see have Tasks.ReadWrite at the time of call. Adding ss:
You can try removing Tasks consent and adding back if you face issue
-
Raymond Camden 31 Reputation points
2020-12-16T12:09:40.897+00:00 I already have Tasks.ReadWrite consented to. You suggested removing it and adding it back, but I'm not seeing how do to that in the UI. I know I did it before, but now I can't seem to modify permissions.
-
Raymond Camden 31 Reputation points
2020-12-16T12:12:42.867+00:00 Ok, I clicked on the gear icon by my name, and I see where to modify permissions there, but nothing I did removed those permissions. I clicked on all the Tasks one (they were already consented) and re-consented, but it didn't help.
-
Raymond Camden 31 Reputation points
2020-12-16T13:56:37.31+00:00 I was able to find the place where I can remove permissions - it took me a while to do that. I removed all permissions from the GraphQL explorer. I went back, added permissions in, and it still does not work.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2020-12-16T14:21:11.003+00:00 Thanks for sharing update Raymond. We talked to our PM and we are trying to have a call with you for resolving it. Meanwhile
call is being scheduled can you share the response again.
I want to confirm if call is showing right token claim after you removed permissions and re-added.One more small ask, can you trying hitting GET https://graph.microsoft.com/v1.0/me/messages this endpoint if it works or not.
Thanks for being patient and helping us out with providing details
-
Raymond Camden 31 Reputation points
2020-12-16T15:24:05.963+00:00 Hi, here is the response to trying to read tasks:
{
"error": {
"code": "UnknownError",
"message": "The service is unavailable.",
"innerError": {
"date": "2020-12-16T15:21:56",
"request-id": "75509fd5-bcea-452e-acdb-7ffea7082156",
"client-request-id": "c2bf53c1-a02e-5ba4-4e3b-574b8f3b0302"
}
}I tried me/messages and got an error saying I needed to grant permissions. I added permissions - oddly I was only able to add Read, when I clicked Consent for ReadWrite, it did nothing. But after granting read I was able to get the correct response.
-
Tigran TIKSN Torosyan 1 Reputation point
2020-12-23T12:08:05.51+00:00 I am also having the same issue on personal account but not on corporate accounts.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2021-01-15T05:44:27.477+00:00 Hey @Raymond Camden ,
Hope you are doing well!
We looked at the issue you are running into with this account: ray@camdenfamily.com
The issue is happening due to routing mismatch, so we want you to try out the below workaround if that works,
You need to add X-anchormailbox header while making a call in Graph Explorer. Adding the steps below on how to add the same:- Go to RequestHeader section whike making api call in Graph Explorer.
- Add the key and value as below here.
Key: x-anchormailbox
Value for your account: PUID:00033FFF8058D8F7@84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
Hit add after adding the key value, you will see it added in request headers. - Make a call now and see if it works.
- Go to RequestHeader section whike making api call in Graph Explorer.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2021-01-15T05:45:01.837+00:00 - As a quick check, open developer window using F12 in your browser in the page where GE is opening.
On running query you will lists call made in the Network tab.
Have a good day!
- As a quick check, open developer window using F12 in your browser in the page where GE is opening.
-
Tigran TIKSN Torosyan 1 Reputation point
2021-01-15T11:19:09.183+00:00 how can I get that value for my account?
-
Raymond Camden 31 Reputation points
2021-01-15T15:59:05.637+00:00 Sorry, no change.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2021-01-15T17:07:14.217+00:00 oops! Can you paste the error response here once again.
We expected it would fix with this response header. Will look more into it -
Raymond Camden 31 Reputation points
2021-01-15T18:34:53.387+00:00 It was the same as before.
{ "error": { "code": "UnknownError", "message": "The service is unavailable.", "innerError": { "date": "2021-01-15T18:34:13", "request-id": "cfb4704c-a37a-4128-977a-1e0914f7bd5c", "client-request-id": "bf65766a-edfb-44e7-e818-d1fe6b64b3a5" } } }
-
Task Fabric 1 Reputation point
2021-01-19T12:44:55.133+00:00 Thanks @Raymond Camden for trying out and for your patience. We are still investigating this issue.
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2021-02-03T08:02:07.76+00:00 Hey @Raymond Camden , Thanks for being patient. We looked at it more and since you have customer and enterprise account both with the same id issue is happening.
Please try adding this header while making call similar to the steps we shared before:
Add the key and value as below in request headers:
Key: X-AnchorMailbox
Value for your account: MSA:ray@camdenfamily.com
Hit add after adding the key value, you will see it added in request headers.Since your is MSA(consumer) account we have to add header explicitly.
HTTP Header
X-AnchorMailbox: MSA:ray@camdenfamily.com@Tigran TIKSN Torosyan you can also try the same workaround for your call.
Let us know if this resolves issue for you.
Thanks
Divyangna -
Tigran TIKSN Torosyan 1 Reputation point
2021-02-03T10:26:40.42+00:00 did not helped, the same issue, service "The service is unavailable."
-
Divyangna Choudhary 1 Reputation point • Microsoft Employee
2021-02-03T10:41:34.39+00:00 Thanks for sharing info @Tigran TIKSN Torosyan , we will look more into it
Can you copy the error response with request id here. Also if possible, open F12 developer option in your browser and then make the call in Graph explorer for api with the mentioned header added. This call would be traced as you can in screenshot below. Can you share this screenshot as well ?
-
Raymond Camden 31 Reputation points
2021-02-03T14:03:42.73+00:00 Still no change. Here's a screenshot:
-
Raymond Camden 31 Reputation points
2021-08-08T18:34:25.203+00:00 Can I please get an update on this? I still can't use the service.
-
Karan Garg 1 Reputation point • Microsoft Employee
2021-08-09T10:06:33.4+00:00 Hey Raymond, Thanks for checking it again.
We have rolled out some fix last week. Can you once verify this again? If the request fails, please share the Error response with details. We would need the latest request id to investigate this further.
-
Raymond Camden 31 Reputation points
2021-08-11T14:19:19.997+00:00 It does look like the error has changed a bit. I tried to post the JSON response in, but the forum would not let me post. You can find it here: https://gist.github.com/cfjedimaster/314fdca0146af0e20a062f693190caf5
Sign in to comment -
-
sebi 1 Reputation point
2021-02-17T21:47:27.27+00:00 I am encountering the same issue
But i may be facing Throttling issues -
Sebastian Klenke 1 Reputation point
2021-02-28T21:35:11.127+00:00 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