31| `Auto mode could not evaluate this action and is blocking it for safety` | [Server errors](#auto-mode-cannot-determine-the-safety-of-an-action) |31| `Auto mode could not evaluate this action and is blocking it for safety` | [Server errors](#auto-mode-cannot-determine-the-safety-of-an-action) |
32| `Auto mode classifier transcript exceeded context window` | [Server errors](#auto-mode-cannot-determine-the-safety-of-an-action) |32| `Auto mode classifier transcript exceeded context window` | [Server errors](#auto-mode-cannot-determine-the-safety-of-an-action) |
33| `Agent terminated early due to an API error` | [Server errors](#agent-terminated-early-due-to-an-api-error) |33| `Agent terminated early due to an API error` | [Server errors](#agent-terminated-early-due-to-an-api-error) |
34| `You've hit your session limit` / `You've hit your weekly limit` | [Usage limits](#you%E2%80%99ve-hit-your-session-limit) |34| `You've hit your session limit` / `You've hit your weekly limit` | [Usage limits](#youve-hit-your-session-limit) |
35| `Usage credits required for 1M context` | [Usage limits](#usage-credits-required-for-1m-context) |35| `Usage credits required for 1M context` | [Usage limits](#usage-credits-required-for-1m-context) |
36| `Server is temporarily limiting requests` | [Usage limits](#server-is-temporarily-limiting-requests) |36| `Server is temporarily limiting requests` | [Usage limits](#server-is-temporarily-limiting-requests) |
37| `Request rejected (429)` | [Usage limits](#request-rejected-429) |37| `Request rejected (429)` | [Usage limits](#request-rejected-429) |
42| `This organization has been disabled` | [Authentication](#this-organization-has-been-disabled) |42| `This organization has been disabled` | [Authentication](#this-organization-has-been-disabled) |
43| `Your organization has disabled API key authentication` | [Authentication](#your-organization-has-disabled-api-key-authentication) |43| `Your organization has disabled API key authentication` | [Authentication](#your-organization-has-disabled-api-key-authentication) |
44| `Your organization has disabled Claude subscription access` | [Authentication](#your-organization-has-disabled-claude-subscription-access) |44| `Your organization has disabled Claude subscription access` | [Authentication](#your-organization-has-disabled-claude-subscription-access) |
45| `Routines are disabled by your organization's policy` | [Authentication](#routines-are-disabled-by-your-organization%E2%80%99s-policy) |45| `Routines are disabled by your organization's policy` | [Authentication](#routines-are-disabled-by-your-organizations-policy) |
46| `Remote Control is only available when using Claude via api.anthropic.com` | [Authentication](#remote-control-requires-the-anthropic-api) |46| `Remote Control is only available when using Claude via api.anthropic.com` | [Authentication](#remote-control-requires-the-anthropic-api) |
47| `OAuth token revoked` / `OAuth token has expired` | [Authentication](#oauth-token-revoked-or-expired) |47| `OAuth token revoked` / `OAuth token has expired` | [Authentication](#oauth-token-revoked-or-expired) |
48| `does not meet scope requirement user:profile` | [Authentication](#oauth-scope-requirement) |48| `does not meet scope requirement user:profile` | [Authentication](#oauth-scope-requirement) |
53| `SSL certificate verification failed` | [Network](#ssl-certificate-errors) |53| `SSL certificate verification failed` | [Network](#ssl-certificate-errors) |
54| `SSL certificate error (...)` during login or startup | [Network](#ssl-certificate-errors) |54| `SSL certificate error (...)` during login or startup | [Network](#ssl-certificate-errors) |
55| `403` with `x-deny-reason: host_not_allowed` in a cloud or routine session | [Network](#host-not-allowed-in-a-cloud-session) |55| `403` with `x-deny-reason: host_not_allowed` in a cloud or routine session | [Network](#host-not-allowed-in-a-cloud-session) |
56| `Couldn't reconnect to your Remote Control session` | [Network](#couldn%E2%80%99t-reconnect-to-your-remote-control-session) |56| `Couldn't reconnect to your Remote Control session` | [Network](#couldnt-reconnect-to-your-remote-control-session) |
57| `Prompt is too long` | [Request errors](#prompt-is-too-long) |57| `Prompt is too long` | [Request errors](#prompt-is-too-long) |
58| `Error during compaction: Conversation too long` | [Request errors](#error-during-compaction-conversation-too-long) |58| `Error during compaction: Conversation too long` | [Request errors](#error-during-compaction-conversation-too-long) |
59| `Request too large` | [Request errors](#request-too-large) |59| `Request too large` | [Request errors](#request-too-large) |
61| `Unable to resize image` | [Request errors](#unable-to-resize-image) |61| `Unable to resize image` | [Request errors](#unable-to-resize-image) |
62| `PDF too large` / `PDF is password protected` | [Request errors](#pdf-errors) |62| `PDF too large` / `PDF is password protected` | [Request errors](#pdf-errors) |
63| `Extra inputs are not permitted` | [Request errors](#extra-inputs-are-not-permitted) |63| `Extra inputs are not permitted` | [Request errors](#extra-inputs-are-not-permitted) |
64| `There's an issue with the selected model` | [Request errors](#there%E2%80%99s-an-issue-with-the-selected-model) |64| `There's an issue with the selected model` | [Request errors](#theres-an-issue-with-the-selected-model) |
65| `Model ... is not a recognized model id` | [Request errors](#model-is-not-a-recognized-model-id) |65| `Model ... is not a recognized model id` | [Request errors](#model-is-not-a-recognized-model-id) |
66| `Claude Opus is not available with the Claude Pro plan` | [Request errors](#claude-opus-is-not-available-with-the-claude-pro-plan) |66| `Claude Opus is not available with the Claude Pro plan` | [Request errors](#claude-opus-is-not-available-with-the-claude-pro-plan) |
67| `Model ... is restricted by your organization's settings` | [Request errors](#model-is-restricted-by-your-organization%E2%80%99s-settings) |67| `Model ... is restricted by your organization's settings` | [Request errors](#model-is-restricted-by-your-organizations-settings) |
68| `thinking.type.enabled is not supported for this model` | [Request errors](#thinking-type-enabled-is-not-supported-for-this-model) |68| `thinking.type.enabled is not supported for this model` | [Request errors](#thinking-type-enabled-is-not-supported-for-this-model) |
69| `max_tokens must be greater than thinking.budget_tokens` | [Request errors](#thinking-budget-exceeds-output-limit) |69| `max_tokens must be greater than thinking.budget_tokens` | [Request errors](#thinking-budget-exceeds-output-limit) |
70| `API Error: 400 due to tool use concurrency issues` | [Request errors](#tool-use-or-thinking-block-mismatch) |70| `API Error: 400 due to tool use concurrency issues` | [Request errors](#tool-use-or-thinking-block-mismatch) |
271 271
272這些錯誤表示與您的帳戶或方案相關的配額已達到。它們與[伺服器錯誤](#server-errors)不同,伺服器錯誤會影響所有人。272這些錯誤表示與您的帳戶或方案相關的配額已達到。它們與[伺服器錯誤](#server-errors)不同,伺服器錯誤會影響所有人。
273 273
274<h3 id="you’ve-hit-your-session-limit">274<h3 id="youve-hit-your-session-limit">
275 您已達到工作階段限制275 您已達到工作階段限制
276</h3>276</h3>
277 277
312 312
313* 執行 `/model` 並選擇不帶 `[1m]` 後綴的變體以回退到標準上下文視窗313* 執行 `/model` 並選擇不帶 `[1m]` 後綴的變體以回退到標準上下文視窗
314* 執行 `/usage-credits` 以在 Pro 和 Max 上開啟 1M 變體的計量計費,或在 Team 和 Enterprise 上向您的管理員請求314* 執行 `/usage-credits` 以在 Pro 和 Max 上開啟 1M 變體的計量計費,或在 Team 和 Enterprise 上向您的管理員請求
315* 如果 `/model` 後錯誤仍然存在,1M 模型 ID 可能在其他地方設定。請參閱[選定的模型有問題](#there%E2%80%99s-an-issue-with-the-selected-model)以按優先順序檢查配置位置。315* 如果 `/model` 後錯誤仍然存在,1M 模型 ID 可能在其他地方設定。請參閱[選定的模型有問題](#theres-an-issue-with-the-selected-model)以按優先順序檢查配置位置。
316* 若要從模型選擇器中完全移除 1M 變體,請設定 [`CLAUDE_CODE_DISABLE_1M_CONTEXT=1`](/zh-TW/env-vars)316* 若要從模型選擇器中完全移除 1M 變體,請設定 [`CLAUDE_CODE_DISABLE_1M_CONTEXT=1`](/zh-TW/env-vars)
317 317
318<h3 id="server-is-temporarily-limiting-requests">318<h3 id="server-is-temporarily-limiting-requests">
491* 使用 Console API 金鑰而不是您的訂閱進行驗證。請參閱 [Claude Console 驗證](/zh-TW/authentication#claude-console-authentication)以進行設定。491* 使用 Console API 金鑰而不是您的訂閱進行驗證。請參閱 [Claude Console 驗證](/zh-TW/authentication#claude-console-authentication)以進行設定。
492* 如果您是管理員且看不到啟用存取的選項,請聯絡 [Anthropic 支援](https://support.claude.com)492* 如果您是管理員且看不到啟用存取的選項,請聯絡 [Anthropic 支援](https://support.claude.com)
493 493
494<h3 id="routines-are-disabled-by-your-organization’s-policy">494<h3 id="routines-are-disabled-by-your-organizations-policy">
495 您的組織政策已停用例行工作495 您的組織政策已停用例行工作
496</h3>496</h3>
497 497
687 687
688請參閱[網路存取](/zh-TW/claude-code-on-the-web#network-access)以取得存取層級和預設允許清單。本機 CLI 工作階段不受此政策影響。688請參閱[網路存取](/zh-TW/claude-code-on-the-web#network-access)以取得存取層級和預設允許清單。本機 CLI 工作階段不受此政策影響。
689 689
690<h3 id="couldn’t-reconnect-to-your-remote-control-session">690<h3 id="couldnt-reconnect-to-your-remote-control-session">
691 無法重新連線到您的遠端控制工作階段691 無法重新連線到您的遠端控制工作階段
692</h3>692</h3>
693 693
841* 配置您的閘道以轉發 `anthropic-beta` 標頭。請參閱[功能傳遞](/zh-TW/llm-gateway-protocol#feature-pass-through)以了解閘道必須轉發的內容。841* 配置您的閘道以轉發 `anthropic-beta` 標頭。請參閱[功能傳遞](/zh-TW/llm-gateway-protocol#feature-pass-through)以了解閘道必須轉發的內容。
842* 作為備選方案,在啟動前設定 [`CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1`](/zh-TW/env-vars)。這會停用需要測試版標頭的功能,以便請求通過無法轉發它的閘道成功。842* 作為備選方案,在啟動前設定 [`CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1`](/zh-TW/env-vars)。這會停用需要測試版標頭的功能,以便請求通過無法轉發它的閘道成功。
843 843
844<h3 id="there’s-an-issue-with-the-selected-model">844<h3 id="theres-an-issue-with-the-selected-model">
845 選定的模型有問題845 選定的模型有問題
846</h3>846</h3>
847 847
864 模型不是公認的模型 ID864 模型不是公認的模型 ID
865</h3>865</h3>
866 866
867您傳遞給模型切換的模型字串不是模型別名、此 Claude Code 版本知道的模型 ID,也不是以 `claude-` 開頭的 ID。常見原因是 ID 中的拼寫錯誤、顯示名稱(例如 `Sonnet 5`,其中需要 ID `claude-sonnet-5`),或只有較新 Claude Code 版本識別的別名。Claude Code 立即拒絕切換。在 v2.1.200 之前,Claude Code 會儲存字串並在下一個請求時失敗,出現[選定的模型有問題](#there%E2%80%99s-an-issue-with-the-selected-model)。867您傳遞給模型切換的模型字串不是模型別名、此 Claude Code 版本知道的模型 ID,也不是以 `claude-` 開頭的 ID。常見原因是 ID 中的拼寫錯誤、顯示名稱(例如 `Sonnet 5`,其中需要 ID `claude-sonnet-5`),或只有較新 Claude Code 版本識別的別名。Claude Code 立即拒絕切換。在 v2.1.200 之前,Claude Code 會儲存字串並在下一個請求時失敗,出現[選定的模型有問題](#theres-an-issue-with-the-selected-model)。
868 868
869```text theme={null}869```text theme={null}
870Model "claud-sonnet-5" is not a recognized model id. Did you mean 'claude-sonnet-5'?870Model "claud-sonnet-5" is not a recognized model id. Did you mean 'claude-sonnet-5'?
878 878
879* 執行不帶引數的 `/model` 以開啟選擇器並從您帳戶可用的模型中選擇,然後傳遞那裡顯示的別名或 ID879* 執行不帶引數的 `/model` 以開啟選擇器並從您帳戶可用的模型中選擇,然後傳遞那裡顯示的別名或 ID
880* 如果您使用了較新 Claude Code 版本支援的別名,請執行 `claude update`。以 `claude-` 開頭的完整 ID 即使模型比您的 Claude Code 版本更新,也會通過此檢查,因此不需要升級。880* 如果您使用了較新 Claude Code 版本支援的別名,請執行 `claude update`。以 `claude-` 開頭的完整 ID 即使模型比您的 Claude Code 版本更新,也會通過此檢查,因此不需要升級。
881* v2.1.200 之前儲存的模型不會被此檢查修復。如果過時的值一直出現,請從[選定的模型有問題](#there%E2%80%99s-an-issue-with-the-selected-model)下列出的位置移除它。881* v2.1.200 之前儲存的模型不會被此檢查修復。如果過時的值一直出現,請從[選定的模型有問題](#theres-an-issue-with-the-selected-model)下列出的位置移除它。
882* 檢查僅在 Anthropic API 上執行。在 Amazon Bedrock、Google Cloud 的 Agent Platform、Microsoft Foundry、[AWS 上的 Claude Platform](/zh-TW/claude-platform-on-aws) 和 [LLM 閘道](/zh-TW/llm-gateway)後面或自訂 `ANTHROPIC_BASE_URL`,您的提供者或閘道定義模型名稱,因此 Claude Code 接受任何字串並將其傳遞。882* 檢查僅在 Anthropic API 上執行。在 Amazon Bedrock、Google Cloud 的 Agent Platform、Microsoft Foundry、[AWS 上的 Claude Platform](/zh-TW/claude-platform-on-aws) 和 [LLM 閘道](/zh-TW/llm-gateway)後面或自訂 `ANTHROPIC_BASE_URL`,您的提供者或閘道定義模型名稱,因此 Claude Code 接受任何字串並將其傳遞。
883 883
884<h3 id="claude-opus-is-not-available-with-the-claude-pro-plan">884<h3 id="claude-opus-is-not-available-with-the-claude-pro-plan">
897* 如果您最近升級了方案但仍然看到此訊息,請執行 `/logout` 然後 `/login`。儲存的令牌反映您登入時的方案,因此在現有工作階段中在網路上升級不會生效,直到您重新驗證。897* 如果您最近升級了方案但仍然看到此訊息,請執行 `/logout` 然後 `/login`。儲存的令牌反映您登入時的方案,因此在現有工作階段中在網路上升級不會生效,直到您重新驗證。
898* 請參閱 [claude.com/pricing](https://claude.com/pricing) 以了解每個方案包括哪些模型898* 請參閱 [claude.com/pricing](https://claude.com/pricing) 以了解每個方案包括哪些模型
899 899
900<h3 id="model-is-restricted-by-your-organization’s-settings">900<h3 id="model-is-restricted-by-your-organizations-settings">
901 模型受您組織的設定限制901 模型受您組織的設定限制
902</h3>902</h3>
903 903