Jan 15 2018 12:26 AM
We often receive an error 429 when using the Microsoft Graph or Outlook Mail REST API for particular actions on one mailbox. Error 429 seems to be a Throtting issue, but we cannot find any information about the issue we experience, because it's not related to the 'Rate-Limit' throttling rule documented here: https://blogs.msdn.microsoft.com/exchangedev/2017/04/07/throttling-coming-to-outlook-api-and-microso....
We are now able to reproduce this with the following step below: (we used direct Outlook Mail API to reproduce it)
At exactly 500 ‘move’ actions we see the following behavior of the API:
We tried several mailboxes (shared and user mailboxes), same issue.
It’s not the ‘Rate Limit’-throttling, because the header returns the information below and there are still remaining requests, when the error 500 occurs:
Rate-Limit-Limit: 10000
Rate-Limit-Remaining: 9502
Rate-Limit-Reset: 2018-01-12T15:30:26.817Z
We currently cannot find any Throttling documentation related to the 500 move actions.
We sometimes have to wait for more than 30 minutes before the 429 error disappears.
Is this a bug in the API? Or a throttling rule/issue?
Anyone experiencing the same?
Feb 07 2018 02:59 AM
Yes, 429 is the HTTP error code "Too Many Requests - The user has sent too many requests in a given amount of time ("rate limiting")." The HTTP specification doesn't specify how the server identifies the user, nor how it counts requests, so the implementation might hit a limit earlier than you would otherwise expect.
We don't have access to the details of the implementation, and it might change from time to time, so depending on how it is implemented you might also get a 500 thrown from time to time as well. I am not surprised that you are getting rate throttling even though the headers claim you have a few requests to spare, but I agree that the very precise Rate-Limit-Remaining header is unhelpful if it is not accurate, and worth raising as an issue.
Mar 01 2019 03:51 AM
Hi, we are actually facing the same problem. Do you have any news regarding this? Thank you in advance.