gemini-cli - 💡(How to fix) Fix Version: 0.40.0-nightly.20260415 [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#25445Fetched 2026-04-16 07:06:24
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

Code Example

> /about
# paste output here
RAW_BUFFERClick to expand / collapse

What happened?

Auth succeeds:

Signed in with Google Plan detected: Gemini Code Assist in Google One AI Pro

But every prompt returns:

403 PERMISSION_DENIED

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

Trace id: 8c016858022f2cbe

Tried:

clearing ~/.gemini removing projects.json clean directory disabling cloud project env vars

Still reproducible.

What did you expect to happen?

Auth succeeds:

Signed in with Google Plan detected: Gemini Code Assist in Google One AI Pro

But every prompt returns:

403 PERMISSION_DENIED

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

Trace id: 8c016858022f2cbe

Tried:

clearing ~/.gemini removing projects.json clean directory disabling cloud project env vars

Still reproducible.

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here
</details>

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The most likely fix is to verify and potentially update the authentication or permission settings for the Gemini Code Assist in Google One AI Pro plan.

Guidance

  • Check the Google Cloud Console to ensure the correct permissions are assigned to the service account or user account being used for authentication.
  • Verify that the cloudcode-pa.googleapis.com API is enabled and configured correctly in the Google Cloud project.
  • Review the authentication flow and token validation to ensure it aligns with the expected permissions for the Gemini Code Assist plan.
  • Consider checking the Google One AI Pro plan documentation for specific requirements or restrictions on API usage.

Example

No code snippet is provided as the issue seems to be related to configuration and permissions rather than code.

Notes

The issue may be related to the specific plan or configuration of the Google One AI Pro account, and further investigation into the plan's documentation and settings may be necessary.

Recommendation

Apply workaround: Verify and update authentication and permission settings, as the issue seems to be related to permissions rather than a versioning problem.

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 Version: 0.40.0-nightly.20260415 [1 comments, 2 participants]