122| `A request to MCP server "<name>" was sent without your stored credentials` | [身分驗證](#couldnt-read-the-stored-credentials-for-mcp-server) |122| `A request to MCP server "<name>" was sent without your stored credentials` | [身分驗證](#couldnt-read-the-stored-credentials-for-mcp-server) |
123| `This server's URL is missing or not a valid URL, so sign-in can't start` | [身分驗證](#mcp-server-url-is-missing-or-not-a-valid-url) |123| `This server's URL is missing or not a valid URL, so sign-in can't start` | [身分驗證](#mcp-server-url-is-missing-or-not-a-valid-url) |
124| `Issuer mismatch in authorization response (RFC 9207)` | [身分驗證](#issuer-mismatch-in-authorization-response) |124| `Issuer mismatch in authorization response (RFC 9207)` | [身分驗證](#issuer-mismatch-in-authorization-response) |
125| `Stopped an OAuth request` | [身分驗證](#stopped-an-oauth-request) |
125| `Refusing to send credentials to non-https token endpoint` / `<short-name> from the MCP SDK for <server-url>` | [身分驗證](#refusing-to-send-credentials-to-non-https-token-endpoint) |126| `Refusing to send credentials to non-https token endpoint` / `<short-name> from the MCP SDK for <server-url>` | [身分驗證](#refusing-to-send-credentials-to-non-https-token-endpoint) |
126| `Cloud gateway session expired — run /login to reconnect.` | [身分驗證](#cloud-gateway-session-expired) |127| `Cloud gateway session expired — run /login to reconnect.` | [身分驗證](#cloud-gateway-session-expired) |
127| `Cloud gateway <url> no longer accepts this session` | [身分驗證](#cloud-gateway-session-expired) |128| `Cloud gateway <url> no longer accepts this session` | [身分驗證](#cloud-gateway-session-expired) |
251| `Ultrareview did not start` | [命令列錯誤](#ultrareview-did-not-start) |252| `Ultrareview did not start` | [命令列錯誤](#ultrareview-did-not-start) |
252| `Remote Control did not start: "<question>" got no answer` | [命令列錯誤](#remote-control-did-not-start-got-no-answer) |253| `Remote Control did not start: "<question>" got no answer` | [命令列錯誤](#remote-control-did-not-start-got-no-answer) |
253| `` `<flag>` before `remote-control` is not carried over to the sessions Remote Control starts `` | [命令列錯誤](#not-carried-over-to-the-sessions-remote-control-starts) |254| `` `<flag>` before `remote-control` is not carried over to the sessions Remote Control starts `` | [命令列錯誤](#not-carried-over-to-the-sessions-remote-control-starts) |
255| `Remote Control did not start, because sessions would skip part or all of the --settings file` | [命令列錯誤](#remote-control-did-not-start-because-of-the-settings-file) |
256| `The settings file <file> has changed since Remote Control started, so this session did not start` | [命令列錯誤](#settings-file-changed-since-remote-control-started) |
254| `--sandbox is not supported by claude remote-control` / `--no-sandbox is not supported by claude remote-control` | [命令列錯誤](#sandbox-is-not-supported-by-claude-remote-control) |257| `--sandbox is not supported by claude remote-control` / `--no-sandbox is not supported by claude remote-control` | [命令列錯誤](#sandbox-is-not-supported-by-claude-remote-control) |
255| `` `claude import` is not yet available in this build `` | [命令列錯誤](#claude-import-is-not-yet-available-in-this-build) |258| `` `claude import` is not yet available in this build `` | [命令列錯誤](#claude-import-is-not-yet-available-in-this-build) |
256| `Could not read Claude Code config` | [命令列錯誤](#could-not-read-claude-code-config) |259| `Could not read Claude Code config` | [命令列錯誤](#could-not-read-claude-code-config) |
825同一個 Claude 回應中的後續呼叫可能會以此原因遭到拒絕:828同一個 Claude 回應中的後續呼叫可能會以此原因遭到拒絕:
826 829
827```text theme={null}830```text theme={null}
828another call in this response was changed by a hook after auto mode reviewed it, or could not be confirmed unchanged831another call in this response was changed after auto mode reviewed it, or could not be confirmed unchanged
829```832```
830 833
831Claude 接著可以再次發出每個遭拒絕的呼叫,讓伺服器進行審查。若出現權限提示,請回應它。除非 Claude 在回覆中表示自動模式無法檢查該呼叫,否則您不需要做其他任何事。屆時,請停止該變更或自行核准該呼叫,並請 Claude 再試一次該呼叫:834Claude 接著可以再次發出每個遭拒絕的呼叫,讓伺服器進行審查。若出現權限提示,請回應它。除非 Claude 在回覆中表示自動模式無法檢查該呼叫,否則您不需要做其他任何事。屆時,請停止該變更或自行核准該呼叫,並請 Claude 再試一次該呼叫:
1822 1825
1823在 v2.1.232 之前,Claude Code 只在逐步推出時或您設定 `MCP_SDK_GENERATION=v2` 時才使用 v2 執行階段。1826在 v2.1.232 之前,Claude Code 只在逐步推出時或您設定 `MCP_SDK_GENERATION=v2` 時才使用 v2 執行階段。
1824 1827
1828### Stopped an OAuth request
1829
1830此訊息表示 Claude Code 因 OAuth 端點將 [MCP 伺服器的 OAuth 請求](https://code.claude.com/docs/zh-TW/mcp.md#authenticate-with-remote-mcp-servers)重新導向,而停止了該請求。在此訊息的兩種形式中,第一個位址都是發出重新導向的位址:
1831
1832```text theme={null}
1833Stopped an OAuth request, which can hold secrets: https://auth.example.com redirected it to https://other.example.com. Ask the owner of https://auth.example.com to remove that redirect.
1834Stopped an OAuth request: https://auth.example.com redirected it more than 5 times. Ask the owner of https://auth.example.com to fix those redirects.
1835```
1836
1837**處理方式:**
1838
1839* 請第一個位址的營運者(例如 MCP 伺服器的營運者)移除或修正該重新導向。然後從 `/mcp` 再試一次。
1840
1825### 拒絕將憑證傳送至非 https 的 token 端點1841### 拒絕將憑證傳送至非 https 的 token 端點
1826 1842
1827在 [v2 執行階段](https://code.claude.com/docs/zh-TW/mcp.md#mcp-client-runtimes)上,Claude Code 只會將 [MCP OAuth](https://code.claude.com/docs/zh-TW/mcp.md#authenticate-with-remote-mcp-servers) token 請求傳送至透過 HTTPS 提供,或位於 `localhost`、`127.0.0.1` 或 `::1` 的 token 端點。此訊息表示伺服器的 token 端點兩者皆非,因此 Claude Code 在傳送請求之前停止了。這發生在瀏覽器登入之後,因此瀏覽器步驟會先成功,之後每當 Claude Code 重新整理該伺服器的 token 時也會再次發生。1843在 [v2 執行階段](https://code.claude.com/docs/zh-TW/mcp.md#mcp-client-runtimes)上,Claude Code 只會將 [MCP OAuth](https://code.claude.com/docs/zh-TW/mcp.md#authenticate-with-remote-mcp-servers) token 請求傳送至透過 HTTPS 提供,或位於 `localhost`、`127.0.0.1` 或 `::1` 的 token 端點。此訊息表示伺服器的 token 端點兩者皆非,因此 Claude Code 在傳送請求之前停止了。這發生在瀏覽器登入之後,因此瀏覽器步驟會先成功,之後每當 Claude Code 重新整理該伺服器的 token 時也會再次發生。
2207 2223
2208### 雲端工作階段中不允許主機2224### 雲端工作階段中不允許主機
2209 2225
2210來自雲端工作階段或雲端排程任務的出站 HTTP 請求被環境的網路原則阻止。2226在雲端工作階段或雲端排程任務中,`403` 或 DNS 錯誤(例如 `ENOTFOUND`)可能表示所請求的主機不在[雲端環境的允許清單](https://code.claude.com/docs/zh-TW/cloud-environments.md#access-levels)上。若要確認,請將該主機與該清單進行比對。帶有此標頭的 `403` 可確認遭到封鎖,但並非每個遭封鎖請求的 `403` 都帶有此標頭:
2211 2227
2212```text theme={null}2228```text theme={null}
2213HTTP 4032229HTTP 403
2565 2581
2566Claude Code 通常會自動調整大型影像的大小。這些錯誤意味著影像無法解碼或調整大小以符合 API 限制。2582Claude Code 通常會自動調整大型影像的大小。這些錯誤意味著影像無法解碼或調整大小以符合 API 限制。
2567 2583
2584您看到的錯誤可能會列出不同的像素上限,例如在這些範例顯示 `2000x2000px` 之處顯示 `2576x2576px`。
2585
2568**該怎麼辦:**2586**該怎麼辦:**
2569 2587
2570* 如果訊息要求您轉換影像,請將其轉換為 PNG、JPEG、GIF 或 WebP 並再次附加。Claude Code 可以從檔案標頭驗證這些格式的尺寸,而無需解碼影像。2588* 如果訊息要求您轉換影像,請將其轉換為 PNG、JPEG、GIF 或 WebP 並再次附加。Claude Code 可以從檔案標頭驗證這些格式的尺寸,而無需解碼影像。
3499* **`Error: Workspace not trusted. <folder> is your home directory`**:由於對家目錄的信任永遠不會被儲存,先在那裡執行 `claude` 並沒有幫助。請改從專案目錄執行 `claude ultrareview`(事先在那裡執行一次 `claude` 以接受信任對話框),或附加 `--trust-workspace`。3517* **`Error: Workspace not trusted. <folder> is your home directory`**:由於對家目錄的信任永遠不會被儲存,先在那裡執行 `claude` 並沒有幫助。請改從專案目錄執行 `claude ultrareview`(事先在那裡執行一次 `claude` 以接受信任對話框),或附加 `--trust-workspace`。
3500* **`No answer in time.` 後接 `Error: Workspace not trusted`**:`Trust <folder>? [y/N]` 問題在 5 分鐘內未獲回答。請再次執行 `claude ultrareview` 並回答它。3518* **`No answer in time.` 後接 `Error: Workspace not trusted`**:`Trust <folder>? [y/N]` 問題在 5 分鐘內未獲回答。請再次執行 `claude ultrareview` 並回答它。
3501* **`Ultrareview did not start: <folder> is not trusted`**:您在 `Trust <folder>? [y/N]` 問題中拒絕了,例如回答 `n` 或按下 Enter。若要啟動審查,請再次執行 `claude ultrareview` 並回答 `y`。3519* **`Ultrareview did not start: <folder> is not trusted`**:您在 `Trust <folder>? [y/N]` 問題中拒絕了,例如回答 `n` 或按下 Enter。若要啟動審查,請再次執行 `claude ultrareview` 並回答 `y`。
3502* **``Ultrareview did not start: `--trust-workspace` takes no value``**:`--trust-workspace` 後面接了旗標以外的內容,例如 PR 編號或 `false`。若您不信任該資料夾,請省略此旗標。若要在本次執行中信任它,請將 PR 編號或基底分支放在旗標之前:`claude ultrareview 1234 --trust-workspace`。3520* **``Ultrareview did not start: `--trust-workspace` takes no value``**:`--trust-workspace` 後面接了旗標以外的內容,例如 PR 編號或 `false`。如果您不信任該資料夾,請省略此旗標。若要在此次執行中信任它,請將 PR 編號或基礎分支放在旗標之前:`claude ultrareview 1234 --trust-workspace`。
3503 3521
3504在 v2.1.309 之前,`claude ultrareview` 不接受 `--trust-workspace`。3522在 v2.1.309 之前,`claude ultrareview` 不接受 `--trust-workspace`。
3505 3523
3522您在 `remote-control` 動詞之前加上了全域 `claude` 旗標來啟動 [Remote Control](https://code.claude.com/docs/zh-TW/remote-control.md),而該旗標會限制或設定 Remote Control 所啟動的工作階段,例如 `--settings`、`--setting-sources`、`--permission-mode`、`--disallowed-tools` 或 `--mcp-config`。放在動詞之前的旗標永遠不會傳到這些工作階段。Claude Code 會改為拒絕啟動,並指出該旗標:3540您在 `remote-control` 動詞之前加上了全域 `claude` 旗標來啟動 [Remote Control](https://code.claude.com/docs/zh-TW/remote-control.md),而該旗標會限制或設定 Remote Control 所啟動的工作階段,例如 `--settings`、`--setting-sources`、`--permission-mode`、`--disallowed-tools` 或 `--mcp-config`。放在動詞之前的旗標永遠不會傳到這些工作階段。Claude Code 會改為拒絕啟動,並指出該旗標:
3523 3541
3524```text theme={null}3542```text theme={null}
3525Error: `--settings` before `remote-control` is not carried over to the sessions Remote Control starts, so Remote Control refuses to start rather than drop it — remove it, and give Remote Control's own options after the verb (see `claude remote-control --help`).3543Error: `--settings` before `remote-control` is not carried over to the sessions Remote Control starts, so Remote Control refuses to start rather than drop it — remove it, and give Remote Control's own options after the verb (see `claude remote-control --help`). Pass settings with `claude remote-control --settings <file>`.
3526```3544```
3527 3545
3528對於捨棄後無害的全域旗標,例如 `--verbose`、`--model`,或由包裝程式注入的 `--session-id` 或 `--plugin-dir`,Claude Code 不會拒絕:它會忽略這些旗標,Remote Control 會照常啟動。3546對於捨棄後無害的全域旗標,例如 `--verbose`、`--model`,或由包裝程式注入的 `--session-id` 或 `--plugin-dir`,Claude Code 不會拒絕:它會忽略這些旗標,Remote Control 會照常啟動。
3536 3554
3537在 v2.1.248 之前,當全域旗標在前時,`claude remote-control` 不接受其自身的旗標,該命令會以 `unknown option` 錯誤失敗。3555在 v2.1.248 之前,當全域旗標在前時,`claude remote-control` 不接受其自身的旗標,該命令會以 `unknown option` 錯誤失敗。
3538 3556
3557### Remote Control 因 `--settings` 檔案而未啟動
3558
3559您傳給 [`claude remote-control --settings`](https://code.claude.com/docs/zh-TW/remote-control#start-a-remote-control-session) 的檔案有問題:
3560
3561```text theme={null}
3562Error: Remote Control did not start, because sessions would skip part or all of the --settings file ./rc-settings.json: Invalid or malformed JSON
3563```
3564
3565**處理方式:**
3566
3567* 修正訊息所指出的問題,然後重新執行您的 `claude remote-control` 命令
3568
3569### The settings file has changed since Remote Control started
3570
3571在執行 `claude remote-control` 的終端機中出現此訊息,表示工作階段不會以您傳給 [`--settings`](https://code.claude.com/docs/zh-TW/remote-control#start-a-remote-control-session) 之檔案的目前內容啟動:
3572
3573```text theme={null}
3574Session failed: Error: The settings file /path/to/settings.json has changed since Remote Control started, so this session did not start. Restart `claude remote-control` to use it as it is now.
3575```
3576
3577**處理方式:**
3578
3579* 若要使用該檔案的目前內容,請停止 `claude remote-control` 並重新執行相同的命令。若要找回它原本服務的工作階段,請參閱[停止伺服器後繼續工作階段](https://code.claude.com/docs/zh-TW/remote-control.md#resume-sessions-after-stopping-the-server)。
3580* 若要保留 Remote Control 啟動時所使用的設定,請將檔案內容還原為原本的樣子,若 `claude remote-control` 已結束,再重新執行命令
3581
3539### `--sandbox` or `--no-sandbox` is not supported by claude remote-control3582### `--sandbox` or `--no-sandbox` is not supported by claude remote-control
3540 3583
3541此錯誤表示啟動您 [Remote Control](https://code.claude.com/docs/zh-TW/remote-control.md) 伺服器的命令在 `remote-control` 之後傳入了 `--sandbox` 或 `--no-sandbox`,而 `claude remote-control` 兩者皆不接受。伺服器會以退出碼 1 結束,而不會啟動:3584此錯誤表示啟動您 [Remote Control](https://code.claude.com/docs/zh-TW/remote-control.md) 伺服器的命令在 `remote-control` 之後傳入了 `--sandbox` 或 `--no-sandbox`,而 `claude remote-control` 兩者皆不接受。伺服器會以退出碼 1 結束,而不會啟動:
3806 3849
3807以下同類字串會在命令執行之前就觸發:3850以下同類字串會在命令執行之前就觸發:
3808 3851
3809* `Shell command permission check failed for pattern "..."`:命令的權限檢查未允許它。[注入命令的權限檢查](https://code.claude.com/docs/zh-TW/skills.md#permission-checks-on-injected-commands)說明了在各權限模式下哪些結果會中止,以及如何以 `allowed-tools` 預先核准命令3852* `Shell command permission check failed for pattern "..."`:命令的權限檢查不允許它執行。[注入命令的權限檢查](https://code.claude.com/docs/zh-TW/skills.md#permission-checks-on-injected-commands)說明了在各權限模式下哪些結果會中止,以及如何使用 `allowed-tools` 預先核准命令
3810* ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found``:skill 的 frontmatter 要求 bash,但機器上沒有 bash。請安裝 Git for Windows,或將 frontmatter 改為 `shell: powershell`。請參閱[注入命令的執行方式](https://code.claude.com/docs/zh-TW/skills.md#how-injected-commands-run)3853* ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found``:skill 的 frontmatter 要求使用 bash,但電腦上沒有它。請安裝 Git for Windows,或將 frontmatter 改為 `shell: powershell`。請參閱[注入命令的執行方式](https://code.claude.com/docs/zh-TW/skills.md#how-injected-commands-run)
3811 3854
3812**處理方式:**3855**處理方式:**
3813 3856
3960 4003
3961* **您沒有傳入基底分支**:Claude Code 與儲存庫的預設分支進行比較,並建議您明確傳入基底分支,如上例所示4004* **您沒有傳入基底分支**:Claude Code 與儲存庫的預設分支進行比較,並建議您明確傳入基底分支,如上例所示
3962* **您傳入的基底分支已存在於您的複製中**:提示內容為 ``Make sure <branch> exists locally or on origin (try `git fetch origin <branch>`)``4005* **您傳入的基底分支已存在於您的複製中**:提示內容為 ``Make sure <branch> exists locally or on origin (try `git fetch origin <branch>`)``
3963* **您傳入的基礎分支不在您的複製中**:Claude Code 在比較前從 origin 擷取了該分支。提示內容為 ``<branch> was fetched from origin but shares no history with HEAD. If another branch is your real base, pass it explicitly (`/code-review ultra <branch>`)``;當 Claude Code 無法判斷您的複製是否為淺層複製時,會改為建議 `git fetch --unshallow origin`。在 v2.1.221 之前,對於每個擷取的基礎分支,提示都會建議 `git fetch --unshallow origin`,而在完整的複製上,該命令會失敗並顯示 `fatal: --unshallow on a complete repository does not make sense`。4006* **您傳入的基礎分支不在您的複製中**:Claude Code 在比較之前從 origin 擷取了該分支。提示內容為 ``<branch> was fetched from origin but shares no history with HEAD. If another branch is your real base, pass it explicitly (`/code-review ultra <branch>`)``;當 Claude Code 無法判斷您的複製是否為淺層複製時,它會改為建議 `git fetch --unshallow origin`。在 v2.1.221 之前,提示會針對每個擷取的基礎分支建議 `git fetch --unshallow origin`,而在完整的複製上,該命令會以 `fatal: --unshallow on a complete repository does not make sense` 失敗。
3964 4007
3965**處理方式:**4008**處理方式:**
3966 4009