Cloud gateway sign-in failure is now a structured error with a 'signin_required' code
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.
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.
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.
* Built-in commands that only run in the terminal interface, such as `/login`, aren't available.headless see the edit
| 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
A small documentation edit on Claude apps gateway deployment and operations touched a line naming /login after this was published.
Improved Claude apps gateway sign-in rate limit errors: /login now explains the refusal, and the gateway log says which limit was hit and…