gemini-cli - 💡(How to fix) Fix [Bug] 403 PERMISSION_DENIED on cloudcode-pa.googleapis.com after account restoration [1 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#26190Fetched 2026-04-30 06:44:40
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

My Google account ([email protected]) was recently disabled due to a false positive detection but was successfully appealed and fully restored within 24 hours.

While standard services (Gmail, Drive, Photos) are working correctly, the access to gemini-cli is still consistently returning 403 PERMISSION_DENIED.

Error Message

Error Logs

_GaxiosError: [{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED" } }]

Root Cause

My Google account ([email protected]) was recently disabled due to a false positive detection but was successfully appealed and fully restored within 24 hours.

While standard services (Gmail, Drive, Photos) are working correctly, the access to gemini-cli is still consistently returning 403 PERMISSION_DENIED.

RAW_BUFFERClick to expand / collapse

Environment

  • Tool: Gemini CLI v0.40.0 / Google Antigravity
  • OS: macOS (darwin; arm64)
  • Terminal: Ghostty 1.3.1
  • Account Type: Google One AI Ultra Subscriber

Description

My Google account ([email protected]) was recently disabled due to a false positive detection but was successfully appealed and fully restored within 24 hours.

While standard services (Gmail, Drive, Photos) are working correctly, the access to gemini-cli is still consistently returning 403 PERMISSION_DENIED.

Error Logs

The CLI is successfully authenticated via oauth-personal, but any attempt to generate content results in: _GaxiosError: [{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED" } }]

Specific endpoint failing: POST https://cloudcode-pa.googleapis.com/v1internal:generateContent

Additional Context

It appears to be a backend synchronization issue where the account restoration didn't propagate to the Cloud Code / Gemini API gateway permissions. Since I am a paying AI Ultra subscriber, this block is significantly impacting my workflow.

Could the engineering team please look into this specific account's API entitlements?

extent analysis

TL;DR

The most likely fix is to wait for the backend synchronization issue to be resolved by the engineering team or to manually request a review of API entitlements for the affected account.

Guidance

  • Verify that the account restoration has been fully propagated to all Google services by checking the account status and permissions in the Google Cloud Console.
  • Reach out to the Google support team to request a manual review of API entitlements for the affected account, specifically for the Cloud Code / Gemini API gateway permissions.
  • Check the Gemini CLI documentation for any specific instructions on handling permission issues or API gateway errors.
  • Consider providing more detailed error logs or account information to the engineering team to aid in their investigation.

Notes

The issue seems to be related to a backend synchronization problem, and the engineering team's involvement may be necessary to resolve it. The provided information suggests that the account restoration was successful, but the permissions were not updated correctly.

Recommendation

Apply workaround: Reach out to the Google support team to request a manual review of API entitlements, as this may help resolve the issue more quickly than waiting for the backend synchronization to complete.

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