Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

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.

Credentials Claude Developer Platform · in the page api/beta/vaults/credentials …one for the failing step, for example after a timeout or a DNS or TLS failure. - `body: string` Response body. May be truncated and has sensitive values scrubbed. - `body_trunca… Validate an MCP OAuth Credential Claude Developer Platform · in the page api/beta/vaults/credentials/mcp_oauth_validate …one for the failing step, for example after a timeout or a DNS or TLS failure. - `body: string` Response body. May be truncated and has sensitive values scrubbed. - `body_trunca… routines-fire Claude Developer Platform · in the page api/claude-code/routines-fire …shell call and a GitHub Actions step that triggers the routine on CI failure. ```bash cURL curl -X POST https://api.anthropic.com/v1/claude_code/routines/$ROUTINE_ID/fire \ -H "Authorization: Bear… Compliance API Claude Developer Platform · in the page api/compliance …failed. Some of the requested members may have been added before the failure. - `"group_member_list_viewed"` Admin viewed the members of an RBAC group. - `"group_member_removal_failed"`… Activities Claude Developer Platform · in the page api/compliance/activities …failed. Some of the requested members may have been added before the failure. - `"group_member_list_viewed"` Admin viewed the members of an RBAC group. - `"group_member_removal_failed"`… Query compliance activities Claude Developer Platform · in the page api/compliance/activities/list …failed. Some of the requested members may have been added before the failure. - `"group_member_list_viewed"` Admin viewed the members of an RBAC group. - `"group_member_removal_failed"`… errors Claude Developer Platform · in the page api/errors …the SDK stopped waiting) | `APITimeoutError` | | Every connection failure before a response arrives (including a client timeout) | `APIConnectionError` | | A connection that drops or stalls in… handle-errors Claude Developer Platform · in the page api/handle-errors …to catch Claude API errors by error code, HTTP status, or connection failure and to handle an error that arrives in a stream. --- Use the SDK to catch Claude API errors by error code, HTTP status, o… Messages Claude Developer Platform · in the page api/messages …- `error: optional string or null` The failure or cancellation detail, when known. maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$… Batches Claude Developer Platform · in the page api/messages/batches …- `error: optional string or null` The failure or cancellation detail, when known. maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029… Create a Message Batch Claude Developer Platform · in the page api/messages/batches/create …- `error: optional string or null` The failure or cancellation detail, when known. maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029… Count tokens in a Message Claude Developer Platform · in the page api/messages/count_tokens …- `error: optional string or null` The failure or cancellation detail, when known. maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$… Create a Message Claude Developer Platform · in the page api/messages/create …- `error: optional string or null` The failure or cancellation detail, when known. maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$… spans Claude Developer Platform · in the page api/opentelemetry/spans …/en/managed-agents/mcp-connector#handle-connection-and-authentication-failures), the span name doesn’t include the tool name. * `anthropic.custom_tool_use <tool>` is the span for each use of a tool th… Organization Claude Developer Platform · in the page api/organization …ult. The response status is `success` if the roundtrip succeeded, or `failure` with an error message if it failed or timed out. #### Path parameters - `external_key_id: string` ID of the External… External Keys Claude Developer Platform · in the page api/organization/external_keys …ult. The response status is `success` if the roundtrip succeeded, or `failure` with an error message if it failed or timed out. ### Path parameters - `external_key_id: string` ID of the External… Validate External Key Claude Developer Platform · in the page api/organization/external_keys/validate …ult. The response status is `success` if the roundtrip succeeded, or `failure` with an error message if it failed or timed out. ## Path parameters - `external_key_id: string` ID of the External K… Federation Claude Developer Platform · in the page api/organization/federation …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… Issuers Claude Developer Platform · in the page api/organization/federation/issuers …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… Archive Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/archive …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… Create Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/create …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… List Federation Issuers Claude Developer Platform · in the page api/organization/federation/issuers/list …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… Get Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/retrieve …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… Update Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/update …s JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending `jwks_polling_disabled: false` via the issuer update endpoint (POST) once the upstream JWKS endpoin… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …nload. * Confirm that the batch has not been canceled. Note that the failure of one request in a batch does not affect the processing of other requests. ## Batch storage and privacy * **Workspace i… compaction-background Claude Developer Platform · in the page build-with-claude/compaction-background …s any other `stop_reason`, no summary was produced, which counts as a failure in step 2. Keep the full history; [Handle a missing summary or an error](https://platform.claude.com/docs/en/build-with-cl… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …e they were produced when the full history was present. To avoid the failure, do one of the following: * **Strip the blocks:** Remove the `thinking` and `redacted_thinking` blocks from the turns you… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …every successful Messages API response. Unlike errors, which indicate failures in processing your request, `stop_reason` tells you why Claude completed its response generation. ```json Example respon… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …{ // The output is discarded on timeout, so reader failures are ignored too. } return ($"command timed out after {bashTimeoutSeconds}s", true); } var… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …json [ { "role": "user", "content": "Run the test suite and fix any failures." }, { "role": "assistant", "content": [{ "type": "tool_use", "id": "toolu_01", "name": "run_tests", "input": {… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …oting thinking. A tampered or undecryptable signature is a different failure. It always returns a 400 error (``Invalid `signature` in `thinking` block`` with no sentence about the conversation), and… fix-bound-to-a-different-conversation Claude Developer Platform · in the page build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation …tch` entry or more output tokens. ## Test your code for prefix check failures You can trust a test once you’ve seen it fail. First, through your own code, run a session that makes Claude think, and… prefix-checks Claude Developer Platform · in the page build-with-claude/preserved-thinking/prefix-checks …erved-thinking/prefix-checks#prefix-check) doesn’t cause prefix check failures. </Tip> [Message Batches items](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/fix-bound-to-a-… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …ock/latest/userguide/prompt-caching.html) for the per-model minimums, failure behavior, and usage-field names that apply. </Note> For concurrent requests, note that a cache entry only becomes availab… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …model to handle edge cases - Next: investigate user_management test failures (test #2) - Note: Do not remove tests as this could lead to missing functionality ``` </Accordion> ### Balancing aut… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …pports that specific action. A signal that pattern-matches to a known failure may have a different cause. ``` ## Parallel subagents Claude Fable 5 dispatches parallel subagents more readily than pri… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …ut_transformations`, as described 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… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …example, “report any bugs that could cause incorrect behavior, a test failure, or a misleading result; only omit nits like pure style or naming preferences.” Iterate on prompts against a subset of yo… prompting-claude-sonnet-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5 …example, “report any bugs that could cause incorrect behavior, a test failure, or a misleading result; only omit nits like pure style or naming preferences.” Iterate on prompts against a subset of yo… thinking Claude Developer Platform · in the page build-with-claude/thinking …nking-troubleshooting"> Diagnose and fix the most common thinking failures: configuration 400 errors, empty or missing thinking blocks, `max_tokens` stops, and cache misses. </Card> <Card tit… thinking-troubleshooting Claude Developer Platform · in the page build-with-claude/thinking-troubleshooting …aude/thinking-troubleshooting description: "Diagnose and fix thinking failures: configuration 400 errors, empty or missing thinking blocks, max_tokens stops, and cache misses." --- <Note> To learn… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …allback). * **Any other value:** Send the request again or report the failure. ## Vision Claude can read both text and images in requests. You can supply images using the `base64`, `url`, or `file`… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …AnthropicException` when a request fails. Causes include a connection failure and an error response from the API. These exceptions are unchecked. [SDK error types](https://platform.claude.com/docs/en/… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …s) shows how to catch them. Two of the classes hold more detail on a failure: | Class | Raised when | Where the detail is | | ----- | ----- | ----- | | `APIConnectionError` | The SDK can’t reach the… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …reat a checkpoint that verifies under no listed key as a verification failure, and report it to your Anthropic account representative or [Anthropic support](https://support.claude.com). `axt-verify`… analytics-api Claude Developer Platform · in the page manage-claude/analytics-api …lable well past the typical lag, it usually indicates a data pipeline failure on Anthropic’s side; contact support if the gap persists. **Cost and usage endpoints** follow a different freshness model… cmek-admin-api Claude Developer Platform · in the page manage-claude/cmek-admin-api …n", "status": "success", "error": null } ``` If `status` is `failure`, the `error` field says why. See [Troubleshoot CMEK](https://platform.claude.com/docs/en/manage-claude/cmek-troubleshooti… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …iance API carries an `x-should-retry: false` response header when the failure is deterministic. The Anthropic SDK honors this header automatically. If you use a generic HTTP retry library that retries… before_id is the first_id from a previous response Claude Developer Platform · in the page manage-claude/compliance-integration-patterns …sal returns every activity at least once, but a retry after a partial failure can re-deliver activities you already stored. Deduplicate on the activity `id` field. The list endpoints do not return a… results-reference Claude Developer Platform · in the page manage-claude/compliance-security-posture/results-reference …e. | | 503 with no `error_code`, or 504 `timeout_error` | A temporary failure. | Retry with exponential backoff. | Causes of a 404: * `organization_id` is not a UUID, names no organization, or names…
Feedback