Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.222 ·

Dedicated error when claude.ai rejects a session bearer token

If claude.ai rejects your session token, you now get a clear message telling you to run /login instead of endless retries.

You'll notice Improvements
JSON All of v2.1.222
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.222,
What probably matters to youSection of the release
What

MCP connections proxied through the claude.ai connector now surface a specific error telling you to re-login, instead of a generic auth failure that gets retried.

Details
  • New ClaudeAiProxyBearerRejectedError class with code CLAUDEAI_BEARER_REJECTED.
  • Message: "claude.ai rejected the session token — it may lack connector scopes or be invalid. Run /login."
  • Two retry classifiers return false for it, so it is neither retried nor treated as a generic auth failure.
  • Added to the known-error name allowlists, alongside McpAuthError and McpError.
  • Connection failures report errorCode: "CLAUDEAI_BEARER_REJECTED" on tengu_mcp_server_connection_failed.
Evidence

CLAUDEAI_BEARER_REJECTED

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundle/login
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed claude.ai connectors being falsely marked as needing authorization when the session token is invalid — they now show a /login hint…

See this entry in the whole of v2.1.222 →

Feedback