⎿ API Error: 500 {"type":"error","error":{"type":"api_err...
Resolved 💬 8 comments Opened Feb 3, 2026 by anyappx 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.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗