936 pages for error.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
errors
Claude Developer Platform · title
api/errors
compliance-errors
Claude Developer Platform · title
manage-claude/compliance-errors
Error reference
Claude Code CLI · title
errors
SEP-1303: Input Validation Errors as Tool Execution Errors
Model Context Protocol · title
seps/1303-input-validation-errors-as-tool-execution-errors
SEP-2164: Standardize Resource Not Found Error Code
Model Context Protocol · title
seps/2164-resource-not-found-error
model-deprecations
Claude Developer Platform · in the page
about-claude/model-deprecations
…docs/en/api/migration-2026-10-21#sampling-parameters) | Returns a 400 error. Earlier API versions return it when set to a non-default value on Claude 4.7 and later models and [Claude Mythos Preview](h…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/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…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…nt), a request that edits the system prompt or `tools` can get a [400 error](https://platform.claude.com/docs/en/api/errors#thinking-block-conversation-mismatch) even at such a break. Send those chang…
pricing
Claude Developer Platform · in the page
about-claude/pricing
…ing; requests that include the parameter on these models return a 400 error. For more information, see [Data residency](https://platform.claude.com/docs/en/manage-claude/data-residency). ### Fast mo…
content-moderation
Claude Developer Platform · in the page
about-claude/use-case-guides/content-moderation
…ock) => block.type === "text"); if (!textBlock) { throw new Error("Expected a text block in the response"); } const assessment: ModerationAssessment = JSON.parse(textBlock.text);…
customer-support-chat
Claude Developer Platform · in the page
about-claude/use-case-guides/customer-support-chat
…turn response except Exception as e: return {"error": str(e)} def process_user_input(self, user_input): self.session_state.messages.append({"role": "user", "co…
legal-summarization
Claude Developer Platform · in the page
about-claude/use-case-guides/legal-summarization
…var documentText string func getLLMText(pdfData []byte) (string, error) { reader, err := pdf.NewReader(bytes.NewReader(pdfData), int64(len(pdfData))) if err != nil { return "", err }…
ticket-routing
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…ontext.Context, ticketContents string) (reasoning, intent string, err error) { // Define the prompt for the classification task classificationPrompt := `You will be acting as a customer support…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…ipts, few or no parameters): Use when: * Operations are fragile and error-prone * Consistency is critical * A specific sequence must be followed Example: ````markdown ## Database migration Run ex…
claude-api-skill
Claude Developer Platform · in the page
agents-and-tools/agent-skills/claude-api-skill
…SDK documentation:** Installation, quick start, common patterns, and error handling for your project’s language * **Tool use guidance:** Language-specific examples and [conceptual foundations](https:…
enterprise
Claude Developer Platform · in the page
agents-and-tools/agent-skills/enterprise
…| Generated reports have formatting errors or missing data | ### Evaluation requirements Require Skill authors to submit evaluatio…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/overview
…xt window. Only its output (such as “Validation passed” or a specific error message) consumes tokens, which makes scripts far more efficient than having Claude generate equivalent code during the task…
mcp-connector
Claude Developer Platform · in the page
agents-and-tools/mcp-connector
…` doesn’t exist on the MCP server, a backend warning is logged but no error is returned (MCP servers might have dynamic tool availability). ## Response content types When Claude uses MCP tools, the…
Edit docker-compose.yaml: increment the integer in the setup service's
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/deploy-compose
…unnels/troubleshooting#setup-component-authentication-failures) if it errors. Retrieve your tunnel domain and export it for later steps: ```bash export TUNNEL_DOMAIN=$(sudo c…
deploy-helm
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/deploy-helm
…lm deletes the Job automatically. If `helm install` fails with a hook error, see [Setup component authentication failures](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/troubleshoot…
reference
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/reference
…| Logging verbosity: `debug`, `info`, `warn`, or `error`.…
security
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/security
…nents)’s primary SSRF defense. * **Monitor logs.** Alert on warnings, errors, and unusual traffic patterns from the tunnel stack. * **Rotate credentials.** Rotate the server certificate and tunnel tok…
troubleshooting
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/troubleshooting
…gs about UDP receive buffer sizes; this is a QUIC tuning hint, not an error. ## Certificate errors When Anthropic rejects the proxy’s certificate during inner TLS, the proxy logs `tls handshake fail…
advisor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/advisor-tool
…eaches this cap, further advisor calls return an `advisor_tool_result_error` with `error_code: "max_uses_exceeded"` and the executor continues without further advice. See [Cost control](https://platfo…
bash-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/bash-tool
…ocess.PIPE, stderr=subprocess.STDOUT, # interleave errors with output, in order start_new_session=True, # own process group: a timeout can kill every child…
browser-use-sdk
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-sdk
…ns. Enabling a member your class doesn’t implement is a configuration error, unless the class overrides `execute`. ### Add before and after hooks Override `execute` and call the parent’s `execute`.…
browser-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-tool
…l, or the next request is rejected. * If a call fails, return `is_error: true` with a text description for that block, then apply the halt rule in [Batch actions](https://platform.claude.com/docs/…
build-a-tool-using-agent
Claude Developer Platform · in the page
agents-and-tools/tool-use/build-a-tool-using-agent
…"title": tool_input["title"], } return {"error": f"Unknown tool: {name}"} # Keep the full conversation history in a list so each turn sees prior context. messages =…
code-execution-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/code-execution-tool
…e in its output. This is separate from the `execution_time_exceeded` [error code](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#errors), which the API returns when…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…se through the `computer_toolset_20260801` toolset. They return a 400 error for any computer use tool version they don't accept, such as `computer_20251124` on the Claude API. To move a `computer_2025…
define-tools
Claude Developer Platform · in the page
agents-and-tools/tool-use/define-tools
…according to the tool’s `input_schema`. Invalid examples return a 400 error. * **Not supported for server-side tools or client toolsets** - Input examples work on user-defined and Anthropic-schema cli…
fine-grained-tool-streaming
Claude Developer Platform · in the page
agents-and-tools/tool-use/fine-grained-tool-streaming
…arsed = json.loads(raw_input) except json.JSONDecodeError: # The accumulated string is not guaranteed to be valid JSON. # See "Handling in…
handle-tool-calls
Claude Developer Platform · in the page
agents-and-tools/tool-use/handle-tool-calls
…tion: Parse tool_use blocks, format tool_result responses, and handle errors with is_error. --- This page covers the tool-call lifecycle: reading `tool_use` blocks from Claude’s response, formatting…
how-tool-use-works
Claude Developer Platform · in the page
agents-and-tools/tool-use/how-tool-use-works
…act tool signatures, so it calls them more reliably and recovers from errors more gracefully than it would with a custom tool that does the same thing. The schema is the interface the model already ex…
memory-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/memory-tool
…mand if err := json.Unmarshal(raw, &cmd); err != nil { return "Error: invalid memory command" } switch cmd.Command { case "view": if content, ok := store[cmd.Path]; ok { lines…
overview
Claude Developer Platform · in the page
agents-and-tools/tool-use/overview
…ol-calls) covers each step in detail, including result formatting and error signaling; [Parallel tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/parallel-tool-use) covers respo…
parallel-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/parallel-tool-use
…an earlier call failed), still return a `tool_result` for it with `is_error: true` and a brief explanation. ```json { "type": "tool_result", "tool_use_id": "toolu_02", "is_error": true, "cont…
Process results programmatically
Claude Developer Platform · in the page
agents-and-tools/tool-use/programmatic-tool-calling
…the pending call times out after about 4 minutes and raises a `TimeoutError` inside the code. Return each tool result well before the `expires_at` timestamp on the paused response. See [Container expi…
server-tools
Claude Developer Platform · in the page
agents-and-tools/tool-use/server-tools
…e` block whose tool has not run yet, and the API returns a validation error if that tool is missing from the continuation. * **Keep the container:** If the response includes a `container`, as it does…
strict-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/strict-tool-use
…or omit required fields, breaking your functions and causing runtime errors. Strict tool use guarantees type-safe parameters: * Correctly typed function arguments every time * No need to validate a…
text-editor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/text-editor-tool
…ugging:** Have Claude identify and fix bugs in your code, from syntax errors to logic issues. * **Code refactoring:** Let Claude improve your code structure, readability, and performance through targe…
tool-reference
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-reference
…d from the tools Claude receives. If Claude still names it, return an error `tool_result`. Set `defer_loading` for each member, never on the entry, and give every enabled member the same value: under…
Log at info level
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-runner
…er description: Use the SDK's tool runner to handle the agentic loop, error wrapping, and type safety automatically. featureMetadata: status: beta supportedModels: - claude-fable-5-2 - cla…
tool-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-search-tool
…rch_tool_search_result` with an empty `tool_references` array, not an error. ## MCP integration If your tools come from MCP servers through the [MCP connector](https://platform.claude.com/docs/en/ag…
troubleshooting-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/troubleshooting-tool-use
…se/troubleshooting-tool-use description: Fix the most common tool-use errors with symptom-to-fix diagnostic tables. --- Symptom-to-fix tables for the most common tool-use errors. Each fix cross-refer…
web-fetch-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/web-fetch-tool
…API request that includes the tool fails with a 400 `invalid_request_error` that says web fetch is not enabled. With web fetch on, the admin can also set allowed or blocked domains for web fetch on t…
web-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/web-search-tool
…tool calling require this setting. Without it, the API returns a 400 error that tells you to set it. <Note> The web search tool (with and without dynamic filtering) is available on the Claude API,…
Beta
Claude Developer Platform · in the page
api/beta
…026-08-24"` - `"experimental-claude-tag-2026-10-21"` ### Beta API Error - `BetaAPIError object` - `type: "api_error"` The broad category of the error. default: api_error - `messag…
beta-headers
Claude Developer Platform · in the page
api/beta-headers
…-agents-2026-04-01`: sending both on the same request returns a `400` error. The SDK sends the correct header for each endpoint automatically. ### Version naming conventions Beta feature names typic…
Deployment Runs
Claude Developer Platform · in the page
api/beta/deployment_runs
…y a non-existent `deployment_id` returns 200 with empty data. - `has_error: optional boolean` Filter: true for runs with non-null `error`, false for runs with non-null `session_id`. Omit for all.…