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

Status Fixed / completed
Reported on v2.1.16
Maintainer reply ✓ Yes — bogini
Activity 14 comments · opened Jan 22, 2026 · closed Jan 22, 2026
💡 Likely answer: A maintainer (bogini, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
facing this bug: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXPBnuj8xeMV8GCV4uBS9"}

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.16
  • Feedback ID: aba2ca52-6c8b-4b5b-8926-259fa3ed4096

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at vW (/$bunfs/root/claude:11:35097)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at y2R (/$bunfs/root/claude:1479:380)\n    at y2R (/$bunfs/root/claude:1479:1350)\n    at <anonymous> (/$bunfs/root/claude:1479:4440)\n    at <anonymous> (/$bunfs/root/claude:1479:5171)\n    at A (/$bunfs/root/claude:11:7244)\n    at pX8 (/$bunfs/root/claude:4784:4342)\n    at async <anonymous> (/$bunfs/root/claude:6099:2116)","timestamp":"2026-01-22T22:13:58.266Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/ricardo/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at vW (/$bunfs/root/claude:11:35097)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at y2R (/$bunfs/root/claude:1479:380)\n    at y2R (/$bunfs/root/claude:1479:1350)\n    at <anonymous> (/$bunfs/root/claude:1479:4483)\n    at <anonymous> (/$bunfs/root/claude:1479:5171)\n    at A (/$bunfs/root/claude:11:7244)\n    at pX8 (/$bunfs/root/claude:4784:4342)\n    at async <anonymous> (/$bunfs/root/claude:6099:2116)","timestamp":"2026-01-22T22:13:58.266Z"},{"error":"Error: Failed to delete keychain entry\n    at lFB (/$bunfs/root/claude:3903:6937)\n    at async OrB (/$bunfs/root/claude:5192:592)\n    at async sqB (/$bunfs/root/claude:5192:496)\n    at async GNA (/$bunfs/root/claude:2297:62923)\n    at async startOAuthFlow (/$bunfs/root/claude:2297:64454)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T22:14:04.985Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXPBnuj8xeMV8GCV4uBS9\"}\n    at generate (/$bunfs/root/claude:144:37694)\n    at makeRequest (/$bunfs/root/claude:161:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T22:14:19.737Z"}]

View original on GitHub ↗

14 Comments

Quelaan1 · 7 months ago

Same

thepra · 7 months ago

Same here

rajeshgoli · 7 months ago

same

ArturoTorresMartinez · 7 months ago

Same

SteveGreen27 · 7 months ago

Was working fine in 2.1.15 then exited and back in and upto 2.1.17 and same error
Downgraded to 2.1.16 and same error

Quelaan1 · 7 months ago

Duplicate issue

ldriss · 7 months ago
wshobson · 7 months ago

+1

Quelaan1 · 7 months ago

Simple fix logout and login

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20176
  2. https://github.com/anthropics/claude-code/issues/20177
  3. https://github.com/anthropics/claude-code/issues/20179

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

coygeek · 7 months ago

npx @anthropic-ai/claude-code@2.1.14

Works as a workaround.
NPX doesnt override your current installation.

geopopos · 7 months ago
Simple fix logout and login

worked for me too

bogini collaborator · 7 months ago
github-actions[bot] · 7 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.