Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.266 ·

Cloud gateway sign-in error message shortened

The Cloud gateway sign-in error message dropped its instructions for CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.266,
You'll notice

The Cloud gateway sign-in error message dropped its instructions for CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN

What

When Claude Code isn't signed in to the Cloud gateway (a routing option for sending requests through a proxy), it shows an error telling you to run /login. That error no longer includes the extra parenthetical note about using CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN as an alternative way to configure access.

Why

The error message is now shorter and points only to /login as the fix, rather than also listing environment-variable alternatives.

Read from
Names in the bundle/loginCLAUDE_CODE_USE_GATEWAYANTHROPIC_BASE_URLANTHROPIC_AUTH_TOKEN
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Claude Code changelog touched a line naming ANTHROPIC_BASE_URL after this was published. * Fixed every request failing with `400 … Input tag 'advisor_20260301'` when `ANTHROPIC_BASE_URL` points at a proxy or gateway (2.1.275 regression) changelog see the edit
Added since A small documentation edit on Authentication touched a line naming ANTHROPIC_AUTH_TOKEN after this was published. [Cloud sessions](/docs/en/claude-code-on-the-web) always use your subscription credentials. If you set `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in the cloud environment, it doesn't override your subscription credentials. authentication see the edit
Added since A small documentation edit on Claude Code on Claude Platform on AWS touched a line naming /login after this was published. The `/login` and `/logout` commands don't sign you into a claude.ai subscription for Claude Platform on AWS. Authentication runs through your AWS credentials or workspace API key. claude-platform-on-aws see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_BASE_URL, on Connect Claude Code to tools via MCP. A covered name reads as empty whether or not you have set the variable, and a `:-default` fallback on it is ignored. A provider base URL such as `ANTHROPIC_BASE_URL` still expands, so `"url": "${ANTHROPIC_BASE_URL}/mcp"` works, unless the … mcp see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_AUTH_TOKEN, on Connect Claude Code to tools via MCP. In a remote server's `url` and `headers`, Claude Code reads credential variables from your environment as empty rather than expanding them. This keeps a project's `.mcp.json` or a plugin from sending your Claude Code or cloud provider cred… mcp see the edit
Confirmed since Anthropic's documentation has since written up /login, on Claude Code changelog. * Added the `gatewayInternalNetworks` managed setting, letting administrators allow `/login` to a Claude apps gateway on their organization's own public IPv4 block changelog see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up /login, on Claude Code changelog.
Anthropic's release notes agreeFixed a 2.1.265 regression affecting LLM-gateway and proxy setups: the undocumented CLAUDE_CODE_USE_GATEWAY environment variable, previously…

See this entry in the whole of v2.1.266 →

Feedback