Reputation: 304
I'm not receiving the Retry After
header from the MS Graph API when I get throttled (ie. 429 errors). I also created an issue on github repo for the javascript client library, but this probably isn't an issue with the library. Not sure how to debug this...
Upvotes: 2
Views: 2414
Reputation: 1393
I found that when querying SharePoint lists and libraries through the Graph API, if you hit SharePoint throttling limits then the Graph does return 429 with no retry info in the headers. That's the short answer, here's a much longer post I wrote about this https://camerondwyer.wordpress.com/2018/01/31/microsoft-graph-api-throttling-sharepoint-lists-libraries-http-429-error-code/
Upvotes: 0
Reputation: 5302
The Excel REST API is implemented by SharePoint in the case of a SharePoint hosted file.
The SharePoint REST API sends 503's and not 429's when throttling and doesn't support the retry-after header.
Only OneDrive and Exchange API's support retry after as far as I know. (Having an issue with Exchange ATM though)
(AAD also seems to have implemented the limitations, but it's not clear if it implements retry-after or not)
I added a uservoice comment about that, upvote it to help :) (still under validation, might take a couple of hours to appear)
Upvotes: 1