434 pages for failed.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Code
Claude Developer Platform · in the page
api/compliance/apps/code
…ts before its last chunk, so treat a download that aborts this way as failed. A ZIP archive of a version's files holds one top-level folder, named for the Artifact and version. That folder holds an i…
Artifacts
Claude Developer Platform · in the page
api/compliance/apps/code/artifacts
…ts before its last chunk, so treat a download that aborts this way as failed. A ZIP archive of a version's files holds one top-level folder, named for the Artifact and version. That folder holds an i…
Download Code Artifact Content
Claude Developer Platform · in the page
api/compliance/apps/code/artifacts/download
…ts before its last chunk, so treat a download that aborts this way as failed. A ZIP archive of a version's files holds one top-level folder, named for the Artifact. That folder holds an index, `files…
Download Code Artifact Version Content
Claude Developer Platform · in the page
api/compliance/apps/code/artifacts/retrieve_version
…ts before its last chunk, so treat a download that aborts this way as failed. A ZIP archive of a version's files holds one top-level folder, named for the Artifact and version. That folder holds an i…
Sessions
Claude Developer Platform · in the page
api/compliance/apps/sessions
…Session lifecycle state. One of `active`, `paused`, `archived`, or `failed` — the lifecycle states the owning product surface exposes — plus `pending`, a brief transient state that resolves before a…
Remote
Claude Developer Platform · in the page
api/compliance/apps/sessions/remote
…Session lifecycle state. One of `active`, `paused`, `archived`, or `failed` — the lifecycle states the owning product surface exposes — plus `pending`, a brief transient state that resolves before a…
List remote sessions
Claude Developer Platform · in the page
api/compliance/apps/sessions/remote/list
…Session lifecycle state. One of `active`, `paused`, `archived`, or `failed` — the lifecycle states the owning product surface exposes — plus `pending`, a brief transient state that resolves before a…
Messages
Claude Developer Platform · in the page
api/compliance/apps/sessions/remote/messages
…Session lifecycle state. One of `active`, `paused`, `archived`, or `failed` — the lifecycle states the owning product surface exposes — plus `pending`, a brief transient state that resolves before a…
Retrieve remote session messages
Claude Developer Platform · in the page
api/compliance/apps/sessions/remote/messages/list
…Session lifecycle state. One of `active`, `paused`, `archived`, or `failed` — the lifecycle states the owning product surface exposes — plus `pending`, a brief transient state that resolves before a…
Organizations
Claude Developer Platform · in the page
api/compliance/organizations
…as an `error_code` in `error.details`. A 503 with `posture_evaluation_failed` means that the evaluation could not be completed. Wait for the time in the `Retry-After` header before trying again. A 504…
Security Posture
Claude Developer Platform · in the page
api/compliance/organizations/security_posture
…as an `error_code` in `error.details`. A 503 with `posture_evaluation_failed` means that the evaluation could not be completed. Wait for the time in the `Retry-After` header before trying again. A 504…
Get an organization's security posture
Claude Developer Platform · in the page
api/compliance/organizations/security_posture/retrieve
…as an `error_code` in `error.details`. A 503 with `posture_evaluation_failed` means that the evaluation could not be completed. Wait for the time in the `Retry-After` header before trying again. A 504…
errors
Claude Developer Platform · in the page
api/errors
…le-an-error-in-a-stream). ### Retries By default, the SDK retries a failed request up to two times (three attempts in all). To change the number of retries, set `max_retries` (typescript, php: `maxR…
handle-errors
Claude Developer Platform · in the page
api/handle-errors
…ponse, such as a network failure or a timeout print("Connection failed") except anthropic.APIStatusError as e: # Every other error response print(e.status_code) # HTTP status…
Messages
Claude Developer Platform · in the page
api/messages
…include the same `tab_id`. A tab opened during a failed call gets no deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.…
Batches
Claude Developer Platform · in the page
api/messages/batches
…lude the same `tab_id`. A tab opened during a failed call gets no deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.…
Create a Message Batch
Claude Developer Platform · in the page
api/messages/batches/create
…lude the same `tab_id`. A tab opened during a failed call gets no deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.…
Retrieve Message Batch results
Claude Developer Platform · in the page
api/messages/batches/results
…output if processing was successful, an error response if processing failed, or the reason why processing was not attempted, such as cancellation or expiration. - `MessageBatchSucceededResult ob…
Count tokens in a Message
Claude Developer Platform · in the page
api/messages/count_tokens
…include the same `tab_id`. A tab opened during a failed call gets no deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.…
Create a Message
Claude Developer Platform · in the page
api/messages/create
…include the same `tab_id`. A tab opened during a failed call gets no deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.…
spans
Claude Developer Platform · in the page
api/opentelemetry/spans
…Span status * **`OK`:** The step completed. * **`ERROR`:** The step failed. * **Unset:** The application canceled the step, for example when it sent a [`user.interrupt`](https://platform.claude.com/…
Organization
Claude Developer Platform · in the page
api/organization
…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 Key. maxLength: 2048 #### Header…
External Keys
Claude Developer Platform · in the page
api/organization/external_keys
…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 Key. maxLength: 2048 ### Headers…
Validate External Key
Claude Developer Platform · in the page
api/organization/external_keys/validate
…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 Key. maxLength: 2048 ## Headers -…
Workspaces
Claude Developer Platform · in the page
api/organization/workspaces
…details.error_code` in the response body. - `external_key_validation_failed` (HTTP status 400) The External Key failed Anthropic's validation, so the request was refused. The message gives the rea…
Create Workspace
Claude Developer Platform · in the page
api/organization/workspaces/create
…details.error_code` in the response body. - `external_key_validation_failed` (HTTP status 400) The External Key failed Anthropic's validation, so the request was refused. The message gives the rea…
Update Workspace
Claude Developer Platform · in the page
api/organization/workspaces/update
…details.error_code` in the response body. - `external_key_validation_failed` (HTTP status 400) The External Key failed Anthropic's validation, so the request was refused. The message gives the rea…
Message Batches API
Claude Developer Platform · in the page
build-with-claude/batch-processing
…processing status regularly and implement appropriate retry logic for failed requests. * Use meaningful `custom_id` values to easily match results with requests, because order is not guaranteed. * Con…
claude-in-amazon-bedrock
Claude Developer Platform · in the page
build-with-claude/claude-in-amazon-bedrock
…count team. Include your AWS account ID and the `request-id` from any failed API responses.
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…-vs-amazon-bedrock). ### Troubleshooting account setup * **“Sign-up failed: Failed to enable OutboundWebIdentityFederation”:** If you see this banner on first submit, click **Continue** again. The I…
compaction-background
Claude Developer Platform · in the page
build-with-claude/compaction-background
…start another compaction request until this one is swapped in or has failed. 3. When the response arrives with `stop_reason` `"compaction"`, drop exactly the messages you sent from the front of your…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…g/prefix-checks#outcomes), a thinking block in the compaction request failed the [prefix check](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#prefix-check). |…
compaction-thinking-blocks
Claude Developer Platform · in the page
build-with-claude/compaction-thinking-blocks
…whose `input_transformations` array is empty means no thinking block failed the prefix check or was dropped. A [400 error](https://platform.claude.com/docs/en/api/errors#thinking-block-conversation-m…
context-editing
Claude Developer Platform · in the page
build-with-claude/context-editing
…veries:** Technical constraints, decisions made, errors resolved, and failed approaches. 4. **Next Steps:** Specific actions needed, blockers, and priority order. 5. **Context to Preserve:** User pref…
handling-stop-reasons
Claude Developer Platform · in the page
build-with-claude/handling-stop-reasons
…ation stopped normally * Response contains valid content ### Errors (failed requests) * HTTP status codes 4xx or 5xx * Indicate request processing failures * Response contains error details <CodeGr…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…ess is null) { return ("bash error: the shell process failed to start.", true); } var stdoutTask = process.StandardOutput.ReadToEndAsync(); var stderrTask = process.S…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…": "tool_result", "tool_use_id": "toolu_01", "content": "12 passed, 0 failed" } ] }, { "role": "system", "content": "The user sent the following message while you were working: also up…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…ts this entry. The array is empty when no block was dropped and none failed the prefix check. Ignore entries whose `type` or `reason` you don’t recognize, because later checks add values. When [stre…
change-tools-or-instructions
Claude Developer Platform · in the page
build-with-claude/preserved-thinking/change-tools-or-instructions
…{ "type": "tool_result", "tool_use_id": "toolu_01", "content": "2 failed, 48 passed" } ] }, { "role": "system", "content": "Plan mode is off. You can edit files." } ] ``` ### Wr…
fix-bound-to-a-different-conversation
Claude Developer Platform · in the page
build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation
…r: The block is bound to a different conversation The thinking block failed the [prefix check](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#prefix-check): so…
prefix-checks
Claude Developer Platform · in the page
build-with-claude/preserved-thinking/prefix-checks
…/preserved-thinking/prefix-checks#outcomes). The thinking blocks that failed it then reach the model. To find those blocks in production traffic, send the `thinking-binding-controls-2026-08-01` beta h…
prompting-claude-haiku-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-haiku-5-5
…changed command itself. A syntax-only check, or a check command that failed to start, does not count; if all that is missing is the project's declared dependencies, install them with its own package…
prompting-claude-sonnet-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5
…r occurs. Treat any response whose `stop_reason` is `"max_tokens"` as failed, even if its text holds valid JSON, and retry. Set `max_tokens` high enough for the thinking and the JSON, as [Calibrate ef…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…/en/build-with-claude/preserved-thinking/prefix-checks). If a request failed with “The block is bound to a different conversation”, go to [Fix a thinking block bound to a different conversation](https…
vision-coordinates
Claude Developer Platform · in the page
build-with-claude/vision-coordinates
…sage without the leading position, so they don’t identify which image failed; only embedded base64 images are named by position in the error. * [PDF pages](https://platform.claude.com/docs/en/build-wi…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…ed `claude-lock.json` at the end of the job, even when the apply step failed partway, because a partial apply still records what it created. * Run one apply at a time, because nothing locks the lockfi…
php
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/php
…/api/handle-errors) shows how to catch them. To see why a connection failed or timed out, call `getPrevious()` on the `Anthropic\Core\Exceptions\APIConnectionException`. The method returns the underl…
Automatically handles tool execution loop
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/ruby
…api/handle-errors) shows how to rescue them. To see why a connection failed or timed out, read `cause` on the `Anthropic::Errors::APIConnectionError` or its subclass `APITimeoutError`. `cause` holds…
operations
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/terraform/operations
…, and run `terraform apply` to finish the import. ## Recover after a failed create After a server error or a dropped connection, the provider doesn’t retry most creates, to avoid duplicates. After e…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…went wrong throw new ToolError([ { type: "text", text: `Failed to load page: ${result.error}` }, { type: "image", source: { type: "base64", data: result.scree…