[Bug] Anthropic API Error: Unexpected 500 Server Response

Resolved 💬 2 comments Opened Sep 24, 2025 by humanwritten Closed Sep 24, 2025

Bug Description
500's :(

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.120
  • Feedback ID: f83e8881-3671-4958-96f1-fb4a09485082

Errors

[{"error":"Error: Failed to install Claude CLI package: npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/timapple/.claude/local/node_modules/@anthropic-ai/.claude-code-HbSPyXnu\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code' -> '/Users/timapple/.claude/local/node_modules/@anthropic-ai/.claude-code-HbSPyXnu'\nnpm error A complete log of this run can be found in: /Users/timapple/.npm/_logs/2025-09-23T23_51_49_317Z-debug-0.log\n    at wd (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1586:577)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.current (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3398:5543)","timestamp":"2025-09-23T23:51:49.449Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Overloaded\"},\"request_id\":null}\n    at i9.generate (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:992:2654)\n    at IP.makeStatusError (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1009:2131)\n    at IP.makeRequest (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1009:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async RJB.ZI1.showErrors (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1919:29907)\n    at async ZI1 (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1919:18054)\n    at async RJB (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1919:29690)\n    at async file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1919:24439\n    at async aq0 (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1919:4362)\n    at async u01 (file:///Users/timapple/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1919:24409)","timestamp":"2025-09-24T07:38:08.004Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗