gemini-cli - 💡(How to fix) Fix OAuth 登录成功且套餐识别正常,但任何请求都返回 403 PERMISSION_DENIED(Google One AI Pro,macOS) [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#25018Fetched 2026-04-10 03:45:23
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1
RAW_BUFFERClick to expand / collapse

What happened?

OAuth 登录成功且套餐识别正常,但任何请求都返回 403 PERMISSION_DENIED(Google One AI Pro,macOS)

What did you expect to happen?

正常使用

Client information

  • CLI Version: 0.37.0
  • Git Commit: 352bbe149
  • Session ID: 76bfa0b9-bcff-407d-8efb-c56a9796b9c6
  • Operating System: darwin v24.13.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 324.1 MB
  • Terminal Name: iTerm2 3.6.4
  • Terminal Background: #000000
  • Kitty Keyboard Protocol: Supported

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

Check the OAuth token permissions and scopes to ensure they are correctly configured for the Google One AI Pro service.

Guidance

  • Verify that the OAuth token has the necessary permissions to access the Google One AI Pro service, as the 403 PERMISSION_DENIED error suggests an authorization issue.
  • Review the OAuth login flow to ensure that the correct scopes are being requested and granted.
  • Check the Google One AI Pro documentation to confirm the required permissions and scopes for the service.
  • Consider re-authenticating with the correct permissions and scopes to resolve the issue.

Notes

The issue may be specific to the Google One AI Pro service or the OAuth configuration, and further investigation into the service's documentation and the OAuth login flow may be necessary to resolve the issue.

Recommendation

Apply workaround: Re-authenticate with the correct permissions and scopes, as this is likely to resolve the authorization issue.

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