claude-code - 💡(How to fix) Fix [BUG] Gmail MCP write permissions blocked by Google ("This app is blocked") [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
anthropics/claude-code#48731Fetched 2026-04-16 06:52:33
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Gmail MCP write permissions blocked by Google ("This app is blocked")

What Should Happen?

I should be able to use

Error Messages/Logs

Steps to Reproduce

  1. Go to claude.ai
  2. Open Settings → Integrations
  3. Connect Gmail integration
  4. When prompted by Google OAuth, grant permissions
  5. Google shows: "This app is blocked — This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access."
  6. No "Advanced" option is available to bypass the block

Expected behavior: Gmail connects with full read/write permissions

Actual behavior: Google blocks the OAuth app entirely, preventing write access (archive, label, spam actions all fail with "insufficient authentication scopes")

Account type: Personal Gmail (not Google Workspace)

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.109 (claude code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by updating the OAuth configuration to comply with Google's security policies, allowing the app to access sensitive information in the Google Account.

Guidance

  • Review the OAuth scopes and permissions requested by the Claude Code app to ensure they align with Google's requirements for accessing sensitive information.
  • Check the Google Cloud Console to see if there are any restrictions or settings that need to be updated for the OAuth app.
  • Verify that the app is registered as a trusted app in the Google Account settings, if applicable.
  • Investigate if there are any changes in Google's security policies or OAuth requirements that may be causing the block.

Example

No code snippet is provided as the issue is related to configuration and OAuth settings.

Notes

The issue may be specific to personal Gmail accounts and not Google Workspace accounts. The fact that it worked in a previous version suggests a regression, possibly due to changes in Google's security policies or OAuth requirements.

Recommendation

Apply workaround: Update the OAuth configuration to comply with Google's security policies, as this is likely the cause of the issue. This should allow the app to access sensitive information in the Google Account and resolve the block.

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