Skip to content
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

[OneNote] Importer does not back off, leading to rate limiting #120

Closed
Tracked by #177 ...
voltagex opened this issue Sep 25, 2023 · 7 comments
Closed
Tracked by #177 ...

[OneNote] Importer does not back off, leading to rate limiting #120

voltagex opened this issue Sep 25, 2023 · 7 comments
Labels
bug Something isn't working onenote

Comments

@voltagex
Copy link

I have a whole lot of files that have

{"error":{"code":"20166","message":"The app has issued too many requests on behalf of this user in a short time period.","innerError":{"date":"2023-09-25T08:41:06","request-id":"e4c11a53-8e0a-4891-b070-b74db5279b13","client-request-id":"e4c11a53-8e0a-4891-b070-b74db5279b13"}}}

instead of content.

@ashemedai
Copy link

This link has some details on the limits and how to build better API calls to drain the rate limit less quickly: https://learn.microsoft.com/en-us/graph/throttling-limits#onenote-service-limits

@chairman2s
Copy link

Same problem here

@hakenr
Copy link

hakenr commented Oct 14, 2023

same here

@hakenr
Copy link

hakenr commented Oct 14, 2023

The limits are pretty restrictive 😭 - 120 req/min && 400 req/hr
https://learn.microsoft.com/en-us/graph/throttling-limits#onenote-service-limits

@ashemedai
Copy link

@hakenr They're restrictive if you're just throwing sequential requests at the API. Within that same link, that I posted 3 weeks ago as well, they also document how to restructure your query requests to not need multiple calls to get data.

@ericaxu ericaxu added the bug Something isn't working label Oct 23, 2023
@ericaxu ericaxu mentioned this issue Nov 14, 2023
7 tasks
@tgrosinger
Copy link
Contributor

This should be resolved in the latest release - 1.6.1

@kquinsland
Copy link

I am still getting 429's which manifest in other errors. I'll open a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working onenote
Projects
None yet
Development

No branches or pull requests

7 participants