Skip to main content
Exact error text

Claude Code Error Messages: Exact Text, Where the Cause Sits, and the Fix

Type or paste the message you see to filter the list. Each entry shows whether the cause is on your machine, your account, the service or a gateway in between, then links to the full fix.
  • 73 messages
  • 18 fix guides
  • Checked November 15, 2026

Sign-in, account and verification

  • Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh

    Also covered in this guide

    • Could not refresh your login because another Claude Code process is refreshing it (or exited mid-refresh)
      • Cause: your machine or config
      • CLI
    • EPERM: operation not permitted, mkdir

    Claude Code's login isn't rejected: another process holds the refresh lock in ~/.claude. Retry in a minute; if nothing holds it, remove the empty lock folder.

  • Failed to authenticate. API Error: 403 Your account can't receive replies from Claude right now

    • Cause: account or plan
    • CLI
    • HTTP 403

    Also covered in this guide

    • Your account is on hold and can't use Claude Code. View details or appeal: https://claude.ai/restricted
      • Cause: account or plan
      • CLI
    • Replies from Claude are unavailable on your account. You can complete the verification now in the Anthropic Verification Portal
      • Cause: account or plan
      • Web
    • Complete verification to continue
      • Cause: account or plan
      • Desktop app

    It's an Anthropic identity check, not a bug; retries won't clear it. Verify at portal.anthropic.com if you're in a supported country with a physical photo ID.

Model not found or not available

  • There's an issue with the selected model (claude-fable-5.2)

    • Cause: several possible
    • CLI

    Also covered in this guide

    • You've reached your Fable limit.
      • Cause: account or plan
      • CLI
    • Fable 5.2's safeguards flagged this message
    • Claude Code doesn't recognize the model "claude-fable-5-2", so it assumes a context window of 200k tokens
    • Fable is experiencing high load, please use /model to switch to Sonnet
      • Cause: the service
      • CLI
    • Invalid signature in thinking block. The block is bound to a different conversation.
      • Cause: your machine or config
      • API
      • HTTP 400

    Fable 5.2 errors trace to Claude Code older than 2.1.321, the dotted ID claude-fable-5.2, a /model picker bug, Fable limits, safeguards or API 400s.

Rate limits and capacity

  • API Error: Rate limit reached

    • Cause: several possible
    • CLI
    • HTTP 429

    Also covered in this guide

    • You've hit your session limit · resets 3:45pm
      • Cause: account or plan
      • CLI
    • You've hit your weekly limit · resets Mon 12:00am
      • Cause: account or plan
      • CLI
    • API Error: Server is temporarily limiting requests (not your usage limit)
      • Cause: the service
      • CLI
    • API Error: Request rejected (429) · this may be a temporary capacity issue
      • Cause: account or plan
      • CLI
      • HTTP 429
    • API Error: Usage credits required for 1M context
      • Cause: account or plan
      • CLI

    "Rate limit reached" in Claude Code is usually a session, weekly, or Opus/Sonnet limit. Match the line, then resume in the same session without resending.

  • API Error: Repeated 529 Overloaded errors

    • Cause: the service
    • CLI
    • HTTP 529

    Also covered in this guide

    • Opus is experiencing high load, please use /model to switch to Sonnet
      • Cause: the service
      • CLI
    • Opus is experiencing high load. Switch to Sonnet.
      • Cause: the service
      • Desktop app
    • API Error: Server error mid-response. The response above may be incomplete.
      • Cause: the service
      • CLI

    Claude Code shows a 529 overload only after retrying up to 10 times, and it never counts against your quota. Switch models with /model or set a fallback chain.

Server errors and dropped connections

Request rejected

  • API Error: 400 thinking type should be enabled or disabled

    Also covered in this guide

    • Only 'enabled' and 'disabled' are supported for thinking; 'adaptive' is not supported.
    • 'type' must be in ["enabled", "disabled", "auto"]
      • Cause: gateway or relay
    • adaptive thinking is not supported on this model
    • "thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive"
      • Cause: your machine or config
      • HTTP 400

    Your endpoint rejects the adaptive thinking type Claude Code sends. Set CLAUDE_CODE_DISABLE_THINKING=1; the adaptive switch won't help GLM or DeepSeek IDs.

App, IDE and startup

Files, sessions and local state

  • Error compacting conversation

    • Cause: several possible
    • CLI
    • Desktop app

    Also covered in this guide

    • Conversation too long. Press esc twice to go up a few messages and try again.
    • Prompt is too long · automatic compaction failed:
      • Cause: several possible
      • CLI
      • Desktop app
    • Autocompact is thrashing: the context refilled to the limit within 3 turns of the previous compact, 3 times in a row.
      • Cause: your machine or config
      • CLI
      • Desktop app
      • Since 2.1.89
    • Compaction failed · attached media exceeds size limits
      • Cause: your machine or config
      • CLI
      • Desktop app
    • Compaction failed · conversation could not be reduced below the context limit
      • Cause: your machine or config
      • CLI
      • Desktop app

    The red notification only means compaction threw an error. The line shown with it names the cause, and each cause has its own recovery in Claude Code 2.1.301.

  • Error writing file

    Also covered in this guide

    • File has been modified since read, either by the user or by a linter. Read it again before attempting to write it.
    • EPERM: operation not permitted
      • Cause: your machine or config
    • InputValidationError: Write failed due to the following issues: The required parameter `file_path` is missing
    • Error editing file

    Claude Code's Error writing file is a label. Ctrl+O shows the real message: a changed file, a read-only folder, a cut-off tool call, or a false alarm.

How this list is kept

  • A message is listed only when a guide on this site covers it, and the text is copied character for character from that guide.
  • Versions, HTTP statuses and GitHub issue numbers are the ones the linked guide cites. Where a guide gives none, the field is left empty.
  • The cause label says where to look first. The guide explains how to confirm it.

List last checked on November 15, 2026.