GrepBoard/Manuals
605 manuals ·

Claude Code 42

Claude Code errors, settings and limits.

  1. Claude Code Error: Cannot use both --append-subagent-system-prompt and --append-subagent-system-prompt-file. Please use only one.

    Fix the Claude Code subagent prompt flag conflict by keeping inline text or a file. To use fixed and per-run instructions, combine them in one file.

    Claude Code 2.1.302 · 2026-11
  2. Claude Code Error: --json-schema is not a valid JSON Schema

    Trace a Claude Code --json-schema failure to the type value. Compare the diagnostic with the earlier checks for malformed JSON and a top-level array.

    Linux · Claude Code 2.1.330 · 2026-11
  3. Claude Code Error: Invalid --agents configuration:

    Read the second line of an invalid --agents error to locate broken JSON, a missing prompt field, or a leading hyphen in the agent name.

    Linux · Claude Code 2.1.330 · 2026-11
  4. Claude Code User-Agent email report: which version do you have?

    Check which Claude Code version you run, when it started asking before sending your account email, and which tool calls later versions refuse.

    Claude Code official docs and changelog · 2026-11
  5. Claude Code "Your organization's settings need an update" fix

    Fix Claude Code "Your organization's settings need an update" and "Couldn't load your organization's settings": what you do and what your admin fixes.

    Claude Code official docs · 2026-11
  6. Claude Code "Sign in again to take your previous account or API key off the config file"

    Claude Code warns your previous account or API key may still be in ~/.claude.json after a login or logout. Re-run claude auth login or logout to retry the save.

    Claude Code official docs · 2026-11
  7. Claude Code DISABLE_TELEMETRY Also Turns Off Feature Flags

    DISABLE_TELEMETRY stops more than analytics: it also stops feature-flag fetching. Four variables do this and 16 features need it. Find which one is set.

    Claude Code official docs (env-vars, remote-control) · 2026-11
  8. Claude Code Your apiKeyHelper script is failing

    Claude Code ran your apiKeyHelper command and got no key back. Tell the three failure types apart with /status, then fix the script to print only the key.

    Claude Code official docs · 2026-11
  9. Fix Claude Code "Could not resolve authentication method"

    "Could not resolve authentication method" in a Claude Code background or cloud session means the worker has no credential. Check version, env, supervisor.

    Claude Code official docs · Node 24.22.3 · @anthropic-ai/sdk 0.137.0 and 1.8.0 (Docker) · 2026-11
  10. Claude Code subagentStatusLine setting removed (2.1.323)

    Subagent rows back to the default look? Claude Code 2.1.323 removed subagentStatusLine. Find the leftover key, decide whether to delete it.

    Claude Code changelog (CHANGELOG, as of 2.1.325) · official statusline and settings docs · 2026-11
  11. Claude Code "the prompt to confirm went unanswered"

    Claude Code "the prompt to confirm went unanswered": the Fable usage-credits prompt timed out. Resend and answer it where the session runs, or /model.

    Claude Code official docs · 2026-11
  12. Fix Claude Code "spend limit reached" (gateway cap)

    Lowercase "spend limit reached" in Claude Code is a cap set by your gateway operator. A date means it resets at 00:00 UTC that day; no date, ask the operator.

    Claude Code official docs · 2026-11
  13. Claude Code "Agent terminated early due to an API error" fix

    Claude Code shows "Agent terminated early due to an API error" when a subagent's request fails. The text after the colon is the cause; match it, fix it, retry.

    Claude Code official docs · v2.1.199 or later · 2026-11
  14. Fix Claude Code "Couldn't save your login"

    Claude Code "Couldn't save your login" means sign-in worked but the credential store rejected the write. On macOS, unlock the login keychain, then run /login.

    Claude Code official docs · 2026-11
  15. Claude Code settings.local.json secrets from "Don't ask again"

    Find tokens Don't ask again saved in Claude Code settings.local.json, check if git ignores or tracks the file or its history, and rotate keys first if exposed.

    Ubuntu 24.04 · git 2.43.0 · npm 10.9.9 (Docker) · Claude Code official docs · 2026-11
  16. Claude Code Forgets Rules in Long Chats: /compact vs /clear

    When a long session loses early instructions, check usage with /context, pick /compact or /clear, and see what survives compaction and what drops out.

    Claude Code 2.1.302 · official docs as of 2026-10
  17. Fix Claude Code "You've hit your monthly spend limit"

    Claude Code shows "You've hit your monthly spend limit" when usage credits hit a spend cap. Read the wording to see whose limit it is, then raise it or wait.

    Claude Code official docs · 2026-11
  18. Fix Claude Code "Connection lost before a response was produced"

    Claude Code "Connection lost before a response was produced": auto-retries failed after a drop between thinking and output. Resend, then check the network.

    Claude Code official docs · 2026-10
  19. Claude Code skill not showing up or never used

    When a project skill is missing from the list or Claude never calls it, check the file name, location, frontmatter and invocation settings in this order.

    Claude Code 2.1.302 · Ubuntu 24.04
  20. Fix Claude Code "The response above may be incomplete"

    Claude Code "The response above may be incomplete" means the stream broke mid-response; finished blocks were kept. The prefix names the cause. Send continue.

    Claude Code official docs · 2026-10
  21. Fix Claude Code API Error 400: tool use concurrency issues

    Claude Code API Error 400 tool use concurrency issues means tool_use and tool_result blocks in history no longer match. Check your version, then /rewind.

    Claude Code official docs · 2026-10
  22. Fix Claude Code "Auto-update failed · Run claude doctor"

    Claude Code Auto-update failed · Run claude doctor means a background update did not install. Run claude update in your shell to see the real error.

    curl 8.5 · Claude Code official docs · 2026-10
  23. Fix Claude Code "API Error: 401 OAuth token has expired"

    Claude Code 401 OAuth token has expired means the saved login failed to refresh. Run /login, then check for a stale CLAUDE_CODE_OAUTH_TOKEN variable.

    Claude Code official docs · 2026-10
  24. Fix "Claude Code process exited with code 1" in VS Code

    "Claude Code process exited with code 1" in VS Code hides the real cause. Find the actual error with Show Logs and by running claude in a terminal.

    Claude Code official docs · 2026-10
  25. Fix Claude Code "Unable to connect to API" errors

    Claude Code Unable to connect to API (ENOTFOUND, ECONNREFUSED) means no connection to the API. Run curl -I in the same shell to split DNS, proxy and VPN causes.

    curl 8.17.0 (Docker) · Claude Code official docs · 2026-10
  26. Check why Claude Code is not following your CLAUDE.md

    When CLAUDE.md rules seem ignored, check that the file loaded first. Then test lazy loading of subdirectory files and claudeMdExcludes with claude -p.

    Claude Code 2.1.302 · Ubuntu 24.04 · 2026-10
  27. Fix Claude Code "AWS credentials expired or invalid"

    Claude Code AWS credentials expired or invalid means an expired AWS token. Refresh the credential you use (SSO or keys), then run aws sts get-caller-identity.

    Claude Code official docs · 2026-10
  28. Fix Claude Code "image dimensions exceed max allowed size"

    Claude Code 400 image dimensions exceed max allowed size means an image is over the pixel limit. Resize under 2000px and /rewind past it in history.

    Ubuntu 24.04 · ImageMagick 6.9.12 (Docker) · Claude Code official docs · 2026-10
  29. Fix Claude Code "API Error: 500 Internal server error"

    Claude Code API Error 500 Internal server error is a temporary API-side failure. Check the status page, type try again, and test tool search behind a gateway.

    Claude Code official docs · curl 8.5 · jq 1.7 · 2026-10
  30. Claude Code "Stream idle timeout - no chunks received" fix

    Claude Code Stream idle timeout - no chunks received: a watchdog closed a stalled stream. Confirm in the debug log, raise CLAUDE_STREAM_IDLE_TIMEOUT_MS.

    Claude Code official docs · 2026-10
  31. Fix Claude Code "Prompt is too long" (Context limit reached)

    Claude Code Prompt is too long or Context limit reached means the context window is full. Run /compact, or /clear and resend less for a single exchange.

    Claude Code official docs · 2026-10
  32. Claude Code "ENOSPC: no space left on device, mkdir" fix

    Claude Code ENOSPC: no space left on device, mkdir means the temp volume is full. Check df -h and df -i, then free it or set CLAUDE_CODE_TMPDIR.

    Ubuntu 24.04 (Docker · tmpfs) · Claude Code official docs · 2026-10
  33. Fix Claude Code "No response from API" (API_TIMEOUT_MS)

    Claude Code No response from API means response headers never arrived in time. Resend once; if it repeats, suspect a proxy and raise API_TIMEOUT_MS.

    Claude Code official docs · 2026-10
  34. claude -p: "Input must be provided either through stdin" fix

    claude -p Input must be provided either through stdin or as a prompt argument means the prompt was empty. Check variables and pipes before calling claude.

    Ubuntu 24.04 (Docker) · bash 5.2.21 · Claude Code official docs · 2026-10
  35. Fix Claude Code response exceeded 32000 output token maximum

    Claude Code "exceeded the 32000 output token maximum" means a reply hit its output cap and was cut off. Reply continue, split the work, or raise the variable.

    Claude Code official docs · 2026-10
  36. Fix Claude Code "auto mode classifier gave no verdict" error

    Claude Code auto mode "classifier gave no verdict": the server-side safety check failed. Retry once, then try /compact or CLAUDE_CODE_AUTO_MODE_SERVER=0.

    Claude Code 2.1.302 (command existence only) · official docs · 2026-10
  37. Fix Claude Code "Autocompact is thrashing" error

    "Autocompact is thrashing" means compaction worked but a large file or tool output refilled the context at once. Official recovery steps and a /context check.

    Claude Code 2.1.302 (option existence only) · official docs · 2026-10
  38. Pass arguments to a Claude Code custom slash command

    Put $ARGUMENTS, $0, $1 or named arguments in a .claude/commands markdown file, then check how quoted values and missing arguments are substituted.

    Claude Code 2.1.302 · Ubuntu 24.04
  39. Show the model and context usage in the Claude Code status line

    Build a status line that shows the model name and context usage below the prompt: stdin JSON, the settings.json entry, null handling and re-run triggers.

    Claude Code 2.1.302 · Ubuntu 24.04 · bash 5.2 · jq 1.7 · script run directly, on-screen behavior per the official docs
  40. Claude Code 429 and Rate Limit Errors: Usage Limit or Outage?

    Tell a usage limit from a throttle, a key problem or an outage by the exact message: `Request rejected (429)`, `You've hit your session limit` and more.

    Claude Code official docs · 2026-10 (installed version 2.1.302)
  41. Fix common Claude Code errors by message

    Match a Claude Code error — Invalid API key, Not logged in, 529, connection refused, certificate errors — to its cause and fix it with env vars and settings.

    Claude Code 2.1.302 · Ubuntu 24.04
  42. /agents wizard has been removed: subagent not listed or called

    After "The /agents wizard has been removed": create subagents by asking Claude or writing a file, and what to check if a .claude/agents subagent is not listed.

    Claude Code 2.1.251 · 2.1.302 · 2026-10