Claude Code 跳出看不懂的錯誤?貼上來查是什麼意思
Claude Code 與 claude.ai 的錯誤訊息中文對照,收錄 335 種(例如 API Error 529、401、Request timed out、額度上限)。整段貼上,馬上看到原因、先做哪一步,再連到 Lab 或官方的完整說明。
貼上錯誤訊息,查它是什麼意思
要開啟瀏覽器的 JavaScript 才能查詢。下面列了目前收錄的錯誤,也可以直接點進去看。
貼上的內容只在你的瀏覽器裡比對,不會送到這個網站。
目前收錄的錯誤(共 335 種:Lab 寫過 23 種、官方說明 312 種)
安裝與 Windows 環境(12 種,Lab 寫過 12 種)
- 安裝指令貼錯視窗了Lab:Claude Code Windows 安裝:irm 指令 4 步驟+常見錯誤
- 裝好了,終端機卻找不到 claudeLab:claude 不是內部或外部命令?Claude Code 裝好跑不了 6 步排查
- 電腦找不到 Node.jsLab:claude 不是內部或外部命令?Claude Code 裝好跑不了 6 步排查
- Node.js 裝了,npm 卻找不到Lab:claude 不是內部或外部命令?Claude Code 裝好跑不了 6 步排查
- PowerShell 不讓指令碼執行Lab:claude 不是內部或外部命令?Claude Code 裝好跑不了 6 步排查
- 安裝時權限不足Lab:claude 不是內部或外部命令?Claude Code 裝好跑不了 6 步排查
- 下載安裝檔時,加密連線建立不起來Lab:Claude Code Windows 安裝:irm 指令 4 步驟+常見錯誤
- 安裝檔被別的程式占用Lab:Claude Code Windows 安裝:irm 指令 4 步驟+常見錯誤
- Claude Code 在 Windows 找不到執行指令用的環境Lab:Claude Code 找不到 Git Bash?裝了一樣卡住
- .ps1 報語法錯,原因常是檔案編碼Lab:Claude Code 中文亂碼?Windows 3 步修好
- Claude 桌面版更新時,檔案被占用Lab:Claude Code Windows 安裝:irm 指令 4 步驟+常見錯誤
- Claude 桌面版(Microsoft Store 版)壞了Lab:claude 不是內部或外部命令?Claude Code 裝好跑不了 6 步排查
伺服器錯誤(12 種,Lab 寫過 2 種)
- 官方狀態頁顯示服務異常Lab:Claude 當機了嗎?斷線、回答停一半先看這 3 件事
- 官方公告:錯誤率升高Lab:Claude 當機了嗎?斷線、回答停一半先看這 3 件事
- 連線中斷或回應卡住,重試後仍失敗Connection lost before a response was produced
- API 伺服器內部出錯(500)API Error: 500 Internal server error
- 伺服器暫時滿載(529)API Error: Repeated 529 Overloaded errors
- 請求逾時,API 沒有回應Request timed out
- API 遲遲沒有回應API Error: No response from API
- 回應中途中斷,內容可能不完整Server error mid-response. The response above may be incomplete.
- 自動模式無法判斷動作是否安全is temporarily unavailable, so auto mode cannot determine the safety of
- 伺服器沒有給出安全判定The server-side auto mode classifier gave no verdict
- 對話太長,動作未審查也沒執行was not reviewed and did not run: the conversation is too long for auto mode's classifier
- subagent 因 API 錯誤中止Agent terminated early due to an API error
用量上限(9 種,Lab 寫過 2 種)
- 額度用完了,不是壞掉Lab:Claude 額度幾點重置?當下查法、Pro 用量限制與 5 個省法
- 用量點數到了每月花費上限Lab:Claude 額度幾點重置?當下查法、Pro 用量限制與 5 個省法
- 1M 長上下文需要先開用量點數Usage credits required for 1M context
- 用量點數確認沒人回應,未送出the prompt to confirm went unanswered · nothing was sent
- 伺服器暫時限流,與用量無關Server is temporarily limiting requests
- 請求被拒,達到速率限制(429)Request rejected (429)
- 閘道的支出上限已達,請求被擋下spend limit reached
- 預付點數不足,或誤用了 API 金鑰Credit balance is too low
- 支出限制的變更被伺服器拒絕Could not update your spend limit
身分驗證錯誤(48 種)
- 尚未登入,要先登入Not logged in · Please run /login
- 找不到任何登入憑證Could not resolve authentication method
- API 金鑰無效或被拒絕Invalid API key
- apiKeyHelper 指令碼執行失敗Your apiKeyHelper script is failing
- 組織設定要更新,或要重啟 Claude CodeYour organization's settings need an update
- 憑證或自訂標頭含有不合法字元Invalid auth token · Fix external auth token
- API 金鑰屬於已停用的組織This organization has been disabled
- 組織已關閉 API 金鑰登入Your organization has disabled API key authentication
- 組織不允許用訂閱登入Your organization has disabled Claude subscription access
- 組織已關閉雲端排程任務Scheduled tasks are off for your organization
- Remote Control 要直連 Anthropic APIRemote Control is only available when using Claude via api.anthropic.com
- Remote Control 登入失效OAuth token refresh failed — run /login to re-authenticate
- Remote Control 連線憑證續不了Remote Control could not renew this computer's connection
- 換了帳號,Remote Control 已停止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
- 登入憑證已撤銷或已過期OAuth token revoked
- 憑證被拒絕(401 錯誤)API Error: 401 Invalid authentication credentials
- 登入已過期,要重新登入Login expired · Please run /login
- 另一個程序正在更新登入Could not refresh your login because another Claude Code process is refreshing it
- 設定目錄所在磁碟已滿Could not refresh your login: the disk that holds the Claude Code config directory (~/.claude by default), or your disk quota on it, is full
- 已登入但登入憑證存不進去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.
- 瀏覽器登入用的本機連接埠開不起來The browser can't return the sign-in to Claude Code automatically
- Claude 登入不被接受Claude login not accepted · Run /login, then try again
- Artifact 要先登入 claude.aiArtifacts need a claude.ai login
- 管理員要求改用 Claude apps 閘道登入Not signed in to the Cloud gateway — run /login.
- 帳號已被暫停,無法使用Your account is on hold and can't use Claude Code. View details or appeal: https://claude.ai/restricted
- Anthropic 憑證設定檔的登入已過期Anthropic profile login expired · Re-authenticate your Anthropic profile
- 登入的權限範圍太舊,要重新登入does not meet scope requirement user:profile
- claude.ai 拒絕了 Claude Code 的登入claude.ai rejected the session token
- MCP 伺服器要重新登入MCP server "<name>" needs you to sign in again (run /mcp to re-authenticate)
- 讀不到 MCP 已儲存的登入Couldn't read the stored credentials for MCP server "<name>", so the request didn't run
- MCP 伺服器的網址設定有問題This server's URL is missing or not a valid URL, so sign-in can't start
- MCP 登入失敗,授權伺服器身分對不上Issuer mismatch in authorization response (RFC 9207)
- OAuth 請求被重新導向,已中止Stopped an OAuth request
- 登入憑證端點不是 HTTPS,已拒絕Refusing to send credentials to non-https token endpoint
- AWS 憑證已過期或無效AWS credentials expired or invalid
- AWS 身分驗證失敗AWS authentication failed
- Google Cloud 憑證過期或無效Google Cloud credentials expired or invalid
- Google Cloud 身分驗證失敗Google Cloud authentication failed
- Foundry 身分驗證失敗Microsoft Foundry authentication failed
- 讀不到 AWS 或 Google Cloud 憑證Could not load AWS credentials
- AWS 憑證解析等了 60 秒仍沒結果AWS default-chain credential resolve timed out
- Bedrock 設定等不到 AWS 回應Timed out after <n>s waiting for AWS
- 雲端閘道工作階段已過期Cloud gateway session expired — run /login to reconnect.
- 登入確認等太久而逾時Sign-in timed out while waiting for you to continue. Try again.
- 閘道拒絕了這次請求Gateway refused the request
網路和連線錯誤(18 種,Lab 寫過 1 種)
- 連不上 Anthropic 的伺服器Lab:Claude Code 卡住沒反應?5 個原因與解法
- 首次設定連不上 Anthropic 服務Unable to connect to Anthropic services
- 連線在回應途中被關閉Socket is closed
- API 回了空白或格式不對的內容API returned an empty or malformed response
- 回應內容是空的,已自動重送Streaming response ended before any complete data was received
- Bedrock 回應格式被閘道改動Bedrock streaming response has content-type "..."; expected "application/vnd.amazon.eventstream"
- SSL 憑證驗證失敗SSL certificate verification failed
- 雲端工作階段被擋,連不到某個網站x-deny-reason: host_not_allowed
- 代理伺服器拒絕連到 artifact 主機proxy refused the connection
- 雲端環境服務回應空白或格式異常The cloud environments service returned an empty response
- 讀不到雲端工作階段的對話記錄Failed to fetch session from Sessions API: Failed to fetch session logs
- 載入不到雲端工作階段的歷史Couldn't load the history of cloud session
- Remote Control 重連失敗Couldn't reconnect to your Remote Control session
- 電腦離線太久,遠端工作階段已結束sessions ended while this machine was offline
- 工作階段逐字稿分享失敗Couldn't share the transcript.
- 意見反應沒有送出Couldn't send feedback
- 意見反應內容太大送不出去Feedback payload too large. Try again without the transcript, or shorten the details.
- 連線 MCP 伺服器逾時,電腦可能睡著了MCP server "<name>" connection timed out. Your computer went to sleep or its clock changed while connecting.
請求錯誤(38 種,Lab 寫過 3 種)
- 對話太短,沒有東西可以壓縮Lab:Claude Code context 滿了怎麼辦?/compact 用法與 /clear 差別
- 這段對話塞滿了Lab:Claude Code context 滿了怎麼辦?/compact 用法與 /clear 差別
- 自動壓縮壓完又立刻滿Lab:Claude Code context 滿了怎麼辦?/compact 用法與 /clear 差別
- 對話太長,超過上下文上限的警告Context exceeds the <n>-token limit by <n> tokens
- 請求太大,超過 32MB 上限Request too large
- 圖片太大,超過 API 限制Image was too large
- 圖片無法縮小,沒辦法送出Unable to resize image
- 模型無法處理這個請求Request rejected as unprocessable by the model
- 附加的 PDF 無法處理PDF too large
- API 不接受請求裡的某個欄位Extra inputs are not permitted
- 工具的輸入格式說明無效API Error: 400 ... tools.<n>.custom.input_schema: JSON schema is invalid
- MCP 工具名稱超過 128 個字元is not sent to Claude: its name has <n> characters and the API accepts at most 128
- 工具呼叫名稱超過 200 個字元tool_use.name: String should have at most 200 characters
- 選的模型不存在或沒有使用權限There's an issue with the selected model
- 模型名稱無法辨識,切換被拒絕Model <model> is not a recognized model id
- 找不到這個模型Model <model> not found
- 無法向 API 確認模型,切換沒生效Couldn't confirm model <model> with the API
- 檢查模型時 API 出錯,沒有換模型API error: ... · model not changed
- 目前的方案不包含這個模型Claude Opus is not available with the Claude Pro plan
- Claude Code 版本太舊,需要更新Claude Code <version> does not support this model; version <version> or newer is required
- 組織設定限制了這個模型Model <model> is restricted by your organization's settings
- 組織設定擋住了預設模型的切換Can't switch to the default model
- 切換模型被 PreModelSwitch hook 擋下Model switch ... blocked by a PreModelSwitch hook
- 模型切換了,但預設值沒存成功couldn't save it as your default
- advisor 模型比主要模型弱,不會啟用is less capable than the current main model
- 思考設定不被模型接受,需更新版本thinking.type.enabled is not supported for this model
- 關閉思考時不能用高 effort 等級Effort '<level>' isn't available with thinking turned off on this model
- 思考預算超過最大回應長度max_tokens must be greater than thinking.budget_tokens
- 回覆太長,被截斷Claude's response exceeded the ... output token maximum
- 對話記錄的工具區塊對不上API Error: 400 due to tool use concurrency issues
- 思考區塊資料無效,請求被拒絕Invalid data in redacted_thinking block
- 對話裡出現「工具內容被移除」的提示行[Unsupported tool content removed]
- 系統訊息位置不被 API 接受role 'system' must precede an 'assistant' message
- 無法解密對話中的網路搜尋內容Invalid encrypted_content in search_result block
- 內容觸發使用政策,被拒絕回應can't help with this. Start a new session to continue
- 安全措施標記為網路安全主題safeguards flagged this message
- 要求 Claude 寫出推理過程被擋Details: `[reasoning_extraction]`
- 輸出被內容篩選器擋下API Error: Output blocked by content filtering policy
命令列錯誤(69 種)
--bg與--print不能一起用--bg and --print conflict--bg位置不對,沒有啟動任何東西Couldn't tell whether --bg is a flag or text here, so nothing was started--append-subagent-system-prompt不能和-file形式並用Error: Cannot use both --append-subagent-system-prompt and --append-subagent-system-prompt-file. Please use only one.--agents的值無效Error: Invalid --agents configuration:- 受限工作階段不能建立雲端工作階段Cloud sessions cannot be created from a --restricted session
- 組織政策關閉了雲端工作階段Cloud sessions are disabled by your organization's policy
- 雲端工作階段本來就用 claude.ai 登入Cloud sessions use your claude.ai login
- 無法確認組織的雲端工作階段政策Couldn't verify your organization's policy for cloud sessions
- 資料夾佔了 git 追蹤檔案的位置,沒有暫存Nothing was stashed: "<path>" is now a folder in place of a tracked file or link
--json-schema的值不是有效的 schemaError: --json-schema is not a valid JSON Schema--settings檔案超過 2 MiBError: Settings file exceeds the 2MiB limit~/.claude.json解析失敗Configuration error in <path>.claude.json- 設定檔是空的,改用預設值啟動Claude configuration file at <path> was empty and no backup holds anything: starting with defaults.
- 目前所在的資料夾已不存在The current directory no longer exists (it was deleted or moved)
- 暫存資料夾無法建立或被拒絕使用Temp directory <dir> ... Refusing to use it
- 磁碟已滿,工作階段紀錄沒存完Error: Claude Code could not save ... because the disk is full (ENOSPC)
/add-dir的資料夾找不到實際位置couldn't be resolved to a real location, so its skills, commands, and agents weren't loadedclaude remote-control的資料夾尚未信任Error: Workspace not trustedclaude ultrareview的資料夾尚未信任Ultrareview did not startclaude remote-control的問題沒人回答Remote Control did not start: "<question>" got no answer- 旗標放錯位置,不會傳給 Remote Control 工作階段is not carried over to the sessions Remote Control starts
- Remote Control 的
--settings檔案有問題Remote Control did not start, because sessions would skip part or all of the --settings file - 設定檔在 Remote Control 啟動後被改過The settings file <file> has changed since Remote Control started, so this session did not start
claude remote-control不支援--sandbox旗標--sandbox is not supported by claude remote-controlclaude import目前還不能用claude import is not yet available in this build- 讀不到 Claude Code 設定檔Could not read Claude Code config
- 有伺服器無法從 Claude Desktop 匯入Could not import <server>: Invalid name
- 不能把 MCP 伺服器加到
managed範圍Cannot add MCP server to scope: managed - 組織只允許外掛提供的 MCP 伺服器Cannot add MCP server: your organization's managed settings allow only MCP servers that plugins provide
.mcp.json不是一般檔案或超過 2 MiBCan't read .mcp.json: it isn't a regular file or is larger than 2097152 bytes- MCP 伺服器的變更沒有寫入MCP server "<name>" was not saved to
- MCP 伺服器的變更無法確認MCP server "<name>" may not have been saved
- Anthropic 託管的連接器不能在本機登入is Anthropic-hosted and doesn't support local OAuth
headersHelper提供的憑證被伺服器拒絕Server rejected the Authorization header minted by the configured headersHelper- MCP 伺服器不接受 Claude Code 的詢問功能(elicitation)This server (Java MCP SDK 0.17.0 or older) rejected Claude Code's elicitation capability
- 找不到 MCP 權限提示工具Error: MCP tool <name> (passed via --permission-prompt-tool) not found
- 登入用的連接埠被別的程式佔用OAuth callback port <port> is already in use
- 找不到可用連接埠,OAuth 登入失敗No available ports for OAuth redirect
- 缺少 origin/HEAD,/security-review 失敗Shell command failed for pattern
- skill 裡的 shell 指令因特殊字元沒執行No shell command in <name> was run
- skill 或 hook 內容太長沒有執行This skill, command or hook and the arguments filled into it add up to more than 4,000,000 characters
- 用了 --print 卻沒有給提示詞Input must be provided either through stdin or as a prompt argument when using --print
- Claude Code 讀不到鍵盤輸入Claude Code can't read the keyboard here: stdin is not a terminal
- 提示詞只有空白,沒有送出Error: Input contained only whitespace
- stream-json 輸入太長且沒有換行stream-json input carried over 256M characters with no newline
- 輸入的 / 指令不存在Unknown command: /
- 變更量太大,ultrareview 拒絕審查Diff is too large for ultrareview
- 找不到與基礎分支的共同提交Could not find merge-base with
- git 工作資料夾沒有任何分支Your checkout has no branches (detached HEAD only)
- Claude 帳號沒有連結 GitHubUltrareview clones <owner>/<repo> in the cloud with the GitHub account connected to your Claude account, and none is connected
- 連結的 GitHub 帳號看不到這個儲存庫Your connected GitHub account can't see
- GitHub 檢查暫時失敗,稍後重試The GitHub App preflight failed transiently (network or service hiccup)
- git 設定讓儲存庫無法上傳Not uploading this working tree
- GitHub 沒連結到 Claude 帳號GitHub isn't connected to your Claude account, so this repository can't be cloned in the cloud
- GitHub 組織政策擋住了 ClaudeYour GitHub organization has an IP allowlist that is blocking Claude
- GitHub 單一登入尚未授權Single sign-on authorization needed
- 恢復對話失敗Failed to resume the conversation
- 找不到這個工作階段 ID 的對話No conversation found with session ID:
- Windows 讀取對話記錄檔失敗Windows reported an error (EBADF) when Claude Code read this session's transcript file
- 現在不能切換轉譯器(/tui)Cannot switch renderers in this session
- 目前無法重新啟動 Claude CodeCan't restart while work is running in the background
- Claude Code 重新啟動失敗Claude Code couldn't restart
- 無法開啟 Claude DesktopCouldn't open Claude Desktop
- Zed 快捷鍵設定檔沒有被更新Couldn't read your Zed keymap
- Remote Control 不支援 skill 使用報告Skill usage reports are not available on this connection.
- Remote Control 不能選自訂輸出風格Custom output styles can't be selected over Remote Control or from a relayed message
- 輸出風格存不進 local 設定Output styles are saved to local settings (.claude/settings.local.json), which this session doesn't load
- /recap 只能由你自己在工作階段執行/recap only runs when you ask for it yourself in this session
- 意見回饋被關閉了/feedback is disabled by your organization's policy
Plugin 錯誤(16 種)
claude plugin eval還不能用plugin eval is currently in early access- Marketplace 被標為來自不受信任的來源Marketplace "<name>" is registered from an untrusted source
- Marketplace 名稱太像保留名稱is another spelling of "<reserved>", a reserved marketplace name
- Marketplace 名稱冒充官方名稱Claude Code refuses the marketplace name
- 同名 marketplace 已存在Marketplace "<name>" is already added from a different source
- Plugin 指令不能直接帶入設定值references ${user_config.*} in a shell-form command
- Plugin 封存檔完整性檢查失敗Plugin archive integrity check failed
- Plugin 路徑指到 plugin 資料夾外面path escapes plugin directory
- Plugin 的伺服器檔案路徑沒被讀取path not read: <path> is absolute or has a ".." part
- Plugin 的 manifest(說明檔)讀不到Plugin not loaded: its manifest <path> was not read
- Plugin 路徑無法檢查path couldn't be checked
- Plugin 來源路徑超出 marketplace 範圍its marketplace entry path does not stay inside the marketplace directory
- Marketplace 設定檔壞了Failed to load marketplace configuration
- 組織要求必須啟用這個 pluginPlugin "<name>@synced" is required by your organization and can't be disabled here
- Plugin 沒被卸載,設定檔裡仍是啟用was not uninstalled: it is still switched on in
- MCP 伺服器暫時跳過連線Skipping connection (recent failure cached; retries automatically in 15 min, or edit the plugin config to retry now)
工具錯誤(39 種,Lab 寫過 1 種)
- 同時在跑的分身太多了Lab:Claude Code Subagent 教學:怎麼建、怎麼叫、什麼時候該派
- Claude 呼叫了不存在的工具Error: No such tool available:
- MCP 連線中斷,工具可能已執行connection closed before the tool call was answered
- MCP 伺服器已被停用is disabled — re-enable it via /mcp to use its tools
- 非互動模式下,MCP 伺服器的提問逾時The server asked the user a question, and no answer came before the time limit
- 權限提示工具的回傳格式不對Permission prompt tool returned an invalid result
- subagent 的工具清單裡沒有一項能用would be spawned with zero tools — refusing
- Read 拒絕規則擋住了檔案編輯File is covered by a Read deny rule in your permission settings
- 工作目錄以外的寫入被擋下the permissions.blockWritesOutsideWorkingDirectories setting blocks writes outside the working directories
- Claude 不能改 Claude Code 的設定檔Writes to Claude Code settings files are blocked while permissions.blockWritesOutsideWorkingDirectories is on
- 檔案路徑含有 null 位元組cannot contain null bytes (\0)
- PowerShell 指令含有隱形字元command contains the invisible character U+FEFF (byte order mark) or U+180E (Mongolian vowel separator), and was not run
- 核准過的指令沒執行,目錄無法確認This call was not run. Claude Code could not confirm that the shell is back in the directory
- 圖片檔太大,或路徑不是一般檔案File is too large to read as an image (the limit is 128MB)
- 呼叫 subagent 沒指定類型被拒絕subagent_type is required: the general-purpose agent is not available in this session
- 自動記憶索引 MEMORY.md 太長this write left the memory index at MEMORY.md at
- pkill 的模式會連 Claude Code 一起殺掉pkill: refusing to run
- 訊息沒寫進隊員信箱Failed to write to <name>'s inbox — nothing was sent
- 隊員的 agent 定義沒有恢復Its agent definition was not restored: the folder its definition file came from is not trusted
- 只有隊員本人能核准關閉請求Only a teammate can approve a shutdown request
- 拒絕規則無法交給分割窗格隊員cannot be handed to a teammate intact
- 跨工作階段訊息太長,送不出去Message too large for cross-session delivery
- 短時間傳給同一工作階段的訊息太多Too many messages to this session just now
- 跨工作階段訊息被對方收件匣丟棄Cross-session message was dropped at the recipient session's inbox
- 跨工作階段訊息的安全檢查沒過,拒絕傳送Refusing to send: reply target is a symlink
- 路徑檢查沒過,讀寫或搜尋被拒絕its symlink resolution changed after permission was checked
- 搜尋失敗,不代表沒有符合的結果The search failed, so this is not a "no matches" result: matches may exist
- Bash 輸出檔被替換,指令被拒絕task output swap refused (tasks dir moved or linked)
- 磁碟空間或配額已滿Disk full: this computer's volume holding
- 這台 Mac 還沒安裝 gitgit is not installed on this Mac. To install it, run xcode-select --install
- 檔案不是 UTF-8 編碼,無法編輯File is not valid UTF-8. It may use a legacy encoding such as Windows-1252, Shift-JIS or GBK, or be binary
- 有編輯 hook,artifact 無法一步更新Refusing to apply edits to <path>: a hook is configured for file edits in this session
- artifact 來源檔不是有效文字the source file is not valid UTF-8 text
- 網路共用資料夾的檔案不能發佈Not published: that file is on a network share
- artifact 重複發佈被擋下Not published: Claude sent the same content again after a newer version of the artifact turned it away
- Cowork 讀不了已連接資料夾外的檔案Reading a local file from outside this session's connected folders, or through a link, needs the approval card
- WebFetch 抓不了本機或內部網址WebFetch cannot fetch localhost or other hostnames without a dot
- WebFetch 的網域安全檢查擋下這個網站Claude Code is unable to fetch from
- WebFetch 網域安全檢查無法完成The safety check for domain
背景工作階段錯誤(21 種)
- 背景工作階段不能開互動對話框Can't open MCP settings while no terminal is attached to this background session
- 寫入被擋,路徑寫法無法安全判斷blocked because the path is spelled in a form that cannot be safely resolved
- 寫入被擋,路徑是網路位置blocked because the path is network-shaped
- 指令被工作資料夾隔離檢查擋下is isolated in the worktree <path>, but this command <reason>. Refusing to run it
- 這個工作階段沒有已存的對話This session has no saved transcript
- 這個對話已在別處開著Can't open — this session is running in another terminal
- 工作階段的已存對話已被清除This session's saved conversation is no longer on disk
- 工作資料夾有還沒推送的提交kept <id> — its worktree is still at
- 背景工作階段的終端機主機程序當掉了terminal host process died — press Enter to restart
- 背景工作階段沒有回應Session isn't responding
- 重啟途中工作階段被停止Session <id> was stopped while the respawn was in flight
- 工作階段用的 agent 找不到了This session was running agent '<name>', which is no longer available
- 重啟時
/loop的喚醒已錯過This session restarted <time> after its next /loop wakeup was due, so that wakeup will not fire - 背景工作階段沒帶到 LLM 閘道(中轉服務)設定No LLM gateway: a gateway set in your shell isn't passed to a session opened from another folder
- 程序包裝啟動器(
CLAUDE_CODE_PROCESS_WRAPPER)設定有誤CLAUDE_CODE_PROCESS_WRAPPER: launcher - Windows 擋下背景工作階段啟動EUNKNOWN: unknown error, uv_spawn
- 背景服務啟動被拒,常見於 npm 更新中EACCES: permission denied, posix_spawn
- 背景服務啟動後馬上退出exited before it became reachable
- 啟動背景工作階段時所在資料夾不見了Couldn't start a background session (working directory no longer exists or is not accessible:
- 分叉的工作階段啟動失敗This forked session could not be started. Fork the conversation again to retry.
- 背景工作階段的資料夾還沒信任Workspace not trusted.
包裝程式和 IDE 錯誤(6 種)
- Claude Code 啟動逾時Subprocess initialization did not complete within
- Claude Code 程序異常結束Claude Code process exited with code
- VS Code 找不到
claudeCould not locate the Claude CLI on PATH - 找不到對應這台電腦的版本The Claude Code program for this computer, the <build> build, could not be found
- 訊息傳到一半連線斷了The connection to Claude Code ended before this message completed
- 桌面版要求重新登入Sign in again to continue
Rewind(倒帶)警告和錯誤(3 種,Lab 寫過 1 種)
- 這一則訊息倒帶不回去Lab:Claude Code 倒帶失敗?Can't rewind to this message 8 個原因對照表
- 還原了程式碼,但跳過部分檔案Restored the code, but skipped <n> files
- 沒有任何檔案被還原No files were restored:
工作階段儲存警告(3 種)
- 對話文字記錄寫入失敗Transcript writes are failing
- 對話存檔被環境變數關閉Transcript saving is off — CLAUDE_CODE_SKIP_PROMPT_HISTORY is set
- 巢狀工作階段不儲存文字記錄Transcript saving is off — inherited CLAUDE_CODE_CHILD_SESSION marker
設定警告(35 種,Lab 寫過 1 種)
- settings.json 寫壞了,整個設定檔讀不進去Lab:Claude Code 找不到 Git Bash?裝了一樣卡住
- 終端機介面出錯而結束Claude Code exited after an unrecoverable interface error
- Agent 描述加起來太長Agent descriptions are over the <n>-token limit
- Hook 腳本路徑有空格,要加引號hook needs quotes around a path with a space
- 記憶檔案因讀取限制沒有載入Instruction file not loaded
- 名稱是保留名稱,所以沒載入its name uses "<name>", a name reserved for the skills synced from your claude.ai account
- skill 或指令的名稱被拒絕skill or command names refused: run with --debug to see which
- 資料夾還沒信任,專案允許規則沒生效permissions.allow entries from
- 網路路徑不能當工作目錄is a network path, which cannot be added as a working directory
- 遠端管理設定載入失敗Remote managed settings failed to load
- 組織設定載入失敗,工作階段沒辦法啟動Claude Code couldn't load your organization's settings
- 受管設定沒核准,Claude Code 結束Managed settings were not approved; exiting without applying them.
- 受管設定要先核准,plugin 指令才能執行Your organization's managed settings need your approval, which couldn't be asked for here.
- 組織設定封鎖了預設模型,Claude Code 無法啟動Claude Code can't start: your organization's managed settings block the default model
- 組織設定不允許這個 API 供應商Your organization's managed settings allow Claude Code to use
- MCP 伺服器被政策封鎖,沒辦法連線MCP server <name> is blocked by enterprise managed policy
- MCP 伺服器名稱是保留名稱is a reserved MCP server name and was not loaded
- 受管設定檔壞了,Claude Code 拒絕啟動Managed settings document could not be parsed as a JSON object
- 讀不到組織的受管政策設定Unable to read managed policy settings
- 受管設定有無效項目,hook 沒載入Managed settings contain invalid entries, including PreToolUse/PermissionRequest hooks that are NOT loaded; fix or remove each entry:
- otelHeadersHelper 腳本失敗,遙測資料沒送出otelHeadersHelper failed; telemetry is not being exported. See /status:
- 資料夾還沒信任,headersHelper 沒執行headersHelper not run — this workspace has no persisted trust
- 權限規則寫法不正確,被略過Malformed Tool(content) rule
- 權限規則的工具名稱打錯了matches no tool · check for typos
- 檔案權限規則用錯了工具名稱is not matched by file permission checks
- Bash 規則的萬用字元放得太前面has a wildcard before the rest of the command
- 拒絕 Bash 也關掉了 PowerShellDenying Bash also turns off the PowerShell tool, so Claude has neither
- crossSessionInbound 設定值不正確"crossSessionInbound" must be one of "accept", "hold", "refuse"
- Foundry 資源名稱填錯了ANTHROPIC_FOUNDRY_RESOURCE must be a Foundry resource name
- 200K 對話長度上限沒有被強制執行CLAUDE_CODE_DISABLE_1M_CONTEXT is set, but the 200K limit isn't enforced
- 請求用了認不得的模型 ID[claude-code:unrecognized_model]
- 沙箱允許項目被組織鎖定而忽略is ignored — managed settings set allowManagedReadPathsOnly
- 沙箱留下了多餘的佔位檔案Sandbox mask files left behind at write-deny paths
- 有兩份 Claude Code 設定檔Two Claude Code config files exist: this run uses <path>, not
- 設定變更沒存進 ~/.claude.jsonMake this change again later: <path> could not be updated, so it applies to this session only
claude.ai 網頁版與 App(6 種)
- claude.ai:快到用量上限了approaching session limit
- claude.ai:用量到上限,暫時不能用5-hour limit reached - resets
- claude.ai:到上限後改用點數繼續continuing with usage credits
- claude.ai:這則訊息太長了your message will exceed the length limit for this chat
- claude.ai:登入時出錯there was an error logging you in
- claude.ai:使用的人太多,暫時無法回覆due to unexpected capacity constraints
沒有列在這裡的,先看官方的錯誤說明:Claude Code 錯誤參考(繁中)、claude.ai 網頁版與 App 的錯誤訊息(英文)。


Claude Code 跳出紅字、英文又看不懂的時候,把錯誤訊息整段貼進上面的框。查詢器會告訴你這是什麼錯、通常為什麼、先做哪一步,再連到完整說明。對照表收了 335 種錯誤,分 15 類,來源有兩個:官方列出的 Claude Code、claude.ai 網頁版與 App 錯誤,以及 Lab 文章寫過的錯誤。其中 23 種 Lab 寫過,會連到文章裡講那個錯誤的段落;另外 312 種直接連到官方說明。
查詢器怎麼比對錯誤訊息?
查詢器拿你貼上的文字,去比對對照表裡每種錯誤最有辨識度的那一句。大小寫、引號、全形半形都不影響結果,整段終端機(打指令的黑底視窗)輸出貼進來也查得到。同時對到好幾種錯誤時,對得越完整的排越前面。
查不到的錯誤怎麼辦?
對照表裡沒有的錯誤,查詢器會直接說「對照表裡沒有這個錯誤」。這時可以只貼最關鍵的那一句英文,再查一次。還是查不到,就看官方的錯誤說明,結果裡也附了連結:Claude Code 看官方的錯誤參考(有繁體中文版),claude.ai 網頁版與 App 看 Claude 說明中心的錯誤訊息說明(英文)。
查得到、但 Lab 還沒寫過文章的錯誤(像是 500、529 這類伺服器錯誤和登入過期),結果會標「Lab 還沒寫這個錯誤,先看官方說明」,一樣告訴你先做哪一步,再連到官方說明的那一段。
貼上的錯誤訊息會被送出去嗎?
不會。對照表整份放在這一頁裡,比對在你的瀏覽器裡完成,貼上的文字不會送到這個網站。
相關 workflow
不想錯過 Lab 的新文章?
如果內容對你有用就太好了
隨喜斗內