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
HomeDocsSearch
Search the documentation

762 pages for error.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

agent-setup Claude Developer Platform · in the page managed-agents/agent-setup …model that doesn't support geographic inference pinning returns a 400 error; see [Model availability](https://platform.claude.com/docs/en/manage-claude/data-residency#model-availability) for the model… budgets Claude Developer Platform · in the page managed-agents/budgets …t to an existing session that doesn't have one is rejected with a 400 error. A budgeted session's cap can be [changed](https://platform.claude.com/docs/en/managed-agents/budgets#change-the-budget) or… dreams Claude Developer Platform · in the page managed-agents/dreams …e_read_input_tokens": 0, "cache_creation_input_tokens": 0 }, "error": null } ``` <Tip> If you only have session transcripts and no existing store, [create an empty memory store](https://pla… environments Claude Developer Platform · in the page managed-agents/environments …age_managers` to `true`; otherwise the request is rejected with a 400 error. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/environments \ -H "x-api-key… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …ssion.status_idle) break ;; session.error) printf '\n[Error: %s]\n' "$(jq -r '.error.message // "unknown"' <<<"$event_json")" break… files Claude Developer Platform · in the page managed-agents/files …le_id: file.id, }); if (resource.type !== "file") { throw new Error(`Unexpected resource type: ${resource.type}`); } console.log(resource.id); // "sesrsc_01ABC..." ``` ```csharp C#… github Claude Developer Platform · in the page managed-agents/github …ther forms, including SSH URLs, are rejected with an `invalid_request_error`. | | `authorization_token` | Required. The GitHub token used to clone the repository. It is not echoed in API responses… mcp-connector Claude Developer Platform · in the page managed-agents/mcp-connector …he session still starts and interaction remains possible. A [`session.error`](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) event is emitted with the `mcp_server_name` of th… memory Claude Developer Platform · in the page managed-agents/memory …s-2026-04-01` on a memory store request: sending both returns a `400` error. If your code sets beta headers explicitly, replace `managed-agents-2026-04-01` with `agent-memory-2026-07-22` on memory sto… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …t.agents` roster fails the create or update request with a validation error. A maximum of 20 unique agents can be listed in `multiagent.agents`, but the coordinator can call multiple copies of each ag… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …s the call as high-risk, the tool does not run. The agent receives an error tool result with the content `Permission to use {tool_name} has been denied.` and `is_error: true`. The session keeps runnin… reference Claude Developer Platform · in the page managed-agents/reference …platform emits; a user event that includes one is rejected with a 400 error. </Tab> <Tab title="Session events"> | Type | Description… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …deployment.id, ): print(run.created_at, run.session_id or run.error.type) ``` ```typescript TypeScript for await (const run of client.beta.deploymentRuns.list({ deployment_id: deplo… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …y on SIGTERM or SIGINT: it cancels any in-flight tool call, posts its error result, and releases the work item before stopping. **Sandbox per session** If you need stronger isolation… session-operations Claude Developer Platform · in the page managed-agents/session-operations …| | `rescheduling` | Transient error occurred, retrying automatically.… sessions Claude Developer Platform · in the page managed-agents/sessions …needs a model, so `model: null` returns a 400 `agent_model_required` error. * Clearing `tools` returns a 400 error when the session's effective `skills` is non-empty, because skills require the `re… tools Claude Developer Platform · in the page managed-agents/tools …a `web_fetch` call for a URL that its lists do not permit returns an error result to the agent (`is_error: true` on the `agent.tool_result` event, with content that names the error code `url_not_allo… vaults Claude Developer Platform · in the page managed-agents/vaults …so a create or update that would disable both locations returns a 400 error. Passing an explicit `null` for the `injection_location` object or for either field also returns a 400 error ("omit the fiel… webhooks Claude Developer Platform · in the page managed-agents/webhooks …| | `session.status_rescheduled` | A transient error occurred and the session is retrying automatically.… Or, for the Project Glasswing model with the same capabilities: Claude Developer Platform · in the page models/fable-5-1/migration-guide …inking (`thinking: {type: "enabled", budget_tokens: N}`) return a 400 error. * **Prefill:** Prefilling the assistant message returns a 400 error, unchanged from Claude Fable 5. Use system prompt instr… overview Claude Developer Platform · in the page models/fable-5-1/overview …aude Fable 5, three changes are breaking: [forced tool use returns an error](https://platform.claude.com/docs/en/models/fable-5-1/whats-new-fable-5-1#forced-tool-use-is-not-supported), [earlier models… whats-new-fable-5-1 Claude Developer Platform · in the page models/fable-5-1/whats-new-fable-5-1 …aude Fable 5, three changes are breaking: [forced tool use returns an error](https://platform.claude.com/docs/en/models/fable-5-1/whats-new-fable-5-1#forced-tool-use-is-not-supported), [earlier models… introducing-claude-fable-5-and-claude-mythos-5 Claude Developer Platform · in the page models/fable-5/introducing-claude-fable-5-and-claude-mythos-5 …ns `stop_reason: "refusal"` as a successful HTTP 200 response, not an error. The response also reports which classifier declined the request. See [Refusals and fallback](https://platform.claude.com/do… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page models/fable-5/migration-guide …inking (`thinking: {type: "enabled", budget_tokens: N}`) return a 400 error. * **Prefill:** Prefilling the assistant message returns a 400 error. Use system prompt instructions instead. * **Context wi… From Haiku 3.5 Claude Developer Platform · in the page models/haiku-4-5/migration-guide …e only `temperature` OR `top_p`, not both. Setting both returns a 400 error on Claude Haiku 4.5. 2. **Update tool versions** <Warning> This is a breaking change when migrating from Claude 3.… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …earlier Opus models or Claude Sonnet 5: request settings that return errors, thinking blocks in every response, and a checklist for each starting model." --- <Note> This guide covers migrating [Me… overview Claude Developer Platform · in the page models/opus-5-5/overview …-new-opus-5-5#thinking-cant-be-disabled), [forced tool use returns an error](https://platform.claude.com/docs/en/models/opus-5-5/whats-new-opus-5-5#forced-tool-use-is-not-supported), [thinking blocks… whats-new-opus-5-5 Claude Developer Platform · in the page models/opus-5-5/whats-new-opus-5-5 …-new-opus-5-5#thinking-cant-be-disabled), [forced tool use returns an error](https://platform.claude.com/docs/en/models/opus-5-5/whats-new-opus-5-5#forced-tool-use-is-not-supported), [thinking blocks… Sonnet migration Claude Developer Platform · in the page models/sonnet-5/migration-guide …nking (`thinking: {type: "enabled", budget_tokens: N}`) returns a 400 error, so requests that ran without thinking can now return `thinking` blocks before the first `text` block and code that reads co… overview Claude Developer Platform · in the page models/sonnet-5/overview …hinking) is on by default, manual extended thinking now returns a 400 error (it was deprecated on Claude Sonnet 4.6), and setting sampling parameters (`temperature`, `top_p`, `top_k`) to non-default v… whats-new-sonnet-5 Claude Developer Platform · in the page models/sonnet-5/whats-new-sonnet-5 …hinking) is on by default, manual extended thinking now returns a 400 error (it was deprecated on Claude Sonnet 4.6), and setting sampling parameters (`temperature`, `top_p`, `top_k`) to non-default v… overview Claude Developer Platform · in the page release-notes/overview …": "disabled"}` and `thinking: {"type": "enabled", ...}` return a 400 error. Omit the `thinking` field and control thinking depth with the [effort parameter](https://platform.claude.com/docs/en/build-… claude-opus-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4 …e carefully before acknowledging the user, since users sometimes make errors themselves. Claude tailors its response format to suit the conversation topic. For example, Claude avoids using markdown o… claude-opus-4-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-1 …e carefully before acknowledging the user, since users sometimes make errors themselves. Claude tailors its response format to suit the conversation topic. For example, Claude avoids using markdown o… claude-sonnet-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-5 …providing general information about topics like weapons, drugs, sex, terrorism, abuse, profanity, and so on if that information would be available in an educational context, discussing legal but ethic… claude-sonnet-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4 …e carefully before acknowledging the user, since users sometimes make errors themselves. Claude tailors its response format to suit the conversation topic. For example, Claude avoids using markdown o… develop-tests Claude Developer Platform · in the page test-and-evaluate/develop-tests …s. * Edge case analysis: Percentage of edge cases handled without errors. **Qualitative scales:** * Likert scales: "Rate coherence from 1 (nonsensical) to 5 (perfectly logical)" * Ex… handle-streaming-refusals Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/handle-streaming-refusals …() break except Exception as e: print(f"Error: {e}") ``` ```typescript TypeScript const client = new Anthropic(); let messages: Anthropic.MessageParam[] = [];… increase-consistency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/increase-consistency …ks. Each subtask gets Claude's full attention, reducing inconsistency errors across scaled workflows. ## Keep Claude in character For role-based applications, maintaining consistent character requir… mitigate-jailbreaks Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks …} } ``` If `injection_suspected` is `true`, return an error or a stripped summary in the `tool_result` block instead of the raw content, and consider surfacing the attempt to the user.… Use Claude Code with a screen reader Claude Code CLI · in the page accessibility …t it is: your messages, Claude's replies and thinking, tool activity, errors and warnings, and prompts. The labels are also searchable, so you can jump between sections of the transcript by searching… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …s) | Turn off Anthropic-bound usage metrics, error reports, and surveys on every device… Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …print(f"Stopped: {message.subtype}") except Exception as error: # A single-shot query() raises after yielding an error result. If the # failure was an error result… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …age.type === "result" && message.subtype === "success" && !message.is_error) { console.log(message.result); } } ``` ```python Python theme={null} import asyncio from claude_agent… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …onal, so check that it isn't `None` before you read it. * Success and error results both carry it, though the final result of a [session crash](#recover-totals-after-a-session-crash) may carry it zero… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …| | Control the error message Claude reads | Return `isError: true` to compose the message instead of surfacing the raw exception. See [Hand… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …ring to a checkpoint and trying a different approach * **Recover from errors** when the agent makes incorrect modifications <Warning> Only changes made through the Write, Edit, and NotebookEdit too… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …| Handle or log tool errors… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …sk hits the 20-turn limit instead, the result message's `subtype` is `error_max_turns` and the `query()` call raises an error after yielding it, so wrap the loop in a try block if the container needs…
Feedback