-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Rate Limiting on Import #3
Comments
Now using octokit and https://github.com/octokit/plugin-throttling.js |
Importing 80 issues. I got an 403 error at number 22 with the following message: 'You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.'
File: |
Thanks for the report @campaignupgrade. We should probably start by upgrading |
I worked around the issue by deleting lines from the csv and restarting the import. It took three passes to complete. I'm not sure if it's related, but none of the milestones in this csv were applied. I'm wondering if a milestones error causes the rate limit overflow. I don't actually have time to troubleshoot this issue right now but I'll check again on my next project. |
Apparently there is a different endpoint for issue creation at |
Thanks for the input. PRs welcome to switch it to use that other API endpoint. |
🎉 This issue has been resolved in version 3.1.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi there! Me again...
So the throttling is better but I was apparently still too liberal. I'm still hitting rate limit issues with the current configuration (my test case is about 78 issues that I am importing, FYI).
Also, I'm checking for items in the queue before exiting the program but if I have requests that lag, it aborts early. So that needs adjusting too.
I will work on it and send you another PR; just wanted to let you know in case you get to it first.
The text was updated successfully, but these errors were encountered: