MS Graph API throws 502 Unkown Error from time to time

Attila Herczog 1 Reputation point

An http request that had worked yesterday stopped working for a few hours and threw either 502 or 503. Since then, the exact same requests started working again, but I'm afraid that this will happen in the future. My question would be: Is there any way to debug what caused the unkown error? How can I be sure that this issue won't be repeated in the future?

I can't reproduce the error now, but I was using the /users/{userID}/messages/ endpoint.

Thank you in advance!

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

2 answers

Sort by: Most helpful
  1. Micca 156 Reputation points


    have you noticed the Admin Portal message center notification MF394386 ?

    0 comments No comments

  2. Srinivasa Rao Darna 6,681 Reputation points

    Hi @Attila Herczog ,

    There is a health bulletin released by Microsoft for the affected tenants, Users may encounter delays and experience failures when accessing some M365 services includes Microsoft Graph API.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments