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.
Champion kit
Claude Code CLI · in the page
champion-kit
…| "It produced an incorrect result." | Encourage them to provide the failure back to Claude. Pasting the error message or failing test is far more effective than rephrasing the original request. | [C…
Claude Code changelog
Claude Code CLI · in the page
changelog
…eview findings show as a list, many long failed runs show their first failure, and edits show more counts * \[VSCode] Improved the new look: permission cards ask in plain words, question cards count a…
Channels reference
Claude Code CLI · in the page
channels-reference
…g an HTTP POST with a message to your server. This example sends a CI failure alert to port 8788 (or whichever port you configured): ```bash theme={null} curl -X POST localhost:8788 -d "build failed…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…gned in. | Check the audit log for `access.denied` at the time of the failure and fix the `access_control` lists or the front end, then have the developer start `claude` again | | CLI `/login`: `The g…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…e store, and answer its first health check before ECS starts counting failures against the deployment. > > The target group's health check on `GET /readyz` verifies the store is reachable, so a task t…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…ounters. It never touches the bytes sent to the client, so a metering failure can't break a response. The amounts are USD estimates, a circuit breaker rather than an invoice; for billing, reconcile ag…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…ll} CCR_FORCE_BUNDLE=1 claude --cloud "Run the test suite and fix any failures" ``` Bundled repositories must meet these limits: * The directory must be a git repository with at least one commit * T…
CLI reference
Claude Code CLI · in the page
cli-reference
…teractively. Prints findings to stdout and exits 0 on success or 1 on failure. Use `--json` for the raw payload and `--timeout <minutes>` to override the 45-minute default. Use `--post` on a `github.c…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…Append `|| true` to non-critical commands so an intermittent install failure doesn't fail the script. * **Finish within five minutes**: keep the script's total runtime under roughly five minutes so t…
Run tool calls from code with Code Mode
Claude Code CLI · in the page
code-mode
…t`](https://code.claude.com/docs/en/hooks#common-fields), or set [`"onFailure": "continue"`](#tool-call-ran-after-a-hook-failed) on a `command` or `http` hook. If an agent hook still gives this error,…
Commands
Claude Code CLI · in the page
commands
…ts branch first. By default the cloud session is told to fix every CI failure and review comment; pass a prompt to give it different instructions, for example `/autofix-pr only fix lint and type error…
Common workflows
Claude Code CLI · in the page
common-workflows
…rify tests** ```text wrap theme={null} run the new tests and fix any failures ``` Claude can generate tests that follow your project's existing patterns and conventions. When asking for tests, be sp…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…om/docs/en/hooks-guide.md#limitations-and-troubleshooting) for common failure patterns. ## Test against a clean configuration Start with [`claude --safe-mode`](https://code.claude.com/docs/en/cli-re…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…or wiki page that opens the project with an onboarding prompt * A CI failure notification that pre-fills the failing job's name This page covers how to [build a link](#build-a-link), [embed one in a…
Desktop application
Claude Code CLI · in the page
desktop
…run when an API error ends the turn. For that case, configure a [`StopFailure` hook](https://code.claude.com/docs/en/hooks#stopfailure). If your organization [runs managed hooks only](https://code.cl…
Get started with the desktop app
Claude Code CLI · in the page
desktop-quickstart
…a PR, Claude Code monitors CI check results and can automatically fix failures. See [Monitor pull request status](https://code.claude.com/docs/en/desktop.md#monitor-pull-request-status). **Put Claude…
Error reference
Claude Code CLI · in the page
errors
…an error. For installation errors such as `command not found` or TLS failures during setup, see [Troubleshoot installation and login](https://code.claude.com/docs/en/troubleshoot-install.md). Except…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…use, then [set the goal again](#set-a-goal) with `/goal <condition>`. Failures that clear the goal include: * An authentication failure, when Claude Code manages its own credentials. When a host mana…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…Claude Code reports the error to stderr before the run starts. When a failure happens inside the run, such as missing authentication, Claude Code prints the failure as the result on stdout. ### Start…
Hooks reference
Claude Code CLI · in the page
hooks
…rt` and `SessionEnd` * per turn: `UserPromptSubmit`, `Stop`, and `StopFailure` * on every tool call inside the agentic loop: `PreToolUse` and `PostToolUse`, except [`EndConversation`](https://code.cla…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…since | | `auth_success` | Authentication completes | | `auth_storage_failure` | Your sign-in completes, but Claude Code can't save the new credentials to its [credential storage](https://code.claude.…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…transcript, so you can run `! npm test` and get an explanation of the failures without a second prompt. The response costs the same as sending a normal prompt. To add the output to context without a r…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…onfirms the URL and credential work before you open Claude Code, so a failure points at the gateway rather than your configuration. The commands below read the shell variables, so they need the [shell…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…t the client speaks determines what your gateway receives. The common failure mode is a mismatch between the format the client sends to your gateway and the format the upstream provider behind it acce…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…/en/llm-gateway-protocol.md#model-discovery) treats any redirect as a failure so the credential cannot leak to a redirect target. ### Issue developer credentials Each developer needs their own gatew…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…elper runs fail, and what Claude Code does when one does, see [Helper failures](https://code.claude.com/docs/en/settings-reference.md#helper-failures). ### Let an embedding host add policy When anot…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…`✔ Connected`, `! Needs authentication`, or `✘ Failed to connect`. A failure status means Claude Code couldn't connect to that server, not that the list command failed. The statuses in this list rep…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…ds on which status you see: > > * `Failed to connect`: start with the failure detail on the status itself. `claude mcp list` and `claude mcp get <name>` show the HTTP status or error code and any erro…
Claude Code on mobile
Claude Code CLI · in the page
mobile
…/docs/en/claude-code-on-the-web.md#auto-fix-pull-requests) and fix CI failures or review comments as they arrive. To connect GitHub and set up your environment, follow the [cloud quickstart](https://c…
Model configuration
Claude Code CLI · in the page
model-config
…ts the request. Your session's model is unchanged. Before v2.1.247, a failure the chain covers ended the subagent instead. ### Automatic model fallback This section covers content-based fallback fro…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…<path>` and check the log it writes to that path. Claude Code reports failures from the exporters you configure as `[3P telemetry]` errors, where 3P means third-party. Lines prefixed `[Anthropic telem…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…e the files. It presents the new pair on the retry after a qualifying failure, or on the next request after it applies settings, whichever comes first. * **Gateway rejections**: if your gateway refuse…
Overview
Claude Code CLI · in the page
overview
…ull} > claude "write tests for the auth module, run them, and fix any failures" > ``` > [accordion] Build features and fix bugs > > Describe what you want in plain language. Claude Code plans the app…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…> > ```bash theme={null} > claude -p "Run the test suite and fix any failures" --permission-mode auto > ``` > [tab] TypeScript > > ```typescript theme={null} > const options = { > permissionMode:…
Platforms and integrations
Claude Code CLI · in the page
platforms
…/docs/en/channels-reference.md) | Reacting to external events like CI failures or chat messages | | [Self-hosted environments](https://code.claude.com/docs/en/self-hosted-environments) | Start a [clou…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…ments, and scope values: * **Exit codes**: `0` on success and `1` on failure. `validate` adds exit `2` for an unexpected error, and `eval` adds the codes listed in [its section](#plugin-eval). * **Pl…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…tToolUse` hook. Then read the debug log. The next sections cover the failures you're most likely to hit while developing, and the [troubleshooting page](https://code.claude.com/docs/en/plugins/troubl…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…n `gh auth login`, then `gh auth setup-git`. * **Keep the checkout on failure**: if the user sets `CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1`, Claude Code keeps the existing checkout without at…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…n`, `description`, or `author`. Pass `--strict` to turn warnings into failures in CI * **`Validation failed`**: the manifest has a type mismatch, a path that is missing or escapes the plugin root, or…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…fore v2.1.285, it printed `Invalid input` like the causes above. ### Failures that validation doesn't catch `claude plugin validate` doesn't report every failure. An entry `hooks` written as a file…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…an't read. Don't approve a mod that fails this command, because some failures don't stop it from loading. Run the command on Claude Code v2.1.323 or later, where a long list continues on more lines w…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…When the model doesn't answer, the label is `unknown`. A Claude API failure doesn't reject the call, so check `r.isAnswered`, and read `r.reason` when it's `false`. The call rejects for a request Cl…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…async generator, the test fails. The engine skips that hook, and the failure output names it, such as `in the test's store.set hook`. ### Pass options to a test To give a test more time or set your…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…of the wrong shape. The line appears once for each event and kind of failure until the mod reloads. Fix the error. The debug log has a line for every occurrence. ### `call refused` or `result withh…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…lso appears in the `/plugin` **Errors** tab, the panel's list of load failures, when a plugin listed in your settings names a marketplace you haven't added. ### `Marketplace "<name>" not found` You…
Work with PR Steward on a pull request
Claude Code CLI · in the page
pr-steward-pull-requests
…wrap theme={null} 🛠️ Claude PR Steward — On it. I'll chase down CI failures, work through review comments, and push fixes until it's green. Ask me anything in a comment and I'll answer or take acti…
Prompt library
Claude Code CLI · in the page
prompt-library
…roles: [], prompt: 'write tests for {path}, run them, and fix any failures', slots: { path: 'app/parsers/feed.py' }, nextHref: '/en/memory', src: 'workflows' }, { id: '…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…on fails in an interactive session, the indicator changes to show the failure, and Claude Code shows the reason in a notification and adds it to the conversation. Run `/remote-control` to reconnect, u…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…. * **Succeeded**: the session ended without Claude Code reporting a failure. Blocked network requests, missing connector tools, and work Claude couldn't complete appear in the transcript rather than…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…ommand's result, so Claude sees what was blocked. Claude analyzes the failure and may retry the command with the `dangerouslyDisableSandbox` parameter. The retried command runs unsandboxed. In an int…