Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Error reference changederrors

Nearest release: v2.1.283, published 10 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 26 Sep 2026 05:19 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 26 Sep 2026 05:37 UTC.

Upstream edited
Recorded here
Lines+208added
Lines−16removed
From line 18 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits110to this page, all time

The whole hunk

from line 18, old and new numbered
/
lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 18
1818| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------- |
1919| `API Error: 500 Internal server error` | [Server errors](#api-error-500-internal-server-error) |
2020| `API Error: Repeated 529 Overloaded errors` | [Server errors](#api-error-repeated-529-overloaded-errors) |
21| `Opus is experiencing high load` / `Fable is experiencing high load` | [Server errors](#api-error-repeated-529-overloaded-errors) |
2122| `Request timed out` | [Server errors](#request-timed-out), or [Network](#unable-to-connect-to-api) if the message mentions your internet connection |
2223| `API Error: No response from API` | [Server errors](#no-response-from-api) |
2324| `Server error mid-response. The response above may be incomplete.` | [Server errors](#the-response-above-may-be-incomplete) |
from line 46
4546| `Could not update your spend limit` | [Usage limits](#could-not-update-your-spend-limit) |
4647| `spend limit reached` / `spend limit unavailable` | [Usage limits](#spend-limit-reached) |
4748| `Not logged in · Please run /login` | [Authentication](#not-logged-in) |
49| `Couldn't save your login` | [Authentication](#couldnt-save-your-login) |
50| `Authentication required · Sign in again to continue` | [Authentication](#not-logged-in) |
4851| `Could not resolve authentication method` | [Authentication](#could-not-resolve-authentication-method) |
4952| `Invalid API key` | [Authentication](#invalid-api-key) |
5053| `Your apiKeyHelper script is failing` | [Authentication](#your-apikeyhelper-script-is-failing) |
from line 77
7477| `Not signed in to the Cloud gateway — run /login.` | [Authentication](#administrator-policy-requires-a-cloud-gateway-sign-in) |
7578| `Administrator policy requires a Cloud gateway sign-in on this machine` | [Authentication](#administrator-policy-requires-a-cloud-gateway-sign-in) |
7679| `Failed to authenticate: OAuth session expired and could not be refreshed` | [Authentication](#login-expired) |
80| `Could not refresh your login because another Claude Code process is refreshing it` | [Authentication](#could-not-refresh-your-login) |
81| `Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh` | [Authentication](#could-not-refresh-your-login) |
7782| `Your account is on hold and can't use Claude Code. View details or appeal: https://claude.ai/restricted` | [Authentication](#your-account-is-on-hold) |
7883| `Your account is on hold and can't sign in to Claude Code. View details or appeal: https://claude.ai/restricted` | [Authentication](#your-account-is-on-hold) |
7984| `Anthropic profile login expired · Re-authenticate your Anthropic profile` | [Authentication](#anthropic-profile-login-expired) |
from line 122
117122| `Couldn't reconnect to your Remote Control session` | [Network](#couldnt-reconnect-to-your-remote-control-session) |
118123| `N sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.` | [Network](#sessions-ended-while-this-machine-was-offline) |
119124| `Couldn't share the transcript.` | [Network](#couldnt-share-the-transcript) |
125| `Couldn't send feedback` | [Network](#couldnt-send-feedback) |
120126| `Prompt is too long` / `Input is too long for requested model` | [Request errors](#prompt-is-too-long) |
121127| `Prompt is too long · automatic compaction failed:` | [Request errors](#prompt-is-too-long) |
122128| `Prompt is too long · this conversation is a single exchange` / `A single-exchange conversation cannot be compacted` | [Request errors](#prompt-is-too-long) |
from line 142
136142| `PDF too large` / `PDF is password protected` | [Request errors](#pdf-errors) |
137143| `Extra inputs are not permitted` | [Request errors](#extra-inputs-are-not-permitted) |
138144| `API Error: 400 ... tools.N.custom.input_schema: JSON schema is invalid` / `Property keys should match pattern` | [Request errors](#tool-input-schema-is-invalid) |
145| `tool_use.name: String should have at most 200 characters` | [Request errors](#tool-use-name-over-200-characters) |
139146| `There's an issue with the selected model` | [Request errors](#theres-an-issue-with-the-selected-model) |
140147| `Model ... is not a recognized model id` | [Request errors](#model-is-not-a-recognized-model-id) |
141148| `Model ... not found` | [Request errors](#model-not-found) |
149| `API error: ... · model not changed` | [Request errors](#api-error-model-not-changed) |
142150| `Claude Opus is not available with the Claude Pro plan` | [Request errors](#claude-opus-is-not-available-with-the-claude-pro-plan) |
143151| `Claude Code ... does not support this model; version ... or newer is required` | [Request errors](#claude-code-does-not-support-this-model) |
144152| `Claude Code ... is older than the minimum version required by your organization's policy` | [Request errors](#claude-code-does-not-support-this-model) |
from line 161
153161| `API Error: 400 due to tool use concurrency issues` | [Request errors](#tool-use-or-thinking-block-mismatch) |
154162| `API Error: 400 orphaned tool_result in conversation history` | [Request errors](#tool-use-or-thinking-block-mismatch) |
155163| `API Error: 400 duplicate tool_use ID in conversation history` | [Request errors](#tool-use-or-thinking-block-mismatch) |
164| `Invalid data in redacted_thinking block` | [Request errors](#invalid-data-in-redacted-thinking-block) |
156165| `[Unsupported tool content removed]` | [Request errors](#unsupported-tool-content-removed) |
157166| `role 'system' must precede an 'assistant' message` | [Request errors](#role-system-must-precede-an-assistant-message) |
158167| `Invalid encrypted_content in search_result block` / `Invalid encrypted_index in text block` / `Failed to decrypt web search result content` | [Request errors](#invalid-encrypted-content-in-search-result-block) |
168| `Invalid encrypted_stdout in encrypted_code_execution_result block` | [Request errors](#invalid-encrypted-content-in-search-result-block) |
159169| `server_tool_use.name: Input should be` on every turn of a resumed session | [Request errors](#unsupported-tool-content-removed) |
160170| `<model> can't help with this. Start a new session to continue` | [Request errors](#usage-policy-refusal) |
161171| `Claude Code is unable to respond to this request, which appears to violate our Usage Policy` | [Request errors](#usage-policy-refusal) |
from line 217
207217| `Single sign-on authorization needed` | [Command-line errors](#single-sign-on-authorization-needed) |
208218| `Failed to resume the conversation` | [Command-line errors](#failed-to-resume-the-conversation) |
209219| `No conversation found with session ID: <session-id>` | [Command-line errors](#no-conversation-found-with-the-session-id) |
220| `Windows reported an error (EBADF) when Claude Code read this session's transcript file` | [Command-line errors](#windows-reported-an-error-ebadf) |
210221| `Cannot switch renderers in this session` | [Command-line errors](#cannot-switch-renderers-in-this-session) |
211222| `Cannot switch renderers while work is running in the background` | [Command-line errors](#cannot-switch-renderers-in-this-session) |
212223| `Couldn't open Claude Desktop` | [Command-line errors](#couldnt-open-claude-desktop) |
from line 244
233244| `Plugin "<name>@synced" is required by your organization and can't be disabled here` | [Plugin errors](#plugin-is-required-by-your-organization) |
234245| `would be spawned with zero tools — refusing` | [Tool errors](#agent-would-be-spawned-with-zero-tools) |
235246| `File is covered by a Read deny rule in your permission settings` | [Tool errors](#file-is-covered-by-a-read-deny-rule) |
247| `cannot contain null bytes (\0)` | [Tool errors](#path-cannot-contain-null-bytes) |
248| `Path contains null bytes` | [Tool errors](#path-cannot-contain-null-bytes) |
236249| `subagent_type is required: the general-purpose agent is not available in this session` | [Tool errors](#subagent-type-is-required) |
237250| `Error: this write left the memory index at MEMORY.md at ..., over its ... read limit` | [Tool errors](#memory-index-is-over-its-read-limit) |
238251| `pkill: refusing to run` | [Tool errors](#pkill-pattern-matches-the-claude-code-process) |
from line 399
386399 
387400The trailing sentence names where to check service health and varies by provider. Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry configurations name that provider's service status. A custom `ANTHROPIC_BASE_URL` names the gateway host.
388401 
389This indicates an unexpected failure inside the API. It is not caused by your prompt, settings, or account.
402A 5xx from the API itself indicates an unexpected failure inside the API. It is not caused by your prompt, settings, or account.
390403 
404When a proxy, load balancer, or gateway answers with an HTML error page, the message shows the status code and the page's title, such as `API Error: 502 Bad Gateway`. For a page with no title, the message shows the status code and its standard name instead. Before v2.1.281, the status code was dropped when the page had a title, and the page's raw markup was printed when it had none.
405 
391406**What to do:**
392407 
393408* Check [status.claude.com](https://status.claude.com), or the provider status page named in the message, for active incidents
from line 425
410425 
411426* Check [status.claude.com](https://status.claude.com), or the provider status page named in the message, for capacity notices
412427* Try again in a few minutes
413* Run `/model` and switch to a different model to keep working, since capacity is tracked per model. Claude Code prompts you to do this when one model is under particularly high load, for example `Opus is experiencing high load, please use /model to switch to Sonnet`.
428* Run `/model` and switch to a different model to keep working, since capacity is tracked per model. Claude Code prompts you to do this when one model is under particularly high load, for example `Opus is experiencing high load, please use /model to switch to Sonnet`. On Fable models the message names Fable.
414429 
430 In a session the Claude Desktop app runs, such as the Code tab or Cowork, the message reads `Opus is experiencing high load. Switch to Sonnet.` and you switch models with the app's model picker.
431 
415432### Request timed out
416433 
417434The API didn't respond before the connection deadline.
from line 672
655672API Error: Usage credits required for 1M context · run /usage-credits to turn them on (they take effect after you restart Claude Code), or /model to switch to standard context
656673```
657674 
675In a session the Claude Desktop app runs, the hint names no commands: it points at the claude.ai usage settings page, or on Team and Enterprise plans says to turn on usage credits at claude.ai/admin-settings/usage or to ask your admin.
676 
658677This is an entitlement check, not a quota exhaustion. It fires even when your session and weekly allowances have capacity remaining. See [Extended context](/docs/en/model-config#extended-context) for which plans include 1M context directly and which require usage credits. Claude Code runs this check when you pick the model with `/model`, and only on a direct connection to the Anthropic API; if you point `ANTHROPIC_BASE_URL` at an [LLM gateway](/docs/en/llm-gateway), `/model` allows the `[1m]` selection and the gateway decides whether the request succeeds.
659678 
660679When this error appears mid-conversation because the context grew past 200K tokens, Claude Code automatically compacts the conversation back under the standard context limit and keeps the session at that limit afterward, so no action is needed. On versions before v2.1.172, the error repeated on every subsequent request including `/compact`; run `/clear` on those versions to recover. The steps below apply when you explicitly selected a `[1m]` model.
from line 733
714733 
715734The trailing sentence names where to check service health and varies by provider. Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry configurations name that provider's service status instead of the Anthropic status page. A custom `ANTHROPIC_BASE_URL` names the gateway host.
716735 
736When a proxy, load balancer, or gateway between Claude Code and the API answers with its own HTML 429 page, the text after the `·` is that page's title when it has one, such as `Too Many Requests`. Before v2.1.281, the whole page's markup was printed after the `·`.
737 
717738**What to do:**
718739 
719740* Run `/status` and confirm the active credential is the one you expect. A stray `ANTHROPIC_API_KEY` in your environment can route requests through a low-tier key instead of your subscription.
from line 833
812833Not logged in · Please run /login
813834```
814835 
836In a session the Claude Desktop app runs, such as the Code tab or Cowork, the message reads `Authentication required · Sign in again to continue`, and you sign in again from the app.
837 
815838**What to do:**
816839 
817840* Run `/login` to authenticate with your Claude subscription or Console account
from line 969
946969Your organization has disabled API key authentication · Unset ANTHROPIC_API_KEY to use your claude.ai account instead
947970Your organization has disabled API key authentication · Unset ANTHROPIC_API_KEY and run /login to sign in with your claude.ai account
948971Your organization has disabled API key authentication · Unset the apiKeyHelper setting and run /login to sign in with your claude.ai account
972Your organization has disabled API key authentication · Sign in again with your claude.ai account
949973```
950974 
975The last form appears in a session the Claude Desktop app runs, such as the Code tab or Cowork, where you sign in again from the app.
976 
951977Environment variables and `apiKeyHelper` take precedence over `/login`, so running `/login` alone doesn't help while either is still supplying a key. See [Authentication precedence](/docs/en/authentication#authentication-precedence).
952978 
953979**What to do:**
from line 1180
11541180* In non-interactive mode, run `claude` in the same environment, complete `/login`, then rerun your command. For automation that can't sign in interactively, authenticate with `ANTHROPIC_API_KEY` or [generate a long-lived token with `claude setup-token`](/docs/en/authentication#generate-a-long-lived-token).
11551181* If signing in keeps failing, see [Login and authentication](/docs/en/troubleshoot-install#login-and-authentication)
11561182 
1183<h3 id="could-not-refresh-your-login">
1184 Could not refresh your login because another Claude Code process is refreshing it
1185</h3>
1186 
1187This message doesn't mean your login was rejected. Your saved claude.ai login had expired and needed renewing. Another Claude Code process on the same machine held the shared refresh lock, or exited and left it behind, and the refresh made no progress while this session waited. Claude Code stops the request before sending it:
1188 
1189```text theme={null}
1190Could not refresh your login because another Claude Code process is refreshing it (or exited mid-refresh) · Try again in a minute; if it keeps happening, close other Claude Code windows or sign in again with /login
1191```
1192 
1193In [non-interactive mode](/docs/en/headless) (`-p`) and the [Agent SDK](/docs/en/agent-sdk/overview), the message reads as follows, and the structured error code is `server_error`:
1194 
1195```text theme={null}
1196Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh. This is usually transient; retry in a minute, and if it persists close other Claude Code processes or sign in again
1197```
1198 
1199Sessions authenticated with an API key, [`CLAUDE_CODE_OAUTH_TOKEN`](/docs/en/env-vars), or a third-party provider don't use the saved login and never see this message.
1200 
1201**What to do:**
1202 
1203* Try again in a minute. If another process completes the refresh first, this session uses the renewed login.
1204* If the message keeps returning, close other Claude Code windows and processes, then retry.
1205* If it returns with no other Claude Code process running, run `/login`. Signing in again doesn't wait on the refresh lock.
1206 
1207<h3 id="couldnt-save-your-login">
1208 Couldn't save your login
1209</h3>
1210 
1211You signed in with claude.ai, but Claude Code couldn't save the login to its credential store, so the login didn't complete. On macOS this can happen when the login keychain locks, for example on sleep or idle, after Claude Code has already read or saved credentials in it during the same session.
1212 
1213```text theme={null}
1214Couldn't save your login. If your Mac's keychain is locked, unlock it and log in again.
1215Couldn't save your login. Try logging in again.
1216```
1217 
1218The first form appears on macOS and the second everywhere else. A transient credential-store failure, such as a timeout or an unreadable store, produces the same message.
1219 
1220**What to do:**
1221 
1222* On macOS, unlock the login keychain, then run `/login` again
1223* On other platforms, run `/login` again
1224* If the login still doesn't save, see [Not logged in or token expired](/docs/en/troubleshoot-install#not-logged-in-or-token-expired) for the keychain unlock command and other credential-storage recovery steps
1225 
11571226### Claude login not accepted
11581227 
11591228You tried to start a [cloud session](/docs/en/claude-code-on-the-web), and the server refused to create it with a 401: it didn't accept the Claude login this machine sent, usually because the login expired or was revoked.
from line 1796
17271796These steps change one of your own environments. An [organization-shared environment](/docs/en/cloud-environments#organization-shared-environments) opens read-only in the selector, so ask an Owner to change its network access from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings).
17281797 
17291798* Open the routine for editing, or start a cloud session. Select the cloud icon showing your environment's name, such as **Default**, to open the selector. Hover over your environment and click the settings icon.
1730* In the **Update cloud environment** dialog, change **Network access** from **Trusted** to **Custom**, then add the blocked domain to **Allowed domains**. Enter one domain per line. Check **Also include default list of common package managers** to keep the [default allowlist](/docs/en/cloud-environments#default-allowed-domains) alongside your custom domains. Select **Full** instead if you want unrestricted access.
1731* Click **Save changes**. The next run uses the updated allowlist.
1732 
1733See [Network access](/docs/en/cloud-environments#network-access) for access levels and the default allowlist. Local CLI sessions are not affected by this policy.
1734 
1735<h3 id="the-proxy-refused-the-connection">
1736 The proxy refused the connection
1737</h3>
1738 
1739You see this message when Claude reads an [artifact](/docs/en/artifacts) through the proxy you set in `HTTPS_PROXY` or a related [proxy variable](/docs/en/network-config#environment-variables). Artifact content comes from `*.frame.claudeusercontent.com`, so Claude Code first sends the proxy a `CONNECT` request asking it to open a tunnel to that host. When the proxy refuses, nothing reaches the host, and the message carries the proxy's HTTP status:
1740 
1741```text theme={null}
1742artifact content fetch failed (proxy refused the connection: HTTP 407)
1743artifact content fetch failed (proxy refused the connection: HTTP 403)
1744the proxy refused the connection to the artifact's content host (HTTP 502)
1745```
1746 
1747The status is the proxy's answer to the `CONNECT`. The host never answered, so each status points at a different fix:
1748 
1749* `HTTP 407`: the proxy requires credentials it didn't get. Put them in the proxy URL, as [Basic authentication](/docs/en/network-config#basic-authentication) shows.
1750* `HTTP 403`: the proxy refuses to tunnel to `*.frame.claudeusercontent.com`. Ask whoever runs the proxy to allow that host, which [Network access requirements](/docs/en/network-config#network-access-requirements) lists.
1751* Any other status, such as `HTTP 502`: the proxy didn't open the tunnel for its own reason, such as failing to reach the host. Look the status up in the proxy's logs.
1752* `unreadable reply` in place of a status: whatever is at the proxy address didn't answer with an HTTP status line. Check that the address is an HTTP proxy.
1753 
1754**What to do:**
1755 
1756* Check the address and credentials in the proxy variable, as [Proxy configuration](/docs/en/network-config#proxy-configuration) describes, then run `curl -x http://proxy.example.com:8080 -I https://api.anthropic.com` from the shell you start Claude Code in, using your own proxy URL. On Windows PowerShell, run `curl.exe`. If this probe fails the same way, fix the proxy setup first. If it succeeds, the refusal is specific to the artifact host.
1757* If your network lets Claude Code reach the artifact host directly, add `.frame.claudeusercontent.com` to [`NO_PROXY`](/docs/en/network-config#environment-variables). Keep the entry that narrow: a broader `.claudeusercontent.com` entry also bypasses the proxy for `bridge.claudeusercontent.com`, which organizations with [IP allowlisting](/docs/en/network-config#organization-ip-allowlists-and-proxy-egress) need to keep on the proxy.
1758 
1759Before v2.1.238, Claude Code reported a refused tunnel as a generic network error.
1760 
1761<h3 id="the-cloud-environments-service-returned-an-empty-or-unexpected-response">
1762 The cloud environments service returned an empty or unexpected response
1763</h3>
1764 
1765Claude Code requests your [cloud environments](/docs/en/cloud-environments) list at several points, such as when you create a cloud session from the CLI or run [`/remote-env`](/docs/en/cloud-environments#select-an-environment-from-the-cli). When it can't read the server's answer, it shows one of these messages:
1766 
1767```text theme={null}
1768The cloud environments service returned an empty response (HTTP 200 with no body). This is usually temporary — try again in a moment.
1769The cloud environments service returned a response in an unexpected format (HTTP 200 with a non-JSON body). This is usually temporary — try again in a moment.
1770The 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.
1771```
1772 
1773The server accepted the request but answered with a body that isn't the environments list: empty, not JSON, or JSON without the list. This usually accompanies a service-side disruption and clears on its own. Depending on the surface that requested the list, Claude Code may add a prefix, such as `couldn't list environments:` in the `/remote-env` dialog.
1774 
1775**What to do:**
1776 
1777* Retry the action. Claude Code requests the list again each time
1778* If the message keeps appearing, check [status.claude.com](https://status.claude.com) for active incidents
1779 
1780Before v2.1.236, Claude Code showed a raw JavaScript TypeError instead of these messages.
1781 
1782<h3 id="couldnt-reconnect-to-your-remote-control-session">
1783 Couldn't reconnect to your Remote Control session
1784</h3>
1785 
1786```text theme={null}
1787Couldn't reconnect to your Remote Control session. Retry, or start a fresh session without --resume.
1788```
1789 
1790Resuming with `claude --resume` or `claude --continue` reconnects to the [Remote Control](/docs/en/remote-control) session recorded in that conversation. This message means the reconnection failed for a reason that may be temporary, such as a network interruption or a server error, so Claude Code can't confirm whether the remote session still exists. Your local session keeps running without Remote Control.
1791 
1792**What to do:**
1793 
1794* Run `/remote-control` to retry the connection
1795* Start a new session with `claude --remote-control` to create a new Remote Control session
1796* For other Remote Control startup messages, see [Troubleshoot Remote Control](/docs/en/remote-control#troubleshooting)
1797 
1798If the server reports instead that the previous session is gone, you don't see this message. Claude Code starts a new session in its place or shows [`Previous session is unavailable — run /remote-control to start a new one`](/docs/en/remote-control#previous-session-is-unavailable).
1799 
1800<h3 id="sessions-ended-while-this-machine-was-offline">
1801 Sessions ended while this machine was offline
1802</h3>
1803 
1804Claude Code shows this message in the terminal running [`claude remote-control`](/docs/en/remote-control#start-a-remote-control-session) after your machine was offline long enough that the server cleaned up the Remote Control environment your machine was serving. The sessions in that environment ended, and you can't resume them. The count is the number of sessions that ended.
1805 
1806```text theme={null}
18072 sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.
1808```
1809 
1810**What to do:**
1811 
1812* When Claude Code lists kept worktrees under this message, pick up any uncommitted work from them
1813* Run `claude remote-control` to start a fresh environment
1814 
1815<h3 id="couldnt-share-the-transcript">
1816 Couldn't share the transcript
1817</h3>
1818 
1819After you agree to share your session transcript from a survey prompt, such as the [session quality survey](/docs/en/data-usage#session-quality-surveys), Claude Code uploads it to Anthropic, or saves a local archive instead on third-party providers, on [Claude apps gateway](/docs/en/claude-apps-gateway) sessions, and when no Anthropic credentials are available. This message means the share didn't complete.
1820 
1821```text theme={null}
1822Couldn't share the transcript.
1823```
1824 
1825The upload must fit an 8 MiB limit. On a long session, Claude Code progressively drops parts of the share, the last request's model settings first, then the structured conversation and subagent transcripts, and shows this message only when no reduced version can be sent or a network or server error stops the upload. When Claude Code saves a local archive instead, the message means it couldn't write the archive.
1826 
1827**What to do:**
1828 
1829* Run `/feedback` to send the transcript with a description of what happened. See [Report an error](#report-an-error) if `/feedback` is unavailable in your environment
1830* If other requests are failing too, check your network connection and see [Unable to connect to API](#unable-to-connect-to-api)
1831 
1832## Request errors
1833 
1834These errors relate to the content of your request. Most come back from the API after it rejected the request; a few are produced locally by Claude Code before any request is sent.
1835 
1836### Prompt is too long
1837 
1838The conversation plus attached files exceeds the model's context window.
1839 
1840```text theme={null}
1841Prompt is too long
1842```
1843 
1844In an interactive session, Claude Code shows this error as:
1845 
1846```text theme={null}
1847Context limit reached · /compact or /clear to continue
1848```
1849 
1850The line names only `/clear` when [`DISABLE_COMPACT`](/docs/en/env-vars) is set. Longer forms of the error, such as the compaction-failed form below, keep the `Prompt is too long ·` wording. In `-p` output and the transcript, the text stays `Prompt is too long`.
1851 
1852When you turned auto-compact off in your [user settings](/docs/en/settings-reference#autocompactenabled), the line also says so:
1853 
1854```text theme={null}
1855Context limit reached · /compact or /clear to continue · auto-compact is off · /config to turn it on
1856```
1857 
1858The **Auto-compact** toggle in `/config` writes `autoCompactEnabled` to user settings. The hint appears only when a `/config` change would take effect. For example, it doesn't appear when [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars) or [`DISABLE_COMPACT`](/docs/en/env-vars) turned auto-compact off. It also doesn't appear when a h
1799* In the **Update cloud environment** dialog, change **Network access** from **Trusted** to **Custom**, then add the blocked domain to **Allowed domains**. Ent
Feedback