Graph API - Do requests resulting in 503 and 504 errors count towards throttling limits?

Peter 40 Reputation points
2024-06-28T23:45:30.8666667+00:00

Do requests to Graph API resulting in the 503 and 504 responses described here https://portal.azure.com/#view/Microsoft_Azure_Support/HelpAndSupportBlade/~/overview count towards the throttling limit described here https://learn.microsoft.com/en-us/graph/throttling-limits?

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

Accepted answer
  1. CarlZhao-MSFT 44,761 Reputation points
    2024-07-01T02:54:55.78+00:00

    Hi @Peter

    Requests to the Microsoft Graph API that result in 503 (Service Unavailable) and 504 (Gateway Timeout) responses do not count towards the throttling limit. Throttling is specifically triggered by exceeding the request limits, which typically result in a 429 (Too Many Requests) response.

    If you encounter 503 or 504 errors, it usually indicates temporary server issues or network problems rather than throttling. It’s always a good practice to implement retry logic with exponential backoff to handle these types of errors gracefully.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.