claude-code - 💡(How to fix) Fix Gmail MCP connector: label_thread blocked by Google OAuth insufficient scopes [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
anthropics/claude-code#50754Fetched 2026-04-20 12:13:58
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2unlabeled ×1

Error Message

  1. Error: "insufficient authentication scopes"
  2. Error: "insufficient authentication scopes"

Error Messages/Logs

  1. Error: "insufficient authentication scopes"

Code Example

When trying to connect Gmail connector with write permissions (label_thread), Google shows "האפליקציה הזו חסומה" (This
   app is blocked).
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?

When trying to connect Gmail connector with write permissions (label_thread), Google shows "האפליקציה הזו חסומה" (This app is blocked).

The connector works for read-only tools but label_thread and label_message fail with "Request had insufficient
authentication scopes" even after reconnecting.

Steps to reproduce:

  1. Connect Gmail connector in claude.ai
  2. Try to use label_thread tool
  3. Error: "insufficient authentication scopes"
  4. Try to reconnect → Google blocks the app entirely

ב-"What Should Happen?": Gmail write tools (label_thread, label_message) should work after connecting the Gmail connector.

What Should Happen?

When trying to connect Gmail connector with write permissions (label_thread), Google shows "האפליקציה הזו חסומה" (This app is blocked).

The connector works for read-only tools but label_thread and label_message fail with "Request had insufficient
authentication scopes" even after reconnecting.

Steps to reproduce:

  1. Connect Gmail connector in claude.ai
  2. Try to use label_thread tool
  3. Error: "insufficient authentication scopes"
  4. Try to reconnect → Google blocks the app entirely

ב-"What Should Happen?": Gmail write tools (label_thread, label_message) should work after connecting the Gmail connector.

Error Messages/Logs

When trying to connect Gmail connector with write permissions (label_thread), Google shows "האפליקציה הזו חסומה" (This
   app is blocked).

Steps to Reproduce

When trying to connect Gmail connector with write permissions (label_thread), Google shows "האפליקציה הזו חסומה" (This app is blocked).

The connector works for read-only tools but label_thread and label_message fail with "Request had insufficient
authentication scopes" even after reconnecting.

Steps to reproduce:

  1. Connect Gmail connector in claude.ai
  2. Try to use label_thread tool
  3. Error: "insufficient authentication scopes"
  4. Try to reconnect → Google blocks the app entirely

ב-"What Should Happen?": Gmail write tools (label_thread, label_message) should work after connecting the Gmail connector.

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

N/A - claude.ai web

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

na

extent analysis

TL;DR

The issue is likely due to insufficient authentication scopes when trying to connect the Gmail connector with write permissions, and a potential workaround is to review and update the authentication settings.

Guidance

  • Review the authentication settings for the Gmail connector to ensure that the necessary scopes are included for write permissions.
  • Check the Google Cloud Console to see if the app is blocked due to insufficient authentication scopes or other security concerns.
  • Verify that the label_thread and label_message tools are properly configured to use the correct authentication scopes.
  • Consider testing the connector with a different Gmail account or permissions setup to isolate the issue.

Example

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

Notes

The issue may be specific to the Anthropic API and claude.ai web platform, and further investigation may be needed to determine the root cause.

Recommendation

Apply workaround: Review and update the authentication settings to ensure that the necessary scopes are included for write permissions, as this is the most likely cause of the 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

claude-code - 💡(How to fix) Fix Gmail MCP connector: label_thread blocked by Google OAuth insufficient scopes [1 participants]