Rate limit hitting soon after the cool time #192367
Replies: 3 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
If you're burning through 5000 requests/hr with a single PAT, a few things to check: First, look at the From your logs it looks like you're hitting A couple things that help:
What tool are you using on top of the API? That might help narrow it down. |
Beta Was this translation helpful? Give feedback.
-
|
It looks like this is not the normal 5000/hr rate limit issue, but more likely GitHub’s secondary rate limiting kicking in. This usually happens when there are too many requests in a short burst (parallel calls, frequent polling, or retries happening together), even if you are technically under 5000 requests/hour. Since you are using a single PAT, all requests are counted together — so if multiple processes/threads are hitting the API or retrying at the same time after reset, it can immediately trigger the limit again. You can try a few things:
Overall, this behavior is expected when request patterns are too aggressive, even if the hourly limit hasn’t been fully consumed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
curl-err:[No error] http-resp:[403] url:[https://api.github.com/repos/clumio/cdf/issues/45012/comments?sort=updated&per_page=100] server-resp:[{
"message": "API rate limit exceeded for user ID . If you reach out to GitHub Support for help, please include the request ID 5E01:5A84C:B72AAF5:30247802:69DBE20B and timestamp 2026-04-12 18:18:51 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service)",
"documentation_url": "https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting",
"status": "403"
}
] resp-size:[538]
3633311 377133 04/12 13:18:51 42327768 CGitHubConnection::ExecuteRequestWithRetry(70) - The GitHub API Interface has reached the rate limit
3633311 377133 04/12 13:18:51 42327768 CGitConnection::SleepBeforeRetry(229) - API rate limit reset header:[X-RateLimit-Reset: 1776020462]
3633311 377133 04/12 13:18:51 42327768 CGitConnection::SleepBeforeRetry(238) - API rate limit reset time:[1776020462]
3633311 377133 04/12 13:18:51 42327768 CGitConnection::SleepBeforeRetry(249) - Will retry after 2531 seconds
We are hitting this rate limit every one hour . Could someone please help here ? We are using single pat for this and soon after the wait time overs for the rate limit we are getting another rate limit. How this can possible. According to documentation , its 5000 API per hour atleast right?
Beta Was this translation helpful? Give feedback.
All reactions