gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

429 Error when i haven't used gemini cli today at all

Open suulaav opened this issue 1 year ago • 10 comments

What happened?

not used gemini today at all but getting 429 error

What did you expect to happen?

work fine

Client information

  • CLI Version: 0.8.2
  • Git Commit: 9b2d4c61
  • Session ID: 67c8036f-fbce-40f1-9283-8d2600828e5a
  • Operating System: darwin v20.19.2
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-pro
  • Memory Usage: 191.5 MB

Login information

No response

Anything else we need to know?

No response

suulaav avatar Oct 10 '25 09:10 suulaav

Same issue:

[API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the Gemini-2.5-flash model for the rest of this session.

djoleluk avatar Oct 10 '25 12:10 djoleluk

✕ [API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.

alonelaval avatar Oct 10 '25 13:10 alonelaval

Same issue:

Ubunutu 24.04.3 LTS, Node 22.17.0

Gemini Code Assist Standard (Company Provided) Gemini Session ID: 'c5b234da-87d9-496c-834c-62e6306a39a0',

Leading up to the error: Updated Gemini CLI before launch npm run i -g @google/gemini-cli and launched with gemini --yolo. This happened first (didnt record the session info, but it was about 15 mins, one question asked. Got 429 Error.) I sometimes can fix this by running /auth and logging back in, this failed to work, I asked the same question/command and got instant 429. I quit and re-opened which is the session mentioned above, I asked the same quesiton, slighly re-worded incase something somehwere was cached but to no avail, it gave me a 429 after calling a few tools to read the file and a commit and 429.

No where near the 1500 2.5 pro requests Gemini Code Assist Standard affords us.

Example response:

API Error: [{
    "error": {
      "code": 429,
      "message": "Resource exhausted. Please try again later. Please refer to 
  https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
      "errors": [
        {
          "message": "Resource exhausted. Please try again later. Please refer to 
  https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
          "domain": "global",
          "reason": "rateLimitExceeded"
        }
      ],
      "status": "RESOURCE_EXHAUSTED"
    }
  }
  ]]
  Possible quota limitations in place or slow response times detected. Switching to the 
  gemini-2.5-flash model for the rest of this session.

DEMORALIZ3D avatar Oct 10 '25 13:10 DEMORALIZ3D

I get the same issue.

✕ [API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.

xpat1024 avatar Oct 10 '25 13:10 xpat1024

Getting the same error on macOS 15.7.1 with gemini cli 0.8.2. It started today and has been appearing randomly.

emmanuelflores avatar Oct 10 '25 16:10 emmanuelflores

For me too, on first request today, and on every prompt:

✕ [API Error: [{
    "error": {
      "code": 429,
      "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
      "errors": [
        {
          "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.",
          "domain": "global",
          "reason": "rateLimitExceeded"
        }
      ],
      "status": "RESOURCE_EXHAUSTED"
    }
  }
  ]]
  Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.

weogrim avatar Oct 10 '25 16:10 weogrim

#10946

New to reporting issues. Made post regarding this same thing.

Fresh install as a first time user of this software. Issue happened after 1 message.

Multiple reinstalls using both npm and homebrew methods.

Screen recorded the issue and added a link in the post.

Auth - Google AI Pro Subscription so did expect a quota higher than the 1000 free tier requests

Trexorr avatar Oct 11 '25 09:10 Trexorr

the same here. I started noticing this spurious message a couple of days ago. And, now it's for every other prompt.

✕ [API Error: [{ "error": { "code": 429, "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "errors": [ { "message": "Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } } ]] Possible quota limitations in place or slow response times detected. Switching to the gemini-2.5-flash model for the rest of this session.

realharry avatar Oct 13 '25 14:10 realharry

All the time, especially on weekdays 😅 thanks nano banana.

eonist avatar Oct 20 '25 16:10 eonist

Hi all, the team is working hard to increase capacity for all our users. Thanks for bearing with us. Marking this as a duplicate, please follow along in https://github.com/google-gemini/gemini-cli/issues/11392

adamfweidman avatar Oct 27 '25 13:10 adamfweidman