claude-code - 💡(How to fix) Fix [BUG] gmail MCP in Claude Code returning persistent 502 api.anthropic.com for 1.5+ days [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#49719Fetched 2026-04-17 08:33:20
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

Gmail email retrieval via GMAIL Connector getting 502 error via api.anthropic.com for 1.5+ days

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 email retrieval via GMAIL Connector getting 502 error via api.anthropic.com for 1.5+ days

What Should Happen?

Should retrieve emails

Error Messages/Logs

Steps to Reproduce

Create routine to check Gmail and then produce an email to be sent to my inbox on a daily basis

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The 502 error when retrieving Gmail emails via the GMAIL Connector on api.anthropic.com may be resolved by investigating the Anthropic API or GMAIL Connector configuration.

Guidance

  • Investigate the Anthropic API status and check for any known issues or maintenance that could be causing the 502 error.
  • Verify the GMAIL Connector configuration to ensure it is set up correctly and compatible with the latest version of Claude Code.
  • Check the email retrieval routine for any recent changes that could be contributing to the error.
  • Consider reaching out to Anthropic support for further assistance, as the issue has been persistent for over 1.5 days.

Notes

The lack of error messages or logs makes it difficult to provide a more specific solution. Additionally, without knowing the last working version, it's challenging to identify the exact cause of the regression.

Recommendation

Apply workaround: Given the persistence of the issue and the lack of information, it's recommended to apply a workaround, such as manually checking emails or using an alternative email retrieval method, until the root cause can be identified and resolved.

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