Error reference changederrors
Nearest release: v2.1.285, published 2 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 29 Sep 2026 20:16 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 29 Sep 2026 20:37 UTC.
Upstream edited
Recorded here
Lines+14added
Lines−4removed
From line
2,280
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits193to this page, all time
The whole hunk
from line 2280, old and new numbered
/
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 2280
22802280API Error: 400 Claude Code 2.1.240 is older than the minimum version required by your organization's policy. Run 'claude update', or update the Claude desktop app, to continue.
22812281```
22822282
2283The version the API checks is the one reported by the Claude Code binary that made the request.
2284
22832285**What to do:**
22842286
2285* Run `claude update`, or update the Claude desktop app, then start a new session
2286* For the per-model wording, you can keep working in the current session by switching to another model with `/model`
2287Update that binary, then start a new session. Where the binary came from decides how, except in a [self-hosted environment](/docs/en/self-hosted-environments-deploy#pin-the-version):
2288
2289| The binary that made the request | How to update it |
2290| :- | :- |
2291| A Claude Code you installed | Run `claude update` |
2292| The Claude desktop app | Update the app |
2293| The binary the [VS Code extension](/docs/en/vs-code) bundles | Update the extension |
2294| The binary an Agent SDK package bundles | [Upgrade the SDK package](/docs/en/agent-sdk/hosting#runtime-dependencies), then restart your application. In a [compiled single-file executable](/docs/en/agent-sdk/typescript#compile-to-a-single-executable), rebuild it |
2295
2296* For the per-model wording, you can keep working in the current session by switching to another model: run `/model` in the CLI, call [`setModel()`](/docs/en/agent-sdk/typescript#query-object) on the TypeScript SDK's `Query` object in streaming input mode, or call [`set_model()`](/docs/en/agent-sdk/python#claudesdkclient) on the Python SDK's `ClaudeSDKClient`
22872297* For the organization-policy wording, update before you continue
22882298
22892299<h3 id="model-is-restricted-by-your-organizations-settings">
from line 2833
28232833
28242834### Could not read Claude Code config
28252835
2826You ran [`claude import`](/docs/en/cli-reference#cli-commands) while Claude Code couldn't parse `~/.claude.json`, the file where it stores your login and per-project state. The subcommand reads that file to check availability but doesn't show the recovery dialog the interactive session shows, so it exits with code 1. Before v2.1.222, `claude import` with an unreadable config file started an interactive session, whose recovery dialog handled the file.
2827
2828```text theme={null}
2829Could not read Claude Code config — run `claude` with no arguments to recover it.
2830```
2831
2832**What to do:**
2833
2834* Run `claude` with no arguments. Claude Code detects the invalid file and offers to reset it. Then run `claude import` again.
2835* To keep manual edits you've made, fix the JSON syntax in `~/.claude.json` in an editor instead, then rerun `claude import`
2836
2837### Could not import a server from Claude Desktop
2838
2839Claude Code couldn't add one of the servers you selected in `claude mcp add-from-claude-desktop`. The command still imports the other selected servers and prints one line per server it couldn't add. Before v2.1.205, the first server that failed stopped the import.
2840
2841```text theme={null}
2842Could not import my server: Invalid name my server. Names can only contain let
2836You ran [`claude import`](/docs/en/cli-reference#cli-commands) while Claude Code couldn't parse `~/.claude.json`, the file where it stores your login and per-project state. The subcommand reads that file to check availability but doesn't show the recovery dialog the interactive session
No line in this hunk matches that.