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.274 ·

Cloud gateway sign-in error now a structured error code

Cloud gateway sign-in failure is now a structured error with a 'signin_required' code

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.274,
Under the hood

Cloud gateway sign-in failure is now a structured error with a 'signin_required' code

What

When Claude Code isn't signed in to the Cloud gateway, the resulting failure is now thrown as a typed error carrying the code signin_required, instead of a plain, generic error. The message shown still tells the user to run /login.

Why

A structured error code lets other parts of the code detect and handle this specific failure (for example, prompting sign-in) rather than only being able to match on the error's text.

Read from
Names in the bundle/login
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.

Confirmed since Anthropic's documentation has since written up /login, on Run Claude Code programmatically. * Built-in commands that only run in the terminal interface, such as `/login`, aren't available. headless see the edit
Added since A small documentation edit on Claude apps gateway deployment and operations touched a line naming /login after this was published. | Startup exits with `Administrator policy requires a Cloud gateway sign-in on this machine` | The developer's environment sets `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN`, their settings configure an [`apiKeyHelper`](/docs/en/settings-r… claude-apps-gateway-deploy see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesA small documentation edit on Claude apps gateway deployment and operations touched a line naming /login after this was published.
Anthropic's release notes agreeImproved Claude apps gateway sign-in rate limit errors: /login now explains the refusal, and the gateway log says which limit was hit and…

See this entry in the whole of v2.1.274 →

Feedback