OneDrive / onedrive-api-docs

Official documentation for the OneDrive API
MIT License
447 stars 228 forks source link

Calling CreateLink more than 15 times in hour causes the endpoint to stop responding. #1766

Open glasscaleb opened 6 months ago

glasscaleb commented 6 months ago

Category

Expected or Desired Behaviour

Calling the CreateLink endpoint should return a new Json response containing a permission. (200 or 201)

Observed Behaviour

Calling the CreateLink endpoint after 15 times in an hour, return 429 "Too Many Requests"

Steps to Reproduce

Login to the Graph Explorer with a personal account. Using the Graph Explorer https://developer.microsoft.com/en-us/graph/graph-explorer POST to /me/drive/items/{itemId}/createLink

Body: { "type": "embed", "scope": "anonymous" }

Thank you.