How should we handle "Retry-After" in response headers for Response status - 200/201/202

Sankar Ram 0 Reputation points
2023-07-25T16:43:15.78+00:00

Hi All,

We are getting "Retry-After" in response headers for response status codes like - 200,201 and 202.

But I couldn't find anything related to this in the Graph API documentation.

Though we receive "Retry-After" in the response header, the requests are getting executed successfully.

For example, we received a 201 status code for creating a draft message using endpoint https://graph.microsoft.com/v1.0/me/messages and the message was created. But the response header had "Retry-After".

Are we supposed to wait "Retry-After" seconds to send the next request?

Can someone please help me understand this behavior?

Thank you!

Sankar

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

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.