microsoft / microsoft/pxt-microbit

"GitHub rate limit exceeded" when trying to push to a GitHub repo

Open
#5,373 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GitHubIntegration help wanted P2
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

I've got this message for the first time this morning (UK time). This was simply after opening MakeCode, importing a GitHub URL, making a few changes, and trying to push (at this point it asked me to login into GitHub, which I did). No other MakeCode/GitHub activity done before that, so very unlikely that I have been really hitting the rate limit.

I then waited over an hour and tried again, same error.

Screenshot 2023-10-18 at 12 26 16

Is the GitHub rate limit exceeded, please wait and try again message produced by MakeCode or the GitHub API actual response?
It's possible there is a different API error being accidentally identified as a rate limit?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the MakeCode flow described: open MakeCode, import a GitHub URL, make changes, sign in, and try to push. Inspect the GitHub API response and the error classification; done means distinguishing an actual rate-limit response from another API error and reporting the correct message.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.