エラーリファレンス - 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. メインコンテンツへスキップ アシスタント AIにより生成された回答には誤りが含まれる可能性があります。 このページでは、Claude Code が表示するランタイムエラーと各エラーからの復旧方法、および応答がエラーなしで問題があるように見える場合に確認すべき内容を一覧表示しています。セットアップ中の command not found や TLS エラーなどのインストールエラーについては、 インストールとログインのトラブルシューティング を参照してください。 ラッパーと IDE エラー は Claude Code 自体ではなく起動元のプログラムが出力するものですが、これを除き、これらのエラーと復旧コマンドは CLI、 Desktop アプリ 、および クラウドセッション 全体に適用されます。これら 3 つはすべて同じ Claude Code CLI をラップしているためです。その他のサーフェス固有の問題については、そのサーフェスのページのトラブルシューティングセクションを参照してください。 Claude Code は Claude API を呼び出してモデルレスポンスを取得するため、ほとんどのランタイムエラーは基盤となる API エラーコードにマップされます。このページでは、Claude Code 内での各エラーの意味と復旧方法について説明しています。生の HTTP ステータスコード定義については、 Claude Platform エラーリファレンス を参照してください。 エラーを探す 表示されたメッセージに対応するセクションを以下から見つけてください。 メッセージ セクション API Error: 500 Internal server error サーバーエラー API Error: Repeated 529 Overloaded errors サーバーエラー Opus is experiencing high load / Fable is experiencing high load サーバーエラー Request timed out サーバーエラー 、またはメッセージにインターネット接続への言及がある場合は ネットワーク API Error: No response from API サーバーエラー API Error: Stream idle timeout - no chunks received ストリーミングのアイドルウォッチドッグ 、または Claude apps gateway 経由の場合は 長い思考がプロキシのタイムアウトで終了する Server error mid-response.
The response above may be incomplete. サーバーエラー Connection lost mid-response / Your computer went to sleep mid-response / The response stopped arriving サーバーエラー Connection closed mid-response / Response stalled mid-stream サーバーエラー Part of the response never arrived / The response stream was malformed サーバーエラー API Error: Content block not found / API Error: Content block already closed / API Error: Stream event unreadable サーバーエラー 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 自動再試行 Connection closed while thinking / Response stalled while thinking 自動再試行 Connection lost while your computer was asleep 自動再試行 The model's tool call could not be parsed (retry also failed). 自動再試行 <model> is temporarily unavailable, so auto mode cannot determine the safety of... サーバーエラー Auto mode could not evaluate this action and is blocking it for safety サーバーエラー Not run · auto mode's check had no usable answer サーバーエラー Auto mode classifier transcript exceeded context window サーバーエラー Agent aborted: auto mode classifier request refused by the safety safeguard サーバーエラー The server-side auto mode classifier gave no verdict サーバーエラー <tool> was not reviewed and did not run: the conversation is too long for auto mode's classifier サーバーエラー Auto mode is unavailable — the server returned no safety verdict for the last 10 responses サーバーエラー Agent terminated early due to an API error サーバーエラー 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 credits required for 1M context 使用制限 the prompt to confirm went unanswered · nothing was sent (v2.1.324 以降) 使用制限 Claude stopped here · send a message to be asked again 使用制限 Server is temporarily limiting requests 使用制限 Request rejected (429) 使用制限 Credit balance is too low 使用制限 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 使用制限 Could not update your spend limit / Could not remove your spend limit 使用制限 spend limit reached / spend limit unavailable / This request exceeds your group's budget 使用制限 Not logged in · Please run /login 認証 Couldn't save your login 認証 Sign in again to take your previous account or API key off the config file. 認証 Your account or API key may still be in the config file.
Run claude auth logout. 認証 Authentication required · Sign in again to continue 認証 Could not resolve authentication method 認証 Invalid API key 認証 Your apiKeyHelper script is failing 認証 Your organization's settings need an update 認証 Couldn't load your organization's settings. Check your connection 認証 Restart Claude Code to finish signing in 認証 Invalid auth token · Fix external auth token 認証 Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable 認証 Invalid request header from the environment · Fix the environment variable 認証 This organization has been disabled 認証 Your organization has disabled API key authentication 認証 Your organization has disabled Claude subscription access 認証 Scheduled tasks are off for your organization 認証 Routines are off for your organization 認証 Remote Control is only available when using Claude via api.anthropic.com 認証 OAuth token refresh failed — run /login to re-authenticate 認証 JWT refresh failed: no OAuth token — run /login 認証 Claude.ai login expired 認証 Claude.ai login was rejected — run /login, then /remote-control 認証 OAuth token unavailable — run /login to restore Remote Control 認証 Signed out of Claude — run /login, then /remote-control 認証 Remote Control could not renew this computer's connection 認証 signed-in claude.ai account or organization changed on this machine 認証 Remote Control stopped — the app running this session is now signed in to a different Claude account 認証 Remote Control stopped — the app running this session is signed out of Claude 認証 Couldn't verify your organization's policy for remote control Remote Control のトラブルシューティング Remote Control didn't finish connecting Remote Control セッションを開始する Remote Control is disabled by your organization's policy Remote Control のトラブルシューティング Remote Control was turned off by your organization's policy Remote Control のトラブルシューティング Session failed: working folder not found: Remote Control のトラブルシューティング The program file this Remote Control started from is gone Remote Control のトラブルシューティング Session failed: spawn error: の後に ENOENT メッセージが続くもの Remote Control のトラブルシューティング Remote Control disconnected: の後に share link に言及する理由が続くもの Remote Control OAuth token revoked / OAuth token has expired 認証 Failed to authenticate
The rest of this page is on the live site.