Immediate Alert: Unjustified Rate Limit Breach – Error Code 429
What happened?
Initial request after a 36-hour pause triggers "RESOURCE_EXHAUSTED" with "rateLimitExceeded" message. I haven't used Gemini CLI for about 36 hours, and on my first query, I received this response.
Did Gemini just become lazy, like older ChatGPT models, and throw errors to avoid completing tasks?
[API Error: [{ "error": { "code": 429, "message": "Quota exceeded for quota metric 'StreamGenerateContent Requests' and limit 'StreamGenerateContent Requests per minute per user per tier' of service 'cloudcode-pa.googleapis.com' for consumer 'project_number:681255809395'.", "errors": [ { "message": "Quota exceeded for quota metric 'StreamGenerateContent Requests' and limit 'StreamGenerateContent Requests per minute per user per tier' of service 'cloudcode-pa.googleapis.com' for consumer 'project_number:681255809395'.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Please wait and try again later. To increase your limits, upgrade to a plan with higher limits, or use /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey
What did you expect to happen?
To at least read a file and not to throw an error on the first query.
Client information
$ gemini /about
# paste output here
Login information
Google Account
Anything else we need to know?
OS: Windows Edition Windows 11 Pro for Workstations Version 25H2 OS build 26200.5670
https://github.com/google-gemini/gemini-cli/issues/2711#issuecomment-3020310205
I believe this issue is most closely related to https://github.com/google-gemini/gemini-cli/issues/1502, but this is also distinct if I'm understanding it correctly.
For the sake of reproducibility, can you confirm an assumption for me @SaptaDey ? From the second screenshot, it looks like the follow-up request after the 36 hour pause was sent in the same session. Is that true, or did you press CTRL + C to end the session before waiting 36 hours and trying again?
Also see https://github.com/google-gemini/gemini-cli/issues/2909. There are many many duplicates of this issue. Clearly it is very important for people. Would love it if the Gemini CLI team could prioritize.
I do get the same error. the interesting point is that the project number (project_number:681255809395) as shown in the initial screenshots is identical here. I thought the project number would be unique. maybe thats a clue.
I believe this issue is most closely related to https://github.com/google-gemini/gemini-cli/issues/1502, but this is also distinct if I'm understanding it correctly.
For the sake of reproducibility, can you confirm an assumption for me @SaptaDey ? From the second screenshot, it looks like the follow-up request after the 36 hour pause was sent in the same session. Is that true, or did you press CTRL + C to end the session before waiting 36 hours and trying again?
Upon receiving the initial API error, I indeed logged out, closed the terminal and cleared the terminal cache / history, reopen the terminal, try to login again and enter my query, hence the second screen shot.
I believe this issue is most closely related to https://github.com/google-gemini/gemini-cli/issues/1502, but this is also distinct if I'm understanding it correctly.
For the sake of reproducibility, can you confirm an assumption for me @SaptaDey ? From the second screenshot, it looks like the follow-up request after the 36 hour pause was sent in the same session. Is that true, or did you press CTRL + C to end the session before waiting 36 hours and trying again?
What I can further clarify, in contrast to issue #1502 "too many requests", I never opened multiple parallel terminals and ran Gemini CLI. Hence, I never get the API error response due to too many requests at the same time. There was only one request to edit and solve specific errors in my local repository.
Found possible duplicate issues:
- #4656: (0.9141238927841187)
- #4431: (0.9063775539398193)
- #2343: (0.9013148546218872)
Nearly two months and still an issue... Duplicate or not =/
Open... with no progress...