393 pages for failure.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
customer-owned-storage
Claude Developer Platform · in the page
manage-claude/enterprise-frontier-safeguards/customer-owned-storage
…age instead. Tell your Anthropic account team as soon as you notice a failure, because Anthropic deletes data that hasn’t reached your bucket. On Claude Platform, it deletes that data about 72 hours a…
external-storage
Claude Developer Platform · in the page
manage-claude/enterprise-frontier-safeguards/external-storage
…ct your Anthropic account team. To find the reason for any other failure, either run the two read-only commands that the **Create in AWS** step shows below the deploy command, or open the stack’s…
external-storage-manage
Claude Developer Platform · in the page
manage-claude/enterprise-frontier-safeguards/external-storage-manage
…r bucket stops working. Don’t rely on these fields alone. To notice a failure, watch for new objects under `slab/` or `safeguards-data/slab/` while you send requests. </Where> </Where> ## If your b…
setup-claude-platform-on-aws
Claude Developer Platform · in the page
manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws
…n as you notice. Anthropic can’t write data to your bucket during the failure. About 1 day after that data was sent, Anthropic deletes whatever it hasn’t recovered. See [If your bucket stops working](…
inference-hooks
Claude Developer Platform · in the page
manage-claude/inference-hooks
…an error, or doesn’t respond within the timeout, your organization’s failure handling setting determines the outcome: block the request, or allow it to proceed without inspection. Sustained failures…
inference-hooks-configuration
Claude Developer Platform · in the page
manage-claude/inference-hooks-configuration
…ganization, connect your AI security server, and control enforcement, failure handling, and rollout. --- <Note> Inference hooks are available only to Claude Enterprise organizations. Configuring th…
inference-hooks-endpoint
Claude Developer Platform · in the page
manage-claude/inference-hooks-endpoint
…s `express.json()` at 100 kB, and a rejected body counts as a webhook failure, so under **Allow the request** failure handling an oversized prompt would reach the model uninspected. ### Source values…
credential-for-each-customer
Claude Developer Platform · in the page
manage-claude/oauth-apps/linked-billing/credential-for-each-customer
…`, so the samples call it over HTTP. They show the plain call with no failure handling: <CodeGroup exclude="shell:CLI"> ```bash cURL curl https://auth.claude.com/v1/oauth/token \ -H "content-…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…a limited number of times, after a timeout, a connection, TLS, or DNS failure, an invalid address, or a `408`, `429`, or `5xx` response. It doesn’t retry other failures. * **Timeouts:** For each reque…
organization-webhooks
Claude Developer Platform · in the page
manage-claude/organization-webhooks
…the members of your organization who can manage encryption keys. The failure email names workspaces that your KMS recently refused, but it might not list all of them. The event names the key in `dat…
Replace NODE_UID with the node's UID:
Claude Developer Platform · in the page
manage-claude/wif-providers/spiffe
…ll returns `no identity issued`, which is the most common verify-step failure. </Note> ```bash spire-agent api fetch jwt \ -audience https://api.anthropic.com \ -socketPath /run/spire/sockets/age…
wif-reference
Claude Developer Platform · in the page
manage-claude/wif-reference
…P addresses. Anthropic does not accept IP literals. | URL validation failures return `400 invalid_request_error` with the field name as a prefix on the error message (for example, `issuer_url: url mu…
dreams
Claude Developer Platform · in the page
managed-agents/dreams
…he output memory store is left as-is with whatever was written before failure. | | `canceled` | Dreaming run canceled. The output memory store is left as-is. | ### Watch the pipeline run Once a drea…
mcp-connector
Claude Developer Platform · in the page
managed-agents/mcp-connector
…cp_oauth` credential types. ### Handle connection and authentication failures Session creation does not validate MCP connectivity or credentials. It does check each declared server’s host against th…
migration
Claude Developer Platform · in the page
managed-agents/migration
…ps://platform.claude.com/docs/en/managed-agents/scheduled-deployments#failure-behavior) to the new agent version. | A request that sets a retired model on an agent or in a [session override](https://…
scheduled-deployments
Claude Developer Platform · in the page
managed-agents/scheduled-deployments
…ates a **deployment run** record, allowing you to track successes and failures independent of the session lifecycle. Successful deployments generate active sessions, and a successful deployment run c…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…Troubleshoot memory mounts The worker logs mount and background sync failures rather than reporting them to the session; only read-only refusals reach the agent, as tool errors (see [Read-only stores…
self-hosted-sandboxes-custom-tools
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-custom-tools
…$defs`:** Inline those schemas before you declare the tool. ### Tool failures surface as error tool results When the MCP server reports a tool error, the worker posts an error tool result the model…
self-hosted-sandboxes-operations
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-operations
…s and workers without losing work, and fix common self-hosted sandbox failures. featureMetadata: topic: title: Managed Agents url: https://platform.claude.com/docs/en/managed-agents/overview…
self-hosted-sandboxes-per-session
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-per-session
…Read queue depth, stop sessions and workers cleanly, and fix common failures. </Card> </CardGroup>
self-hosted-sandboxes-workers
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-workers
…Read queue depth, stop sessions and workers cleanly, and fix common failures. </Card> <Card title="Security model" icon="lock" href="https://platform.claude.com/docs/en/managed-agents/self-host…
kubernetes
Claude Developer Platform · in the page
managed-agents/self-hosted/kubernetes
…gine/docs/troubleshooting/known-issues#agentsandbox-v1alpha1-workload-failures) when a cluster upgrades to that version or later. 1. Turn on the add-on with `gcloud beta container clusters update <cl…
session-observability
Claude Developer Platform · in the page
managed-agents/session-observability
…ols the session’s agents are configured with, along with call counts, failures, and median duration. Select a tool to see its calls and jump to one in the transcript. | | **Resources** | Mounted [file…
vaults
Claude Developer Platform · in the page
managed-agents/vaults
…tial.refresh_failed` event is emitted. ### Diagnose an OAuth refresh failure To diagnose why a refresh failed, call `POST /v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate` (or `c…
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…such as an archived subagent or an archived environment. Recoverable failures, including rate limits, don’t pause the deployment. See [Failure behavior](https://platform.claude.com/docs/en/managed-ag…
workflow-runs
Claude Developer Platform · in the page
managed-agents/workflow-runs
…er agents keep working. If it fails again, the program can handle the failure or let it end the run. If the program handles a failure, the run can still end `completed`, so tell the agent that the ses…
migration-guide
Claude Developer Platform · in the page
models/fable-5-2/migration-guide
…production traffic, run the test in [Test your code for prefix check failures](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation#how-to-te…
overview
Claude Developer Platform · in the page
release-notes/overview
…allow or deny verdict before inference proceeds. Requests are signed, failure handling is configurable, and every denial is recorded in the compliance [Activity Feed](https://platform.claude.com/docs/…
Escalate hard decisions with the advisor tool
Claude Code CLI · in the page
advisor
…visor | Sonnet handles routine work and escalates planning, ambiguous failures, and completion checks to Opus | | Sonnet main + Fable advisor | Fable guidance at decision points without running Fable…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…then yields a [`UserMessage`](#message-types) with the output (three failures). 2. **Turn 2:** Claude calls `Read` on `auth.ts` and `auth.test.ts`. The SDK yields an `AssistantMessage` for each call…
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…ingle-shot query() throws after yielding an error result. If the // failure was an error result, it still carried total_cost_usd and the // branch above has already run; connection or process fail…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…tured-data). * `isError` (optional): set to `true` to signal a tool failure so Claude can react to it. See [Handle errors](#handle-errors). After defining a tool, wrap it in a server with [`createS…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…gle-shot query() throws after yielding an error result. If the // failure was an error result, sessionId and checkpointId were already // captured by the loop above; connection or process fail…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…execution result | Log file changes to an audit trail | | `PostToolUseFailure` | Yes | Yes | Tool execution failure | Handle or log tool errors | | `PostToolBatch` | No | Yes | A full batch of tool ca…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…put; it isn't a total-runtime deadline. | ## Troubleshoot deployment failures Use this section when an agent that works on your machine fails in a deployed service. Each item below names a failure a…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…ows `"connected"`. In the init message, don't treat `"pending"` as a failure on its own. It can mean any of these: * The server hasn't connected yet. See [how long Claude Code waits for it before th…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…how long each model request took * how many tokens were spent * where failures occurred The Agent SDK can export this data as OpenTelemetry traces, metrics, and log events to any backend that accepts…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…data: dict[str, Any] # the raw result message payload ``` To tell failures apart, check `data["stop_reason"]` first, then `terminal_reason`, then `subtype`. A declined response has `stop_reason` `…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…enabled, try: `"Write unit tests for utils.py, run them, and fix any failures"` Each of these snippets sets fields on the same options object. For more information, see [Configure your agent](https:…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…ingle-shot query() throws after yielding an error result. If the // failure was an error result, sessionId was already captured by the loop // above; connection or process failures yield no result…
Work with sessions
Claude Code CLI · in the page
agent-sdk/sessions
…-shot query() raises after yielding an error result. If the # failure was an error result, the loop above already captured session_id; # connection or process failures yield no result…
Get structured output from agents
Claude Code CLI · in the page
agent-sdk/structured-outputs
…g to fix validation errors. It can also happen without any validation failure: a [model fallback](https://code.claude.com/docs/en/model-config.md#automatic-model-fallback) can retract an already-compl…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…lyzing test output - Identifying failing tests - Suggesting fixes for failures""", # Bash access lets this subagent run test commands tools=["Bash", "Read", "Gr…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…e fails in a deployed service or container | [Troubleshoot deployment failures](https://code.claude.com/docs/en/agent-sdk/hosting.md#troubleshoot-deployment-failures) | | `Not logged in`, `Invalid API…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…shake. If the promise rejects, check the error for an untyped `startupFailureReason` property holding a [`startup_failure_reason`](#startup_failure_reason) value. `startupFailureReason` requires Agent…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…nd session. Pass a prompt such as `/bg run the test suite and fix any failures` to give one more instruction first. If Claude is responding when you run `/bg`, the response continues in the background…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…w. Claude Code treats the interrupted connection as an authentication failure. When a later request finds the credentials still expired, Claude Code re-runs `awsAuthRefresh`, which opens another tab.…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…xt wrap theme={null} Build a dashboard artifact of last week's deploy failures by service and keep it updated as you investigate. ``` The artifact stays private to you until you [share it](#share-an-…
Authentication
Claude Code CLI · in the page
authentication
…ly, check whether your credential script can be optimized. * **Helper failures**: when the script exits with an error, times out, or prints nothing, requests fail with [`Your apiKeyHelper script is fa…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…enforcement, use a `command`, `http`, or `mcp_tool` hook, and add [`onFailure: "block"`](https://code.claude.com/docs/en/hooks#block-the-action-when-a-hook-fails) if the action should also be stopped…