Error category

Claude Code and AI Coding Tool Errors and Fixes

Fix Claude Code, OpenCode, OpenClaw, and AI coding assistant failures around login, model routing, tool calls, file edits, permissions, quotas, and stalled agent sessions.

This AI Coding Tools troubleshooting hub collects real error signatures, quick fixes, common causes, and step-by-step debugging paths for developers who need a practical answer instead of a broad overview.

291 articles in this category.

Troubleshooting overview

Start by matching the exact error message, then check the technology, environment, credentials, network path, and deployment context. The pages below are grouped so you can move from broad AI Coding Tools symptoms to specific root-cause families without relying on client-side search.

Common error types

  • Claude Code process exited
  • permission denied
  • file has not been read yet
  • context limit reached
  • tool call timeout
  • model routing failed

Common causes

  • Found in official claude-code GitHub Issues (#59743) reported by a live user 2026-05-16 (2 comments). Directly impacts paid Claude Code subscription users experiencing complete service outage. Maps to AI Coding Tools as it is a Claude Code-specific failure scenario. (1 page)
  • Bifrost v1.5.2 breaks all tool-using clients (OpenClaw, OpenAI SDK) when routing to Anthropic models. The OpenAI→Anthropic tool-payload translation produces invalid schema. Same request works fine to OpenAI, Gemini, xAI, Ollama. (1 page)
  • v1.5.2 regression. OpenAI-format tool specs routed to Anthropic produce schema validation error 400. Same payload works for all other providers. Breaks every tool-using client through Bifrost. (1 page)
  • Claude in Chrome extension cannot connect to Claude Desktop MCP bridge. The Content Security Policy of claude.ai blocks the inline script required for reconnect flow. Connection fails silently with no user-visible error, leaving extension non-functional. (1 page)
  • CSP violation: 'script-src self' blocks inline script for reconnect flow. Extension shows as installed and enabled but list_connected_browsers returns 'not connected'. 24+ hours of troubleshooting by reporter. (1 page)
  • GitHub issue anthropics/claude-code#59406 (2026-05-15) with has-repro and area:permissions labels. The flag is supposed to allow but instead defaults to bypass, creating a security concern for enterprise users. Category: Claude Code permissions → AI Coding Tools. (1 page)

Related technologies

  • Claude Code (256 pages)
  • OpenCode
  • OpenClaw (1 page)
  • MCP servers
  • Bedrock

Troubleshooting clusters

  • Authentication and organization access errors
  • Permission and file edit errors
  • Tool call and MCP failures
  • Quota and usage limit errors
  • Model routing and provider errors
  • Session hangs and stream failures

Latest pages in this category

Top fixes

High-intent troubleshooting topics

  • how to fix AI Coding Tools errors
  • AI Coding Tools error fix
  • AI Coding Tools troubleshooting
  • AI Coding Tools authentication failed
  • AI Coding Tools timeout
  • AI Coding Tools permission denied
  • AI Coding Tools deployment failed
AI Coding Tools Claude Code

Claude Code /login Shows Success But Reverts to Not Logged In — Auth Persistence Bug

User ran /login in Claude Code on Windows, sees success message but tool remains unauthenticated and rejects all commands afterward Includes evidence for Claude Code troubleshooting demand.

/login shows "Login successful" but immediately reverts to "Not logged in". Any subsequent command fails with "Not logged in".
AI Coding Tools LangChain

LangChain with_structured_output() Silently Drops Previously Bound Tools

Developer calls langgraph.with_structured_output() expecting it to preserve pre-bound tools, but they are silently dropped — functional regression breaking LLM function calling workflows Includes evidence for LangChain troubleshooting demand.

[langchain-openai] with_structured_output() silently drops previously bound tools and lacks support for OpenAI native tool bindings
AI Coding Tools Claude Code

Claude Code MCP server auth returns HTTP 431 error on Linux

Fix Claude Code MCP server authentication returning HTTP 431 error on Linux platform Includes evidence for Claude Code troubleshooting demand.

HTTP ERROR 431 — MCP server authentication failure (browser restart!)
AI Coding Tools Claude Code

Claude Code OAuth Login Broken After Auto-Update v2.1.79

Fix Claude Code OAuth authentication failure after auto-update preventing login to AI coding assistant Includes evidence for Claude Code troubleshooting demand.

OAuth Request Failed — This isn't working right now. You can try again later
AI Coding Tools Claude Code

Claude Code Bash Tool Recursive Process Fork Bomb Consumes Entire Usage Quota

Claude Code user wrapping claude in shell function with --dangerously-skip-permissions accidentally triggers recursive process spawning (~197 instances), consuming entire monthly usage quota instantly Includes evidence for Claude Code troubleshooting demand.

[BUG] Running claude sessions list via Bash tool triggers recursive process fork bomb — spawns ~197 concurrent claude --dangerously-skip-permissions instances
AI Coding Tools Claude Code

Claude Code Unexpected Quota Consumption Spike Without Pattern Changes

Claude Code user experiencing sudden quota exhaustion (30%+ per message) despite unchanged usage — wants to understand why quota is consumed faster and how to fix Includes evidence for Claude Code troubleshooting demand.

[Bug] Unexpected quota consumption spike without usage pattern changes — RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
AI Coding Tools Claude Code

Anthropic API Error: 500 Internal Server Error in Claude Code

Claude Code session fails due to Anthropic backend 500 errors; user needs workaround or fix to continue coding session Includes evidence for Claude Code troubleshooting demand.

Anthropic API Error: 500 Internal Server Error
AI Coding Tools LangChain

LangChain ChatModel Rate Limit Exceeded Error Handling

LangChain application hitting LLM provider rate limits; developer needs to implement proper retry logic, exponential backoff, or request batching to prevent application crashes Includes evidence for LangChain troubleshooting demand.

Rate limit exceeded – please retry after X seconds (langchain)
AI Coding Tools Claude Code

Claude Code MCP OAuth DCR Fails: invalid_client_metadata Rejected

Fix OAuth Dynamic Client Registration failure when connecting Claude Code MCP servers to external services like Calendly Includes evidence for Claude Code troubleshooting demand.

MCP OAuth DCR fails for third-party service: client_name rejected as invalid_client_metadata
AI Coding Tools Claude Code

Claude Code Prompt Cache Bugs Inflating Costs by 10-20x

Developer discovers unexpectedly high token usage in Claude Code, searching for causes beyond normal rate limits — specifically cache-related cost inflation Includes evidence for Claude Code troubleshooting demand.

Prompt cache broken — silently inflates costs 10-20x in Claude Code; downgrading helps
AI Coding Tools Claude Code

Claude Code Rate Limit Errors Trigger Silent Retries in Automated Workflows

Developer automating Claude Code encounters unexplained daily quota exhaustion, seeking explanation for silent retry behavior Includes evidence for Claude Code troubleshooting demand.

Rate-limit errors appear as generic failures triggering silent retry loops, draining daily budget in minutes
AI Coding Tools Claude Code

Claude Code Usage Limits Draining Faster Than Expected — Max Plan Quota Exhaustion

Developer on paid Claude Code plan experiencing rapid quota drain, wants to understand why usage limits deplete so quickly and how to extend usage time Includes evidence for Claude Code troubleshooting demand.

Usage limits exhausted in Claude Code — 'Maxed out every Monday, resets Saturday' on $100/mo Max plan
AI Coding Tools Claude Code

MCP Server 未拒绝 Header 与 Body 协议版本不匹配的初始化请求

修复 MCP SDK 在 initialize 阶段同时接收 HTTP header 和 body 中的 protocolVersion 时,未能校验两者一致性的问题,避免 Claude Code/Cursor 等工具因版本协商失败导致的连接异常 Includes evidence for Claude Code troubleshooting demand.

initialize request accepted despite MISMATCHED MCP-Protocol-Version header vs body protocolVersion — server negotiates from JSON-RPC body, ignoring header

Browse all AI Coding Tools troubleshooting pages

Continue through the full static archive for this hub. Every listed page is crawlable and keeps its existing canonical URL.

Browse all AI Coding Tools troubleshooting pages