question

RomanBodnarchuk-6376 avatar image
0 Votes"
RomanBodnarchuk-6376 asked 35247258 edited

503 errors for a specific day in Graph API /messages endpoint

Hello MS!

We are often faced with 503 error consistency produced for some of our customer accounts. The problem occurs for some specific subset of messages (e.g., specific day). The re-tries don't solve the problem. The only solution we have right now is to skip the subset of activities, which is highly undesirable, and can cause data loss at our side.

Here is example request

https://graph.microsoft.com/v1.0/users/REDACTED_CUSTOMER_EMAIL/messages?%24filter=ReceivedDateTime+ge+2021-01-26+and+ReceivedDateTime+lt+2021-01-27&%24skip=200&%24top=6

And response headers:

{'request-id': '77eefecf-b601-43bb-9e51-4a785ba24105', 'client-request-id': '2aefae8a-17cc-4fec-8335-2dd7a11fbdb1', 'x-ms-ags-diagnostic': '{'ServerInfo':{'DataCenter':'East US','Slice':'SliceC','Ring':'5','ScaleUnit':'003','RoleInstance':'AGSFE_IN_20'}}', 'Date': 'Mon, 08 Feb 2021 16:29:50 GMT', 'Content-Length': ‘0’, …}

I appreciate any comments/suggestions!

microsoft-graph-mail
· 3
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.

  • When you see the issue, Outside of your application try the above Graph API call to see if you can repro the issue

  • Use pagination to get query limited batch of data, this will help you to reduce the timeouts

0 Votes 0 ·

Hi @Deva-MSFT !

Yes, I can repro the issue for specific user both on our production environment and locally via curl.

We have tried playing with pagination params, and it work for some users. But for this user it doesn't help - we receive 503 error with all the params combinations we try.

Also, can you clarify why you mentioned timeouts in your reply? I didn't notice any timeouts coming from Graph API for the problematic request.

0 Votes 0 ·

Did you manage to find a solution? Experiencing the same issue

0 Votes 0 ·

0 Answers