[Bug] Anthropic API Error: Internal server error (500)/

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Nov 18, 2025 · closed Nov 18, 2025

Bug Description
I am getting this error \
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF3eHG2qcg3DXQjpstc3"}

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.0.32
  • Feedback ID: 9db3d60a-ce77-4e9e-b85c-0947db23241b

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CVF3hANsmUe3zYCfvFpKc\"}\n    at $4.generate (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:206:83308)\n    at Dk.makeStatusError (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:360:2117)\n    at Dk.makeRequest (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:360:5341)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Vc2.FA1.model (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3397:14776)\n    at async FA1 (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2745:39781)\n    at async Vc2 (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3397:14930)\n    at async file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3397:8667\n    at async $A0 (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3397:1970)\n    at async l8A (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3397:8637)","timestamp":"2025-11-18T08:34:26.579Z"},{"error":"lnA: Failed to install new version of claude:  npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XdlC40f7\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code' -> '/Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XdlC40f7'\nnpm error A complete log of this run can be found in: /Users/ahmedabdelfatah/.npm/_logs/2025-11-18T08_34_31_086Z-debug-0.log\n    at iDA (file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:389)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///Users/ahmedabdelfatah/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2861:32593","timestamp":"2025-11-18T08:34:31.620Z"}]

View original on GitHub ↗

3 Comments

github-actions[bot] · 11 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/11832
  2. https://github.com/anthropics/claude-code/issues/11834
  3. https://github.com/anthropics/claude-code/issues/11835

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

shawnm-anthropic · 11 months ago

https://status.claude.com/incidents/4bvvh93qjl25 - We should be recovered now. Thank you for reporting.

github-actions[bot] · 10 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.