POST /user/repos: installation token returns 403 Rate Limit Exceeded with 4994 remaining #209538
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. ⭐ |
This comment was marked as low quality.
This comment was marked as low quality.
Yes indeed. In my experience (mostly with PRs) there is no official way to distinguish a secondary rate limit error from a primary but I would not be surprised if secondary rate limits were heuristic based on the account / app's history or current system load as well, though I've never really taken the time to try and characterize those behaviors. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
Creating a private repository with
POST /user/reposusing a GitHub App installation access token returns:Rate Limit Exceededx-ratelimit-limit: 5000x-ratelimit-remaining: 4994Retry-After: absentx-accepted-github-permissions: administration=write; repository_creation=writeThe App has
Administration: write. Installation-token authentication and repository listing succeed. API version:2026-03-10.The current endpoint documentation explicitly lists GitHub App installation access tokens and Administration write as supported:
https://docs.github.com/en/rest/repos/repos#create-a-repository-for-the-authenticated-user
Could a secondary rate limit, content-creation restriction, or GitHub App limitation explain this response despite the available primary quota?
What is the supported mechanism for autonomous private repository creation while retaining selected-repository access and least privilege?
All reactions