Text of code.claude.com › docs › en › errors as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Error reference - Claude Code Docs

Documentation Index Fetch the complete documentation index at: /docs/llms.txt Use this file to discover all available pages before exploring further. Skip to main content Assistant Responses are generated using AI and may contain mistakes. This page lists runtime errors Claude Code displays and how to recover from each one, plus what to check when responses seem off without an error. For installation errors such as command not found or TLS failures during setup, see Troubleshoot installation and login .

Except for Wrapper and IDE errors , which the launching program prints rather than Claude Code itself, these errors and recovery commands apply across the CLI, the Desktop app , and cloud sessions , since all three wrap the same Claude Code CLI. For other surface-specific issues, see the troubleshooting section on that surface’s page. Claude Code calls the Claude API for model responses, so most runtime errors map to an underlying API error code.

This page covers what each error means inside Claude Code and how to recover. For the raw HTTP status code definitions, see the Claude Platform error reference . Find your error Match the message you see to a section below. Message Section API Error: 500 Internal server error Server errors API Error: Repeated 529 Overloaded errors Server errors Opus is experiencing high load / Fable is experiencing high load Server errors Request timed out Server errors , or Network if the message mentions your internet connection API Error: No response from API Server errors API Error: Stream idle timeout - no chunks received Streaming idle watchdogs , or Long thinking ends in proxy timeouts behind a Claude apps gateway Server error mid-response.

The response above may be incomplete. Server errors Connection lost mid-response / Your computer went to sleep mid-response / The response stopped arriving Server errors Connection closed mid-response / Response stalled mid-stream Server errors Part of the response never arrived / The response stream was malformed Server errors API Error: Content block not found / API Error: Content block already closed / API Error: Stream event unreadable Server errors Connection lost before a response was produced / Your computer went to sleep before a response was produced / The response stalled before a response was produced Automatic retries Connection closed while thinking / Response stalled while thinking Automatic retries Connection lost while your computer was asleep Automatic retries The model's tool call could not be parsed (retry also failed).

Automatic retries <model> is temporarily unavailable, so auto mode cannot determine the safety of... Server errors Auto mode could not evaluate this action and is blocking it for safety Server errors Not run · auto mode's check had no usable answer Server errors Auto mode classifier transcript exceeded context window Server errors Agent aborted: auto mode classifier request refused by the safety safeguard Server errors The server-side auto mode classifier gave no verdict Server errors <tool> was not reviewed and did not run: the conversation is too long for auto mode's classifier Server errors Auto mode is unavailable — the server returned no safety verdict for the last 10 responses Server errors Agent terminated early due to an API error Server errors You've hit your session limit / You've hit your weekly limit / You've hit your Opus limit / You've hit your Sonnet limit Usage limits Usage credits required for 1M context Usage limits the prompt to confirm went unanswered · nothing was sent , from v2.1.324 Usage limits Claude stopped here · send a message to be asked again Usage limits Server is temporarily limiting requests Usage limits Request rejected (429) Usage limits Credit balance is too low Usage limits You've hit your monthly spend limit / You've hit your individual spend limit / You've hit your org's monthly spend limit / You've hit your channel's monthly spend limit / You've hit your team's shared budget / You've hit your individual usage limit Usage limits Could not update your spend limit Usage limits spend limit reached / spend limit unavailable / This request exceeds your group's budget Usage limits Not logged in · Please run /login Authentication Couldn't save your login Authentication Sign in again to take your previous account or API key off the config file.

Authentication Your account or API key may still be in the config file. Run claude auth logout. Authentication Authentication required · Sign in again to continue Authentication Could not resolve authentication method Authentication Invalid API key Authentication Your apiKeyHelper script is failing Authentication Your organization's settings need an update Authentication Couldn't load your organization's settings. Check your connection Authentication Restart Claude Code to finish signing in Authentication Invalid auth token · Fix external auth token Authentication Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable Authentication Invalid request header from the environment · Fix the environment variable Authentication This organization has been disabled Authentication Your organization has disabled API key authentication Authentication Your organization has disabled Claude subscription access Authentication Scheduled tasks are off for your organization Authentication Routines are off for your organization Authentication Remote Control is only available when using Claude via api.anthropic.com Authentication OAuth token refresh failed — run /login to re-authenticate Authentication JWT refresh failed: no OAuth token — run /login Authentication Claude.ai login expired Authentication Claude.ai login was rejected — run /login, then /remote-control Authentication OAuth token unavailable — run /login to restore Remote Control Authentication Signed out of Claude — run /login, then /remote-control Authentication Remote Control could not renew this computer's connection Authentication signed-in claude.ai account or organization changed on this machine Authentication Remote Control stopped — the app running this session is now signed in to a different Claude account Authentication Remote Control stopped — the app running this session is signed out of Claude Authentication Couldn't verify your organization's policy for remote control Troubleshoot Remote Control Remote Control didn't finish connecting Start a Remote Control session Remote Control is disabled by your organization's policy Troubleshoot Remote Control Remote Control was turned off by your organization's policy Troubleshoot Remote Control Session failed: working folder not found: Troubleshoot Remote Control The program file this Remote Control started from is gone Troubleshoot Remote Control Session failed: spawn error: followed by an ENOENT message Troubleshoot Remote Control Remote Control disconnected: followed by a reason that mentions a share link Remote Control OAuth token revoked / OAuth token has expired Authentication Failed to authenticate: OAuth token revoked Authentication Your account does not have access to Claude.

Please login again or contact your administrator. Authentication API Error: 401 Invalid authentication credentials Authentication Login expired · Please run /login Authentication The browser can't return the sign-in to Claude Code automatically Authentication Couldn't start the local listener that receives the browser sign-in. Try again. Authentication Failed to start OAuth callback server Authentication Claude login not accepted · Run /login, then try again Authentication Artifacts need a claude.ai login Authentication Not signed in to the Cloud gateway — run /login.

Authentication Administrator policy requires a Cloud gateway sign-in on this machine Authentication Managed settings on this machine configure a Cloud gateway sign-in; run interactive /login to authenticate. claude auth login Failed to authenticate: OAuth session expired and could not be refreshed

The rest of this page is on the live site.