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

You have exceeded a secondary rate limit #59

Closed
den-is opened this issue Mar 28, 2023 · 3 comments
Closed

You have exceeded a secondary rate limit #59

den-is opened this issue Mar 28, 2023 · 3 comments

Comments

@den-is
Copy link
Contributor

den-is commented Mar 28, 2023

Got another Warning/Notification while trying to delete "not-that-small" (a not that huge either) amount of images.

Couldn't delete xxxxxxx/yyyy:77988391.
Status code: 403
Response: {'documentation_url': 'https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits', 'message': 'You have exceeded a secondary rate limit. Please wait a few minutes before you try again.'}
@den-is
Copy link
Contributor Author

den-is commented Mar 28, 2023

I have tried to push a dumb fix but it did not help.
c556712

@sondrelg
Copy link
Member

sondrelg commented Jun 2, 2024

Sorry for the lack of a response here @den-is. This issue will be fixed in the upcoming v3 release where we handle all secondary rate limits 👍 I'll update this issue when it's released.

@sondrelg sondrelg mentioned this issue Jun 23, 2024
@sondrelg
Copy link
Member

The latest release redoes rate limiting completely. It should fix this issue, and a few more. That said, you can risk running into this, even in the new version, if you run multiple processes at the same time. For single runs however, we now handle secondary rate limits gracefully.

If you have time, the migration guide for v3 is included in the release post 👍 I would greatly appreciate feedback if you have any.

If you run into any issues, please share them in the issue opened for tracking the v3 release ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants