[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"}]

View original on GitHub ↗

43 Comments

bhanuka96 · 8 months ago

Same issue:

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF2ZFZLFcBfbdyLbuWug"}

martinbon39 · 8 months ago

same :

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF2jTfdfRJinwiyQNKw1"}

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/9066
  2. https://github.com/anthropics/claude-code/issues/3868
  3. https://github.com/anthropics/claude-code/issues/10890

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

syafiq555 · 8 months ago

me too

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
     error"},"request_id":"req_011CVF2f2ZAFmWHvdW3DPfyV"}
Sshetty2 · 8 months ago

Seeing the same issue

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF2yus7Nm7jv8fVYCkvf"}
dml0sc · 8 months ago

I am seeing the same issue
API Error: 500
{"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":

amine05boutaleb · 8 months ago

Same here

nhuthuynh-lava · 8 months ago

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" />

syafiq555 · 8 months ago

https://status.claude.com/ still says all systems operational lol

catagris · 8 months ago

Same here from S. Korea:
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF3M7wEBQvRQoUNGW1kJ"}

iyuta1124 · 8 months ago

I’m experiencing the same issue as well.

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF3JLSUNRMpQQopPGjXL"}
oliverherbelin · 8 months ago

Same. The https://status.claude.com shows "no error reported".
Where to report issues?

Antony26111996 · 8 months ago

<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.

kreuzj · 8 months ago

experiencing same issue as well (VS Code)

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF3Uuv99pzjp9zZWsapA"}

prog32 · 8 months ago

Same: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CVF3g75QuMATCjaJ7VhC2"}

bogoconic1 · 8 months ago

Same issue

Heggeg · 8 months ago

Same :(

CaoCuong-FinX · 8 months ago

same

akeyace · 8 months ago

This error appears to occur with Sonnet.
I was able to work around it by using Haiku or Opus with the /model command.

Antony26111996 · 8 months ago

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]

joseph-holland · 8 months ago

It also only seems to impact Claude Code (both local and the claude.ai/code web version) and not the desktop app.

khyeonm · 8 months ago

same issue

dml0sc · 8 months ago

There is certainly something going on – https://statusgator.com/services/anthropic?

juuuuuuuuuuuuuu · 8 months ago

저도 동일한 문제가발생하고 있습니다.

crossee · 8 months ago

same issue

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF4x1DzrY3n3KuqM9sEq"}

maksimzinchuk · 8 months ago

same... API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF4e8QMGMWT8yVtH5Suu"}

kalamareo · 8 months ago

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CVF4ogjnUFP5TTn5iDa8F"}

yaulhae · 8 months ago

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF4kjWPRhpD4mMxawR4M"}

Lito2022 · 8 months ago

Charging for the subscription never fails, but using it never does, which is a shame.

kibaek-kimm · 8 months ago

Same here.

⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF59z5sTzb2a2R7purBQ"}
AraneaDev · 8 months ago

Same issue here, switching to Opus using /model opus does work ... but burns your tokens 5 times as fast as Sonnet ><

dhu0585-cmyk · 8 months ago

Sonnet down!! Time to see what Haiku can do :)

joseph-holland · 8 months ago

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

Dev-Specilist · 8 months ago

It's only Sonnet model. So if you use haiku or opus, you can use claude.

Fabian-Wacker-Starke · 8 months ago

The bug is just for Sonnet. Use Opus or Haiku as quick fix.

joseph-holland · 8 months ago
It's only Sonnet model. So if you use haiku or opus, you can use claude.

Opus... I'm not made of money 😆. Yes, switched to Haiku now and subscribed to updates.

YustasDev · 8 months ago

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"}

Th0MmyS · 8 months ago

Haiku just break as well

AbdallahAt · 8 months ago

Same here, posting to watch issue API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVF7kcw6x9TRWHyzQtzgL"}

bhanuka96 · 8 months ago

Issue is resolved.

shawnm-anthropic · 8 months ago

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

ben4mn · 7 months ago

I am still having this exact issue (I made sure I am updated) is it 100% resolved?

(I submitted as a bug via CC)

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.