You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request failed due to a transient API error. Retrying... #2101
Hitting multiple Request failed due to a transient API error. Retrying... that lead to Sorry, you've hit a rate limit that restricts the number of Copilot model requests you can make within a specific time period. Please try again in 1 minute. Please review our Terms of Service.
Affected version
GitHub Copilot CLI 1.0.6.
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
OS : Ubuntu
I tried updating the system, close copilot, ...
Model : Haiku
Reacted by Jesse Klotz, Falco, MvK, Yannick Tamburrini, Tobias Hochgürtel, Cojocaru Dragos, Kitsune., hxgdzyuyi, Obeta, Andrew Paramonov and 8 more
Reacted by Zheng Qu, Yannick Tamburrini and chenz1115
had this error once and in VScode it said sth like rate limitation ongoing. I think it was after the model was looping somehow. after a few hours it was gone.
also happens with opus 4.5 on pro subscription.
pay 3x credits per requests that result in ● Request failed due to a transient API error. Retrying... and then are idling for minutes...
its a pure rip-off... as expected from our lovely microsoft
✗ Sorry, you've hit a rate limit that restricts the number of Copilot model requests you can make within a specific time period. Please try again in 5 hours. Please review our Terms of Service
(https://docs.github.com/site-policy/github-terms/github-terms-of-service). (Request ID: XXXXXXXXXXXXXXXX)
need a tutorial on how to prevent me from commiting a hatecrime
Im also constantly getting these. Fleet mode, Opus 4.6 with a business subscription. It seems to just timeout before retrying. Its double annoying as it actually costs you not only time but actual premium request to try again after it gives up.
If there is a rate limit that fleet hits then CLI should be smarter on how fleet works to understand and coordinate this.
Same issue here when asking the agent (using Opus 4.6) to compare 2 markdown files that are about 80KB in size:
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
✗ Execution failed: Error: Failed to get response from the AI model; retried 5 times (total retry wait time: 98.05322941541459
seconds)
Last error: CAPIError: 503 {"error":{"message":"HTTP/2 GOAWAY connection terminated","type":"connection_error"}}
for me my copilot-instructions file was corrupted with what appeared to be a bad merge with thousands of lines. was blowing out the context window and causing the LLM to reject the call. Also explains the repeated "Compacting Conversation" messages.
Thanks to @j-fdion for the idea to check markdown files.
So, my issue was too many .md files, it was bloating the context and my message was not included in the prompt. I deleted all my useless .md files and it works now. The error was not helpful at all to find this. Not saying it's the problem every person here is having, but worthwhile checking into it.
I encountered this problem all the time since yesterday, and I suspect there's a shadow limit disabling you to use more although quota still not exceeded. I'm using Pro plan and claude sonnet 4.6. Very disappointed about this.
Reacted by Rudy Sanchez, Madhu Shesharam and bestzsq
For me the issue was due to a corrupt session. I restarted my mac while the session was active, and upon continuing the same session I started getting this error.
Fix: start a new session with the prompt There is a sssion with summary: "xxxx" on which prompts are failing with "Request failed due to a transient API error. Retrying...". Can you analyse what the issue with that session is? If possible, read the conversation history, restore it in current session and delete that session
After this I was able to continue my conversation on the new session
Thanks for the report. We've shipped fixes in this area since this was filed (most recently in Copilot CLI v1.0.82), and we believe this may now be resolved. Could you retest on the latest release (Copilot CLI v1.0.103) and let us know whether you still see it? If we don't hear back in a couple of weeks, we may close this issue — you can always reopen it.
Triaged as part of a Copilot SDK backlog review, with help from GitHub Copilot.
Activity
AmauMaill commentedon Mar 17, 2026
Switching to gpt-5-mini resolves the issue for now.
Still hitting, but not to a blocking point:
peter-mw commentedon Mar 18, 2026
I have the same problem
KlotzJesse commentedon Mar 18, 2026
same
aro-ssystems commentedon Mar 18, 2026
Getting same errors today consistently on v1.0.7
Also getting same errors in vscode
seems to be general issue, see current comments on https://github.com/orgs/community/discussions/180092
GitMonsters commentedon Mar 24, 2026
getting same error
danparisi commentedon Mar 25, 2026
Same for me and it slows down a lot the agent work
rs38 commentedon Mar 25, 2026
had this error once and in VScode it said sth like rate limitation ongoing. I think it was after the model was looping somehow. after a few hours it was gone.
mkontsek commentedon Mar 26, 2026
It happens in v1.0.11 too, gpt-5-mini seems to work, but still slow. It'll probably take a while until infra catches up with demand.
doj-scraper commentedon Mar 27, 2026
Happening now to me
j-fdion commentedon Mar 27, 2026
It's happening to me too AND it consumes requests, that's kinda bad.
behpunktli commentedon Mar 28, 2026
also happens with opus 4.5 on pro subscription.
pay 3x credits per requests that result in ● Request failed due to a transient API error. Retrying... and then are idling for minutes...
its a pure rip-off... as expected from our lovely microsoft
✗ Sorry, you've hit a rate limit that restricts the number of Copilot model requests you can make within a specific time period. Please try again in 5 hours. Please review our Terms of Service
(https://docs.github.com/site-policy/github-terms/github-terms-of-service). (Request ID: XXXXXXXXXXXXXXXX)
need a tutorial on how to prevent me from commiting a hatecrime
hxgdzyuyi commentedon Mar 31, 2026
I have the same problem
jakubjezek001 commentedon Mar 31, 2026
The same issue here with GPT-5.3-codex
3 remaining items
chrisaut commentedon Apr 3, 2026
Im also constantly getting these. Fleet mode, Opus 4.6 with a business subscription. It seems to just timeout before retrying. Its double annoying as it actually costs you not only time but actual premium request to try again after it gives up.
If there is a rate limit that fleet hits then CLI should be smarter on how fleet works to understand and coordinate this.
brentkendrick commentedon Apr 3, 2026
Same issue here when asking the agent (using Opus 4.6) to compare 2 markdown files that are about 80KB in size:
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
● Request failed due to a transient API error. Retrying...
✗ Execution failed: Error: Failed to get response from the AI model; retried 5 times (total retry wait time: 98.05322941541459
seconds)
Last error: CAPIError: 503 {"error":{"message":"HTTP/2 GOAWAY connection terminated","type":"connection_error"}}
sczesny commentedon Apr 3, 2026
For me, deleting the ~/.copilot/ dir and reinstalling fixed it
brentkendrick commentedon Apr 3, 2026
That worked, thanks! It did delete my session history but I can probably find a way to restore it
squickone commentedon Apr 4, 2026
for me my copilot-instructions file was corrupted with what appeared to be a bad merge with thousands of lines. was blowing out the context window and causing the LLM to reject the call. Also explains the repeated "Compacting Conversation" messages.
Thanks to @j-fdion for the idea to check markdown files.
danparisi commentedon Apr 12, 2026
I still get it sometime, that's quite annoying.
RX-105 commentedon Apr 23, 2026
I encountered this problem all the time since yesterday, and I suspect there's a shadow limit disabling you to use more although quota still not exceeded. I'm using Pro plan and claude sonnet 4.6. Very disappointed about this.
madhushesharam commentedon May 6, 2026
Encountered this multiple times.
● Request failed due to a transient API error. Retrying...
danish-kamal-sophos commentedon May 11, 2026
For me the issue was due to a corrupt session. I restarted my mac while the session was active, and upon continuing the same session I started getting this error.
Fix: start a new session with the prompt
There is a sssion with summary: "xxxx" on which prompts are failing with "Request failed due to a transient API error. Retrying...". Can you analyse what the issue with that session is? If possible, read the conversation history, restore it in current session and delete that sessionAfter this I was able to continue my conversation on the new session
EngBuilds commentedon Jun 2, 2026
Getting the same error message, especially if a subagent/ skills is working and github starts compaction.
Also while doing web searches
shuaibird commentedon Jun 5, 2026
I hit the same issue using the CLI - version
1.0.59. on Mac. I run Opus 4.8.patniko commentedon Oct 26, 2026
Thanks for the report. We've shipped fixes in this area since this was filed (most recently in Copilot CLI v1.0.82), and we believe this may now be resolved. Could you retest on the latest release (Copilot CLI v1.0.103) and let us know whether you still see it? If we don't hear back in a couple of weeks, we may close this issue — you can always reopen it.
Triaged as part of a Copilot SDK backlog review, with help from GitHub Copilot.