⎿ API Error: 500 {"type":"error","error":{"type":"api_err...
Status Fixed / completed
Reported on v2.1.3
Maintainer reply None cached
Activity 8 comments · opened Feb 3, 2026 · closed Feb 25, 2026
Bug Description
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXmPrqFMZ9PHKJUbF2kdu"}
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.3
- Feedback ID: 496ab6f3-0383-427a-ac9d-31f3e1f790bb
Errors
[{"error":"xD1: Insufficient permissions for global npm install.\n at I$0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2785:1139)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async $HA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2795:43)\n at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2828:10615","timestamp":"2026-02-03T15:45:34.525Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPrWtYZMuRzvhvpr2zm\"}\n at C9.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:492:33827)\n at qP.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:914:2195)\n at qP.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:914:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async f81.model (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4346:6290)\n at async f81 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1064:97633)\n at async vH9 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4346:6444)\n at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4344:3799\n at async r70 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1065:1998)\n at async ZHA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4344:3769)","timestamp":"2026-02-03T15:45:34.741Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPrXF8KuwkGZDP9Jc85\"}\n at C9.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:492:33827)\n at qP.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:914:2195)\n at qP.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:914:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async f81.model (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4346:6290)\n at async f81 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1064:97633)\n at async vH9 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4346:6444)\n at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4344:3799\n at async r70 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1065:1998)\n at async ZHA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4344:3769)","timestamp":"2026-02-03T15:45:34.861Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPrXDeC1C2LsJ7fARSp\"}\n at C9.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:492:33827)\n at qP.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:914:2195)\n at qP.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:914:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async f81.model (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4346:6290)\n at async f81 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1064:97633)\n at async vH9 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4346:6444)\n at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4344:3799\n at async r70 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1065:1998)\n at async ZHA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4344:3769)","timestamp":"2026-02-03T15:45:35.084Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPrp5Qbgq18DHak76Ms\"}\n at C9.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:492:33827)\n at qP.makeStatusError (file://
Note: Error logs were truncated.
8 Comments
same... windows - ❯
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CXmPix87uZ28a9Et14uJe"}
+1
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXmPv4hKT7cCbrxuiZ2i6"}
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXmQ1TtE26XP5o71Eg1CW"}
+1
I get internal server errors for opus, sonnet, and haiku. i've tried logging in again, no luck. also i note that the model names have disappeared from the usage screen:
<img width="920" height="403" alt="Image" src="https://github.com/user-attachments/assets/260f2884-4db6-4077-af93-550627e159c8" />
Hi folks, thanks for reporting this. These 500 errors were caused by transient API outages on the Anthropic side — not a bug in Claude Code itself. The API is currently healthy, so I'm closing this out. If you're still experiencing 500 errors, you can check the API status at https://status.anthropic.com, and if the issue persists while the status page is green, please open a new issue with your request ID and we'll investigate.
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.