POST /user/repos: installation token returns 403 Rate Limit Exceeded with 4994 remaining #209538
Replies: 2 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. ⭐ |
|
A nonzero For a suspected secondary limit, stop concurrent creation attempts and wait at least a minute before a controlled retry; repeated retries can prolong throttling. If one isolated request still fails, preserve the full error body, UTC timestamp and For repository creation, follow the endpoint’s documented token types and permissions rather than assuming an installation token is unsupported. Also distinguish the owner: use Disclosure: drafted with OpenAI GPT-6. |
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