99| `Your account does not have access to Claude. Please login again or contact your administrator.` | [身分驗證](#oauth-token-revoked-or-expired) |99| `Your account does not have access to Claude. Please login again or contact your administrator.` | [身分驗證](#oauth-token-revoked-or-expired) |
100| `API Error: 401 Invalid authentication credentials` | [身分驗證](#api-error-401-invalid-authentication-credentials) |100| `API Error: 401 Invalid authentication credentials` | [身分驗證](#api-error-401-invalid-authentication-credentials) |
101| `Login expired · Please run /login` | [身分驗證](#login-expired) |101| `Login expired · Please run /login` | [身分驗證](#login-expired) |
102| `Warning: this sign-in` | [檢查儲存的登入何時結束](https://code.claude.com/docs/zh-TW/authentication.md#check-when-a-stored-login-ends) |
102| `The browser can't return the sign-in to Claude Code automatically` | [身分驗證](#couldnt-start-the-local-sign-in-listener) |103| `The browser can't return the sign-in to Claude Code automatically` | [身分驗證](#couldnt-start-the-local-sign-in-listener) |
103| `Couldn't start the local listener that receives the browser sign-in. Try again.` | [身分驗證](#couldnt-start-the-local-sign-in-listener) |104| `Couldn't start the local listener that receives the browser sign-in. Try again.` | [身分驗證](#couldnt-start-the-local-sign-in-listener) |
104| `Failed to start OAuth callback server` | [身分驗證](#failed-to-start-oauth-callback-server) |105| `Failed to start OAuth callback server` | [身分驗證](#failed-to-start-oauth-callback-server) |
111| `Login reached its time limit · Please run /login` / `Failed to authenticate: this login reached its time limit` | [身分驗證](#login-expired) |112| `Login reached its time limit · Please run /login` / `Failed to authenticate: this login reached its time limit` | [身分驗證](#login-expired) |
112| `Failed to authenticate: your claude.ai login expired` | [登入過期後](https://code.claude.com/docs/zh-TW/authentication.md#after-the-login-expires) |113| `Failed to authenticate: your claude.ai login expired` | [登入過期後](https://code.claude.com/docs/zh-TW/authentication.md#after-the-login-expires) |
113| `claude.ai login ended · usage now billed to` / `Warning: the claude.ai login on this machine has ended` | [登入過期後](https://code.claude.com/docs/zh-TW/authentication.md#after-the-login-expires) |114| `claude.ai login ended · usage now billed to` / `Warning: the claude.ai login on this machine has ended` | [登入過期後](https://code.claude.com/docs/zh-TW/authentication.md#after-the-login-expires) |
115| `The refresh token in CLAUDE_CODE_OAUTH_REFRESH_TOKEN was used for this attempt` | 修正其上方顯示的拒絕原因,然後將 [`CLAUDE_CODE_OAUTH_REFRESH_TOKEN`](https://code.claude.com/docs/zh-TW/env-vars#variables) 設為新的 token。 |
114| `Could not refresh your login because another Claude Code process is refreshing it` | [身分驗證](#could-not-refresh-your-login) |116| `Could not refresh your login because another Claude Code process is refreshing it` | [身分驗證](#could-not-refresh-your-login) |
115| `Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh` | [身分驗證](#could-not-refresh-your-login) |117| `Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh` | [身分驗證](#could-not-refresh-your-login) |
116| `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` | [身分驗證](#could-not-refresh-your-login-disk-full) |118| `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` | [身分驗證](#could-not-refresh-your-login-disk-full) |
163| 在雲端工作階段或雲端排程任務中出現、帶有 `x-deny-reason: host_not_allowed` 的 `403` | [網路](#host-not-allowed-in-a-cloud-session) |165| 在雲端工作階段或雲端排程任務中出現、帶有 `x-deny-reason: host_not_allowed` 的 `403` | [網路](#host-not-allowed-in-a-cloud-session) |
164| `proxy refused the connection` | [網路](#the-proxy-refused-the-connection) |166| `proxy refused the connection` | [網路](#the-proxy-refused-the-connection) |
165| 在雲端工作階段中出現、帶有 `GitHub GraphQL is not available from Claude Code sessions` 的 `403` | [GitHub 代理伺服器](https://code.claude.com/docs/zh-TW/cloud-environments.md#github-proxy) |167| 在雲端工作階段中出現、帶有 `GitHub GraphQL is not available from Claude Code sessions` 的 `403` | [GitHub 代理伺服器](https://code.claude.com/docs/zh-TW/cloud-environments.md#github-proxy) |
168| 附有 `In this cloud session a host fails to resolve like this` 的 `ENOTFOUND` | [網路](#host-not-allowed-in-a-cloud-session) |
166| `The cloud environments service returned an empty response` / `The cloud environments service returned a response in an unexpected format` | [網路](#the-cloud-environments-service-returned-an-empty-or-unexpected-response) |169| `The cloud environments service returned an empty response` / `The cloud environments service returned a response in an unexpected format` | [網路](#the-cloud-environments-service-returned-an-empty-or-unexpected-response) |
167| `Failed to fetch session from Sessions API: Failed to fetch session logs` | [網路](#failed-to-fetch-session-from-sessions-api) |170| `Failed to fetch session from Sessions API: Failed to fetch session logs` | [網路](#failed-to-fetch-session-from-sessions-api) |
168| `Couldn't load the history of cloud session` | [網路](#couldnt-load-the-history-of-cloud-session) |171| `Couldn't load the history of cloud session` | [網路](#couldnt-load-the-history-of-cloud-session) |
169| `Couldn't reconnect to your Remote Control session` | [網路](#couldnt-reconnect-to-your-remote-control-session) |172| `Couldn't reconnect to your Remote Control session` | [Remote Control 疑難排解](https://code.claude.com/docs/zh-TW/remote-control.md#couldnt-reconnect-to-your-remote-control-session) |
170| `N sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.` | [網路](#sessions-ended-while-this-machine-was-offline) |173| `N sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.` | [網路](#sessions-ended-while-this-machine-was-offline) |
171| `Couldn't share the transcript.` | [網路](#couldnt-share-the-transcript) |174| `Couldn't share the transcript.` | [網路](#couldnt-share-the-transcript) |
172| `Couldn't send feedback` | [網路](#couldnt-send-feedback) |175| `Couldn't send feedback` | [網路](#couldnt-send-feedback) |
214| `thinking.type.enabled is not supported for this model` | [請求錯誤](#thinking-type-enabled-is-not-supported-for-this-model) |217| `thinking.type.enabled is not supported for this model` | [請求錯誤](#thinking-type-enabled-is-not-supported-for-this-model) |
215| `Effort '<level>' isn't available with thinking turned off on this model` | [請求錯誤](#effort-isnt-available-with-thinking-turned-off) |218| `Effort '<level>' isn't available with thinking turned off on this model` | [請求錯誤](#effort-isnt-available-with-thinking-turned-off) |
216| `effort '<level>' is not supported when thinking is disabled` | [請求錯誤](#effort-isnt-available-with-thinking-turned-off) |219| `effort '<level>' is not supported when thinking is disabled` | [請求錯誤](#effort-isnt-available-with-thinking-turned-off) |
220| `API Error: 400 Invalid effort level` / `Your organization limits effort for <model>, so Claude Code is using '<level>' instead of '<level>'` | [組織 effort 限制](https://code.claude.com/docs/zh-TW/model-config.md#organization-effort-limits) |
217| `max_tokens must be greater than thinking.budget_tokens` | [請求錯誤](#thinking-budget-exceeds-output-limit) |221| `max_tokens must be greater than thinking.budget_tokens` | [請求錯誤](#thinking-budget-exceeds-output-limit) |
218| `Claude's response exceeded the ... output token maximum` | [請求錯誤](#response-exceeded-the-output-token-maximum) |222| `Claude's response exceeded the ... output token maximum` | [請求錯誤](#response-exceeded-the-output-token-maximum) |
219| `API Error: 400 due to tool use concurrency issues` | [請求錯誤](#tool-use-or-thinking-block-mismatch) |223| `API Error: 400 due to tool use concurrency issues` | [請求錯誤](#tool-use-or-thinking-block-mismatch) |
338| `Cannot add marketplace "<name>": Claude Code cannot install plugins from a marketplace with this name` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#cannot-install-plugins-from-a-marketplace-with-this-name) |342| `Cannot add marketplace "<name>": Claude Code cannot install plugins from a marketplace with this name` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#cannot-install-plugins-from-a-marketplace-with-this-name) |
339| `Cannot add marketplace "<name>": Claude Code reserves this name and cannot register a marketplace under it` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#claude-code-reserves-this-name) |343| `Cannot add marketplace "<name>": Claude Code reserves this name and cannot register a marketplace under it` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#claude-code-reserves-this-name) |
340| `Marketplace "<name>" is added but ignored` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#marketplace-is-added-but-ignored) |344| `Marketplace "<name>" is added but ignored` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#marketplace-is-added-but-ignored) |
345| `Marketplace "<name>", which managed settings declare, stands from another source and cannot be taken back while its declared source is unreachable` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#marketplace-cannot-be-taken-back-while-its-declared-source-is-unreachable) |
346| `The list of installed plugins (installed_plugins.json) could not be read, so marketplace "<name>", which managed settings declare, cannot be taken back from another source` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#installed-plugins-could-not-be-read-so-marketplace-cannot-be-taken-back) |
341| `Marketplace "<name>" is registered but was refused (see the debug log)` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#marketplace-is-added-but-ignored) |347| `Marketplace "<name>" is registered but was refused (see the debug log)` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#marketplace-is-added-but-ignored) |
342| `references ${user_config.*} in a shell-form command` | [外掛錯誤](#plugin-command-references-user-config) |348| `references ${user_config.*} in a shell-form command` | [外掛錯誤](#plugin-command-references-user-config) |
343| `Monitor "<name>" from plugin <plugin> references ${user_config.*} in its command` | [外掛錯誤](#plugin-command-references-user-config) |349| `Monitor "<name>" from plugin <plugin> references ${user_config.*} in its command` | [外掛錯誤](#plugin-command-references-user-config) |
358| `"<plugin>" was not uninstalled: it is still switched on in <file>` | [外掛錯誤](#plugin-was-not-uninstalled) |364| `"<plugin>" was not uninstalled: it is still switched on in <file>` | [外掛錯誤](#plugin-was-not-uninstalled) |
359| `"<plugin>" was not uninstalled: <file> is there and could not be read` | [外掛錯誤](#plugin-was-not-uninstalled) |365| `"<plugin>" was not uninstalled: <file> is there and could not be read` | [外掛錯誤](#plugin-was-not-uninstalled) |
360| `Plugin "<plugin>" was not uninstalled: installed_plugins.json` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#installed-plugins-json-holds-a-record-this-version-cannot-read) |366| `Plugin "<plugin>" was not uninstalled: installed_plugins.json` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#installed-plugins-json-holds-a-record-this-version-cannot-read) |
367| `was updated or removed, so this hook did not run` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#plugin-directory-does-not-exist) |
361| `Plugin directory does not exist: <path>` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#plugin-directory-does-not-exist) |368| `Plugin directory does not exist: <path>` | [外掛疑難排解](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#plugin-directory-does-not-exist) |
362| `Skipping connection (recent failure cached; retries automatically in 15 min, or edit the plugin config to retry now)` | [外掛錯誤](#skipping-connection-recent-failure-cached) |369| `Skipping connection (recent failure cached; retries automatically in 15 min, or edit the plugin config to retry now)` | [外掛錯誤](#skipping-connection-recent-failure-cached) |
363| `is not added on this machine, so your organization's marketplace policy keeps its plugins off` | [新增市集](https://code.claude.com/docs/zh-TW/plugins/install.md#add-a-marketplace) |370| `is not added on this machine, so your organization's marketplace policy keeps its plugins off` | [新增市集](https://code.claude.com/docs/zh-TW/plugins/install.md#add-a-marketplace) |
393| `cannot be handed to a teammate intact` | [工具錯誤](#command-line-deny-rule-cannot-be-handed-to-a-teammate) |400| `cannot be handed to a teammate intact` | [工具錯誤](#command-line-deny-rule-cannot-be-handed-to-a-teammate) |
394| `Message too large for cross-session delivery` | [工具錯誤](#message-too-large-for-cross-session-delivery) |401| `Message too large for cross-session delivery` | [工具錯誤](#message-too-large-for-cross-session-delivery) |
395| `Too many messages to this session just now` | [工具錯誤](#too-many-messages-to-this-session-just-now) |402| `Too many messages to this session just now` | [工具錯誤](#too-many-messages-to-this-session-just-now) |
403| `Held a message from <sender>` / `Dropped the held message from <sender> without delivering it` | [控制傳入訊息](https://code.claude.com/docs/zh-TW/cross-session-messaging.md#control-inbound-messages),若為 `claude -p`,則參閱[非互動式工作階段](https://code.claude.com/docs/zh-TW/cross-session-messaging.md#non-interactive-sessions) |
396| `Cross-session message was dropped at the recipient session's inbox` | [工具錯誤](#cross-session-message-dropped-at-the-inbox) |404| `Cross-session message was dropped at the recipient session's inbox` | [工具錯誤](#cross-session-message-dropped-at-the-inbox) |
397| `Refusing to send: reply target is a symlink` / `Refusing to send: cannot vet reply target` | [工具錯誤](#refusing-to-send-a-cross-session-message) |405| `Refusing to send: reply target is a symlink` / `Refusing to send: cannot vet reply target` | [工具錯誤](#refusing-to-send-a-cross-session-message) |
398| `Refusing to read <path>: its symlink resolution changed after permission was checked (<reason>)` / `Refusing to search <path>: its symlink resolution changed after permission was checked` | [工具錯誤](#refusing-after-a-symlink-changed) |406| `Refusing to read <path>: its symlink resolution changed after permission was checked (<reason>)` / `Refusing to search <path>: its symlink resolution changed after permission was checked` | [工具錯誤](#refusing-after-a-symlink-changed) |
412| `File is not valid UTF-8. It may use a legacy encoding such as Windows-1252, Shift-JIS or GBK, or be binary` | [工具錯誤](#file-is-not-valid-utf-8) |420| `File is not valid UTF-8. It may use a legacy encoding such as Windows-1252, Shift-JIS or GBK, or be binary` | [工具錯誤](#file-is-not-valid-utf-8) |
413| `git is not installed on this Mac. To install it, run xcode-select --install, then try again.` | [工具錯誤](#git-is-not-installed-on-this-mac) |421| `git is not installed on this Mac. To install it, run xcode-select --install, then try again.` | [工具錯誤](#git-is-not-installed-on-this-mac) |
414| `Refusing to apply edits to <path>: a hook is configured for file edits in this session` | [工具錯誤](#a-hook-is-configured-for-file-edits) |422| `Refusing to apply edits to <path>: a hook is configured for file edits in this session` | [工具錯誤](#a-hook-is-configured-for-file-edits) |
423| `blocking because onFailure is "block"` | [在 hook 失敗時封鎖動作](https://code.claude.com/docs/zh-TW/hooks.md#block-the-action-when-a-hook-fails) |
415| `the source file is not valid UTF-8 text` / `the source file is not valid UTF-16 text` | [工具錯誤](#the-source-file-is-not-valid-utf-8-text) |424| `the source file is not valid UTF-8 text` / `the source file is not valid UTF-16 text` | [工具錯誤](#the-source-file-is-not-valid-utf-8-text) |
416| `the source file has the replacement character U+FFFD` | [工具錯誤](#the-source-file-is-not-valid-utf-8-text) |425| `the source file has the replacement character U+FFFD` | [工具錯誤](#the-source-file-is-not-valid-utf-8-text) |
417| `Not published: that file is on a network share` | [工具錯誤](#not-published-that-file-is-on-a-network-share) |426| `Not published: that file is on a network share` | [工具錯誤](#not-published-that-file-is-on-a-network-share) |
665 674
666* 若每個請求都以此訊息失敗,且您已將 `API_TIMEOUT_MS` 設為 `0`,請檢查 `claude --version`。若版本早於 v2.1.305,請更新 Claude Code 或設定一個正值。675* 若每個請求都以此訊息失敗,且您已將 `API_TIMEOUT_MS` 設為 `0`,請檢查 `claude --version`。若版本早於 v2.1.305,請更新 Claude Code 或設定一個正值。
667* 重試該請求676* 重試該請求
668* 若原因是網路或代理伺服器速度較慢,請依照[自動重試](#automatic-retries)的說明提高 `API_TIMEOUT_MS`677* 若訊息在 `Request timed out` 之後還有內容,並指出某個[環境變數](https://code.claude.com/docs/zh-TW/env-vars.md#set-environment-variables),請依照訊息的指示操作。`No data arrived` 表示[主體閒置逾時](https://code.claude.com/docs/zh-TW/network-config.md#streaming-idle-watchdogs)結束了該請求。
678* 若網路或代理伺服器速度較慢,且版本早於 v2.1.328,請提高 [`API_TIMEOUT_MS`](#tune-retry-behavior)。若請求仍然逾時,請[更新至 v2.1.328 或更新版本](https://code.claude.com/docs/zh-TW/setup.md#update-claude-code),並設定下一則逾時訊息所指出的任何變數。若您無法更新,請將 [`API_FORCE_IDLE_TIMEOUT`](https://code.claude.com/docs/zh-TW/env-vars) 設為 `0`。
669* 若逾時頻繁發生,而您的網路在其他方面都正常,請參閱下方的[網路與連線錯誤](#network-and-connection-errors)679* 若逾時頻繁發生,而您的網路在其他方面都正常,請參閱下方的[網路與連線錯誤](#network-and-connection-errors)
670 680
671### No response from API681### No response from API
1164 1174
1165### 您的 apiKeyHelper 指令碼執行失敗1175### 您的 apiKeyHelper 指令碼執行失敗
1166 1176
1167Claude Code 執行了您 [`apiKeyHelper`](https://code.claude.com/docs/zh-TW/settings-reference#apikeyhelper) 設定中的命令,但沒有取得金鑰。沒有金鑰時,請求會帶著預留位置憑證抵達 API,API 會以 `401` 拒絕它。終端機中的 `Authentication` 面板會顯示發生的是下列哪一種情況:1177Claude Code 執行了您 [`apiKeyHelper`](https://code.claude.com/docs/zh-TW/settings-reference#apikeyhelper) 設定中的命令,但沒有取回金鑰。沒有金鑰時,請求會帶著預留位置憑證到達 API,而 API 會以 `401` 拒絕它。終端機中的面板會顯示發生了以下哪種情況:
1168 1178
1169* 命令以錯誤結束或逾時1179* 命令以錯誤結束或逾時
1170* 命令沒有在 stdout 輸出任何內容1180* 命令沒有在 stdout 輸出任何內容
1186* 如果命令回報工作階段已過期,請向您的憑證提供者重新進行身分驗證,例如重新登入您的 SSO 或密鑰保管庫1196* 如果命令回報工作階段已過期,請向您的憑證提供者重新進行身分驗證,例如重新登入您的 SSO 或密鑰保管庫
1187* 修正命令,使其只將金鑰輸出至 stdout,格式為單一可列印 ASCII token、最多 16,384 個字元,並以退出碼 0 結束。請參閱[使用 apiKeyHelper 輪替憑證](https://code.claude.com/docs/zh-TW/llm-gateway-connect.md#rotate-credentials-with-apikeyhelper)以取得可用的設定範例。1197* 修正命令,使其只將金鑰輸出至 stdout,格式為單一可列印 ASCII token、最多 16,384 個字元,並以退出碼 0 結束。請參閱[使用 apiKeyHelper 輪替憑證](https://code.claude.com/docs/zh-TW/llm-gateway-connect.md#rotate-credentials-with-apikeyhelper)以取得可用的設定範例。
1188* 執行 `/status` 以查看失敗情況,並確認 `apiKeyHelper` 是使用中的憑證來源。`apiKeyHelper` 列會顯示 `Failing` 以及最近一次失敗的詳細資訊,例如退出碼與命令的錯誤輸出,並會在下一次成功執行後消失。在 v2.1.274 之前,`/status` 只會顯示憑證來源,不會顯示失敗情況。1198* 執行 `/status` 以查看失敗情況,並確認 `apiKeyHelper` 是使用中的憑證來源。`apiKeyHelper` 列會顯示 `Failing` 以及最近一次失敗的詳細資訊,例如退出碼與命令的錯誤輸出,並會在下一次成功執行後消失。在 v2.1.274 之前,`/status` 只會顯示憑證來源,不會顯示失敗情況。
1189* 每次命令失敗時,其退出碼與錯誤輸出也會出現在終端機中的 `Authentication` 面板中。在 v2.1.212 之前,該面板的標題為 `Cloud authentication`。
1190 1199
1191### Claude Code didn't send your claude.ai login1200### Claude Code didn't send your claude.ai login
1192 1201
1577 1586
1578**處理方式:**1587**處理方式:**
1579 1588
1580* 在您的 shell 中執行 `claude auth logout` 再次嘗試儲存。儲存成功時,命令會輸出 `Successfully logged out from your Anthropic account.`1589* 在 shell 中執行 `claude auth logout`,再次嘗試儲存
1581 1590
1582### Couldn't start the local listener that receives the browser sign-in1591### Couldn't start the local listener that receives the browser sign-in
1583 1592
2313The cloud environments service returned a response in an unexpected format (HTTP 200 without a usable environments list). This is usually temporary — try again in a moment.2322The cloud environments service returned a response in an unexpected format (HTTP 200 without a usable environments list). This is usually temporary — try again in a moment.
2314```2323```
2315 2324
2316伺服器接受了請求,但用不是環境清單的主體回答:空、不是 JSON 或沒有清單的 JSON。這通常伴隨服務端中斷,並自行清除。根據請求清單的使用介面,Claude Code 可能會新增前綴,例如 `/remote-env` 對話方塊中的 `couldn't list environments:`。
2317
2318**該怎麼做:**2325**該怎麼做:**
2319 2326
2320* 重試該操作。Claude Code 每次都會再次請求清單2327* 重試該操作。Claude Code 每次都會再次請求清單
2352 2359
2353### Couldn't reconnect to your Remote Control session2360### Couldn't reconnect to your Remote Control session
2354 2361
2355```text theme={null}2362如需原因和修正方式,請參閱 [Remote Control 疑難排解中的此訊息](https://code.claude.com/docs/zh-TW/remote-control.md#couldnt-reconnect-to-your-remote-control-session)。
2356Couldn't reconnect to your Remote Control session. Retry, or start a fresh session without --resume.
2357```
2358
2359使用 `claude --resume` 或 `claude --continue` 恢復會重新連線到該對話中記錄的 [Remote Control](https://code.claude.com/docs/zh-TW/remote-control.md) 工作階段。此訊息表示重新連線因可能是暫時的原因(例如網路中斷或伺服器錯誤)而失敗,因此 Claude Code 無法確認遠端工作階段是否仍然存在。您的本機工作階段在沒有 Remote Control 的情況下繼續執行。
2360
2361**該怎麼做:**
2362
2363* 執行 `/remote-control` 以重試連線
2364* 使用 `claude --remote-control` 啟動新工作階段以建立新的 Remote Control 工作階段
2365* 對於其他 Remote Control 啟動訊息,請參閱[Remote Control 疑難排解](https://code.claude.com/docs/zh-TW/remote-control.md#troubleshooting)
2366
2367如果伺服器改為報告前一個工作階段已消失,您不會看到此訊息。Claude Code 會在其位置啟動新工作階段或顯示 [`Previous session is unavailable — run /remote-control to start a new one`](https://code.claude.com/docs/zh-TW/remote-control#previous-session-is-unavailable)。
2368 2363
2369### Sessions ended while this machine was offline2364### Sessions ended while this machine was offline
2370 2365
4449 4444
4450### Marketplace 是從不受信任的來源註冊的4445### Marketplace 是從不受信任的來源註冊的
4451 4446
4452Marketplace 是以 [為官方 Anthropic marketplace 保留的名稱](https://code.claude.com/docs/zh-TW/plugins/marketplace-reference.md#marketplace-file) 註冊的,但其註冊的來源不是 `anthropics` GitHub 儲存庫。Claude Code 每次載入或重新整理 marketplace 時都會重新檢查保留的名稱,因此 marketplace 及從中安裝的 plugin 會停止載入。在 v2.1.205 之前,在其名稱變成保留名稱之前註冊的項目會繼續載入。4447如需原因與修正方式,請參閱 [plugin 疑難排解中的此訊息](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#marketplace-is-registered-from-an-untrusted-source)。
4453
4454```text theme={null}
4455Marketplace "claude-community" is registered from an untrusted source: The name 'claude-community' is reserved for official Anthropic marketplaces. Only repositories from 'github.com/anthropics/' can use this name. To fix it, remove the marketplace and re-add it from the official source.
4456```
4457
4458對於來源不是 GitHub 儲存庫或 Git URL 的 marketplace(例如本機目錄),中間句子改為 `can only be used with GitHub sources from the 'anthropics' organization`。`claude plugin marketplace add` 執行相同的檢查,並以 `Failed to add marketplace:` 後跟相同的保留名稱句子拒絕保留的名稱。
4459
4460**該怎麼做:**
4461
4462* 如果 marketplace 已經註冊,執行 `claude plugin marketplace remove <name>`,然後從官方 `github.com/anthropics` 儲存庫重新新增它
4463* 如果您發佈了在其名稱變成保留名稱之前使用該名稱的第三方 marketplace,請重新命名它並要求使用者從您的來源重新新增它
4464* 請參閱 [Marketplace schema](https://code.claude.com/docs/zh-TW/plugins/marketplace-reference.md#marketplace-file) 下的保留名稱清單
4465 4448
4466### Marketplace 名稱是保留名稱的另一種拼寫4449### Marketplace 名稱是保留名稱的另一種拼寫
4467 4450
4551 4534
4552### Plugin 封存完整性檢查失敗4535### Plugin 封存完整性檢查失敗
4553 4536
4554Plugin 的 marketplace 項目使用具有 `sha256` 釘選的 [`archive` 來源](https://code.claude.com/docs/zh-TW/plugins/marketplace-reference#archive-plugin-source),而下載檔案的摘要與釘選不符。Claude Code 拒絕安裝,因此 plugin 快取中沒有任何變更。不符有三個可能的原因:4537如需原因與修正方式,請參閱 [plugin 疑難排解中的此訊息](https://code.claude.com/docs/zh-TW/plugins/troubleshooting.md#plugin-archive-integrity-check-failed)。
4555
4556* 作者計算釘選後,URL 上的檔案已變更
4557* 作者在 marketplace 項目中輸入了錯誤的摘要
4558* URL 提供的檔案與作者釘選的檔案不同
4559
4560```text theme={null}
4561Plugin archive integrity check failed for https://artifacts.example.com/claude-plugins/my-plugin.zip: expected sha256 6bfa50e3d2e00c052b46abe51fff89346ac803e45771f76dcf6df1ab74cca5e1, got ac52220c0914ef8ca6a602e4a7362f88d30fb021110f72a6d15b68c3fe7df2b7. The archive was not installed. Verify the sha256 in the marketplace entry, or that the URL serves the intended file.
4562```
4563
4564**該怎麼做:**
4565
4566* 如果您發佈 plugin,使用 `shasum -a 256 my-plugin.zip` 或在 PowerShell 中使用 `Get-FileHash -Algorithm SHA256 my-plugin.zip` 重新計算 URL 提供的確切檔案的摘要,並更新 marketplace 項目中的 `sha256`
4567* 如果您安裝 plugin,執行 `/plugin marketplace update <name>` 以重新整理目錄以防項目已更正,然後重試安裝
4568* 如果在重新整理後摘要仍然不符,請在安裝前詢問 marketplace 擁有者他們釘選了哪個檔案
4569 4538
4570### 路徑逃逸 plugin 目錄4539### 路徑逃逸 plugin 目錄
4571 4540
6706 6675
6707`claude doctor` 和 `/status` 中的此警告會列出遮罩檔案:位於[沙箱](https://code.claude.com/docs/zh-TW/sandboxing.md)拒絕寫入之路徑上的 0 位元組唯讀佔位檔案。當沙箱機制在啟用檔案系統隔離的情況下開啟時,此警告會出現在 Linux 和 WSL2 上。請在包含這些檔案的專案中已沒有任何開啟的 Claude Code 工作階段時,從您的 shell 刪除它們。6676`claude doctor` 和 `/status` 中的此警告會列出遮罩檔案:位於[沙箱](https://code.claude.com/docs/zh-TW/sandboxing.md)拒絕寫入之路徑上的 0 位元組唯讀佔位檔案。當沙箱機制在啟用檔案系統隔離的情況下開啟時,此警告會出現在 Linux 和 WSL2 上。請在包含這些檔案的專案中已沒有任何開啟的 Claude Code 工作階段時,從您的 shell 刪除它們。
6708 6677
6709沙箱會在沙箱化命令執行期間建立佔位檔案,並在命令結束時將其移除。在下列情況下,佔位檔案會被留下:
6710
6711* 工作階段在命令結束前被終止,例如被 SIGKILL
6712* 您在沙箱化命令仍在執行時結束工作階段,例如在背景執行的命令
6713
6714在 `claude doctor` 中,警告內容如下:6678在 `claude doctor` 中,警告內容如下:
6715 6679
6716```text theme={null}6680```text theme={null}