[Bug] Anthropic API Error: Internal Server Error (500)
Resolved 💬 43 comments Opened Nov 18, 2025 by MattMsh Closed Nov 18, 2025
Bug Description
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF2SADRMCtQ8sPbvUNqg"}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.0.44
- Feedback ID: d87230a2-738f-4db8-98ca-d05b0a87bcd4
Errors
[{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:441:20)\n at Object.readFileSync (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n at pMQ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3918:1209)\n at Object.call (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1662:909)\n at q35 (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2005:49083)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-18T07:59:42.270Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nD (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:970:4489)\n at file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:970:4217\n at Array.map (<anonymous>)\n at BV (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:970:4208)\n at LRQ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1693:3660)\n at U$ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:105:19414)\n at Ne (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:42814)\n at h9 (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:38355)\n at Vl (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:38283)\n at j$ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:38137)","timestamp":"2025-11-18T08:11:52.851Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nD (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:970:4489)\n at file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:970:4217\n at Array.map (<anonymous>)\n at BV (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:970:4208)\n at LRQ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1693:3660)\n at U$ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:105:19414)\n at Ne (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:42814)\n at h9 (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:38355)\n at Vl (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:38283)\n at j$ (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:107:38137)","timestamp":"2025-11-18T08:11:52.853Z"},{"error":"Error: Request was aborted.\n at Ja._createMessage (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:439:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-18T08:14:51.850Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CVF2SADRMCtQ8sPbvUNqg\"}\n at W9.generate (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:435:18198)\n at i_.makeStatusError (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:715:2117)\n at i_.makeRequest (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:715:5341)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Zt2.CsA.model (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3596:14569)\n at async CsA (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1830:39781)\n at async Zt2 (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3596:14723)\n at async file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3596:7908\n at async zv1 (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1594:1971)\n at async f6A (file:///Users/matvii/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3596:7878)","timestamp":"2025-11-18T08:17:56.828Z"}]
43 Comments
Same issue:
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF2ZFZLFcBfbdyLbuWug"}
same :
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF2jTfdfRJinwiyQNKw1"}
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
me too
Seeing the same issue
I am seeing the same issue
API Error: 500
{"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":
Same here
Same as mine, facing this issue at the moment
<img width="534" height="57" alt="Image" src="https://github.com/user-attachments/assets/9a41c997-6442-47a5-a9a7-2855c7c9c916" />
https://status.claude.com/ still says all systems operational lol
Same here from S. Korea:
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF3M7wEBQvRQoUNGW1kJ"}
I’m experiencing the same issue as well.
Same. The https://status.claude.com shows "no error reported".
Where to report issues?
<img width="1372" height="320" alt="Image" src="https://github.com/user-attachments/assets/26053d42-b7dc-46c2-9364-63f9bd620a26" />
I am also getting this error. Please help me to fix this.
experiencing same issue as well (VS Code)
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF3Uuv99pzjp9zZWsapA"}Same: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CVF3g75QuMATCjaJ7VhC2"}
Same issue
Same :(
same
This error appears to occur with Sonnet.
I was able to work around it by using Haiku or Opus with the /model command.
For workaround, you can uninstall the latest claude code and install the previous claude code version to resolve this issue.
For example - npm install -g @anthropic-ai/claude-code@1
npm install -g @anthropic-ai/claude-code@[version]
It also only seems to impact Claude Code (both local and the claude.ai/code web version) and not the desktop app.
same issue
There is certainly something going on – https://statusgator.com/services/anthropic?
저도 동일한 문제가발생하고 있습니다.
same issue
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF4x1DzrY3n3KuqM9sEq"}
same... API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF4e8QMGMWT8yVtH5Suu"}
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CVF4ogjnUFP5TTn5iDa8F"}
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF4kjWPRhpD4mMxawR4M"}
Charging for the subscription never fails, but using it never does, which is a shame.
Same here.
Same issue here, switching to Opus using /model opus does work ... but burns your tokens 5 times as fast as Sonnet ><
Sonnet down!! Time to see what Haiku can do :)
Feck... Does not one actually check if the bug theya re submitting is a dupe? There's loads of seperate issues raised now 😆.
I can see Anthropic updated the status page to note the issues - https://status.claude.com/
Elevated error rates to Sonnet 4.5 on Claude Code
Investigating - We are currently investigating this issue.
Nov 18, 2025 - 08:55 UTC
It's only Sonnet model. So if you use haiku or opus, you can use claude.
The bug is just for Sonnet. Use Opus or Haiku as quick fix.
Opus... I'm not made of money 😆. Yes, switched to Haiku now and subscribed to updates.
For any query in the Claude Code, I only see: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF7TFnPminFLdK3K66nt"}
Haiku just break as well
Same here, posting to watch issue API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF7kcw6x9TRWHyzQtzgL"}
Issue is resolved.
https://status.claude.com/incidents/4bvvh93qjl25 - We should be recovered now. Thank you for reporting.
I am still having this exact issue (I made sure I am updated) is it 100% resolved?
(I submitted as a bug via CC)
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.