Text of code.claude.com › docs › zh-TW › errors as Styx crawled it on Nov 20, 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

錯誤參考 - 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、 桌面應用程式 和 雲端工作階段 ,因為這三者都包裝相同的 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 用量上限 Usage credits ran out before the response was finished. 新增用量點數 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: program not found: 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: OAuth token revoked 身分驗證 Your account does not have access to Claude.

Please login again or contact your administrator. 身分驗證 API Error: 401 Invalid authentication credentials 身分驗證 Login expired · Please run /login 身分驗證 Warning: this sign-in 檢查儲存的登入何時結束 The browser can't return the sign-in to Claude Code automatically 身分驗證 Couldn't start the local listener that receives the browser sign-in. Try again. 身分驗證 Failed to start OAuth callback server 身分驗證 Claude login not accepted · Run /login, then try again 身分驗證 Artifacts need a claude.ai login 身分驗證 Not signed in to the Cloud gateway — run /login. 身分驗證 Administrator policy requires a Cloud gateway sign-in on this machine 身分驗證 Managed settings on this machine configure a Clou

The rest of this page is on the live site.