gemini-cli - 💡(How to fix) Fix Account-specific 429 RESOURCE_EXHAUSTED despite active Google One AI Pro plan [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26378Fetched 2026-05-03 04:52:23
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Timeline (top)
commented ×1labeled ×1

Code Example

Plan: Gemini Code Assist in Google One AI Pro

---

429 Too Many Requests
RESOURCE_EXHAUSTED
reason: rateLimitExceeded

---

https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse

---

https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota

---

OS: Windows
Gemini CLI version: 0.40.1
Node.js: 24.14.0
Authentication method: Google account / Code Assist
Plan shown by CLI: Gemini Code Assist in Google One AI Pro
Google Cloud Project ID: gemini-code-495105

---

Plan: Gemini Code Assist in Google One AI Pro

---

ecdbd64f54ee07e8
e91ddb8428dc4eaf
1c8aae6c5b80bba4
5bdb4f0fb655bfde
e5fb6be339b9830a
RAW_BUFFERClick to expand / collapse

What happened?

Gemini CLI and Gemini Code Assist repeatedly return server-side 429 RESOURCE_EXHAUSTED errors on my Google One AI Pro account.

Gemini CLI signs in successfully and detects my plan:

Plan: Gemini Code Assist in Google One AI Pro

However, generation requests fail with:

429 Too Many Requests
RESOURCE_EXHAUSTED
reason: rateLimitExceeded

Affected endpoint:

https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse

I also observed quota retrieval failures from:

https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota

What did you expect to happen?

Gemini CLI / Gemini Code Assist should generate a response normally after successful authentication, or provide a clear explanation if the account is ineligible, region-restricted, or quota-limited.

Client information

OS: Windows
Gemini CLI version: 0.40.1
Node.js: 24.14.0
Authentication method: Google account / Code Assist
Plan shown by CLI: Gemini Code Assist in Google One AI Pro
Google Cloud Project ID: gemini-code-495105

Login information

I am logging in with a Google account using the Gemini Code Assist / Google One AI Pro authentication flow, not an API key.

The CLI signs in successfully and shows:

Plan: Gemini Code Assist in Google One AI Pro

Anything else we need to know?

<img width="520" height="1310" alt="Image" src="https://github.com/user-attachments/assets/a059b6aa-a347-4a09-a63c-f424ef2ee91f" /> <img width="1707" height="892" alt="Image" src="https://github.com/user-attachments/assets/0559a7f9-2280-4327-afac-59a64a7e2140" />

429.txt

This appears account-specific.

A different Google account works normally on the same Windows machine, same VS Code installation, same Gemini Code Assist extension, same Gemini CLI version, and same network.

Troubleshooting already done:

  • Re-authenticated the Google account.
  • Tested sign-in through a clean/private browser session.
  • Cleared stale Windows, npm, VS Code, WinHTTP, and environment proxy settings.
  • Confirmed WinHTTP is set to direct access.
  • Tested another Google account on the same machine and network; the other account works.
  • Created and configured a fresh Google Cloud project.
  • Confirmed that requests reach Google and receive server-side 429 responses.

Trace IDs from x-cloudaicompanion-trace-id response headers:

ecdbd64f54ee07e8
e91ddb8428dc4eaf
1c8aae6c5b80bba4
5bdb4f0fb655bfde
e5fb6be339b9830a

extent analysis

TL;DR

The issue is likely due to rate limiting on the Google Cloud API, and the user may need to wait or contact Google support to resolve the 429 RESOURCE_EXHAUSTED errors.

Guidance

  • Verify that the error is indeed related to rate limiting by checking the x-cloudaicompanion-trace-id response headers for consistency across failed requests.
  • Review the Google Cloud API documentation to understand the rate limits for the streamGenerateContent and retrieveUserQuota endpoints.
  • Consider contacting Google support to investigate potential account-specific rate limiting or quota issues, providing the trace IDs for reference.
  • Test the Gemini CLI and Code Assist with a different Google account to confirm if the issue is account-specific, as already done.

Notes

The issue appears to be account-specific, and the user has already taken steps to troubleshoot and isolate the problem. The 429 RESOURCE_EXHAUSTED errors suggest a rate limiting issue, but the root cause may be specific to the user's Google account or configuration.

Recommendation

Apply workaround: Contact Google support to investigate and potentially resolve the rate limiting issue, as the problem seems account-specific and not related to the Gemini CLI or Code Assist configuration.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - 💡(How to fix) Fix Account-specific 429 RESOURCE_EXHAUSTED despite active Google One AI Pro plan [1 comments, 2 participants]