-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
429 - throttledRequest errors using /createLink endpoint after creating just a few links #1436
Comments
Thank you for your contribution to OneDrive API Docs. We will be triaging your incoming issue as soon as possible. |
Hello. Same behaviour observed here, only for createLink activity, I am able to create max. 13 links, then have to wait for around an hour. Apart from createLink, I read, upload and delete files on regular basis with no problem at all. Thanks and regards. |
Thanks for your feedback. This is currently being investigated internally. |
Hi @chackman, any news on this please? Thanks. |
Hi @Matrino I work with @chackman at Microsoft, we haven't changed any policies lately, however I can try to take a look at your particular case to identify the reason why your calls are being throttled, can you help me out with the email address that is getting the error? as well as a rough timestamp of when you get the error in UTC? if if happened within the last couple of days it would be desirable, but not required, once I have email and timestamp I can try to look at some of our logs to see which policy is getting triggered. |
Hello @gcarden. I am not seeing a way to safely send you an email address via GitHub, so I hope that the following information is sufficient:
|
Hi @The-Lion completely understand not sending the email, we can do a trace instead Go to: https://onedrive.live.com/?v=traceme |
3AE367261D4DA2BC\2021-03-18_134835 3AE367261D4DA2BC\2021-03-18_134836 |
@gcarden, any updates on this please? Was the trace I created useful? |
My apologies, didn't see the notification until now, yes the traces were very useful! The limit is around number of sharing links created by third party apps, while this limit is not entirely new it was enabled somewhat recently around July of last year, the limit is around 50 Sharing API calls per hour for a given drive, I'm unsure what your scenario is, if you follow the retry time header in the response you should be able to be unblocked after some time, do you expect your code to keep trying to continuously upload files and send sharing links all day to the point that you won't be able to catch up? Please feel free to describe your scenario so we can understand the limitation you are running into a little bit better. |
Use Case:I am using the application in a form where users can attach their documents or images. The files will be stored in a user specific folder on OneDrive when the form is submitted. Shared links to the files are created to be included in an email notification to multiple recipients and stored in a database.
Questions:
|
We ran into the same issues here. Here is our scenario: Use CaseWe are building an edtech tool for teachers to assign their assignments from OneDrive to students. Each student will get their own copies so that they can do the assignments individually. The copies will be created in teacher's OneDrive so we use create link to give students permission to edit their own copies. Given the number of students and the number of assignments that a teacher might have to share, 50 calls/ hour is not possible for the workflow. Questions
@gcarden It would be great that you can provide some help here. Thanks |
@gcarden, any updates on the questions asked? |
@gcarden, @chackman. It is more than a month ago since your latest reply on this issue. The issue is still present for almost 3 months now, and there are quite some questions asked which aren't answered yet. Is this actually the place to report and discuss this kind of API problems? I would really appreciate it to get a status update on this. |
Hello, |
I'm also very interested on updates here @gcarden |
I'm also very interested on updates here. Not only createlink but also upload and download restrictions @gcarden |
As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness. |
Category
Observed Behavior
Since a while, I am getting
429 - throttledRequest
errors when creating a few read-only shared links via the/drives/{driveId}/items/{itemId}/createLink
endpoint. It seems to be specific for OneDrive Personal accounts.Here is the specific response I get
Generally speaking that shouldn't be an issue, however:
Also:
/createLink
request is still being throttled.Steps to Reproduce
Create multiple (>10) shared read-only links via the API on a OneDrive Personal account.
Question
Is this behavior expected and has the throttling threshold indeed been decreased? Or is this a bug in the API itself which has been introduced?
If the limit is indeed this low, it would be a good idea to mention this in the documentation as it limits the use of this specific endpoint.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues
The text was updated successfully, but these errors were encountered: