[BUG] API Error: request ended without sending any chunks
Resolved 💬 19 comments Opened Mar 14, 2025 by Mike00000001 Closed Mar 14, 2025
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
Environment
- Platform:
- Anthropic API
- Claude CLI version: 0.2.42 (Claude Code)
- Operating System: WSL Ubuntu
Bug Description
Claude Code has been working perfectly for days now, and I just started receiving this error from any prompt. Exiting and restarting does not fix. I can not currently use at all.
Error: API Error: request ended without sending any chunks
Steps to Reproduce
Enter any prompt into claude code
Expected Behavior
A response and action
Actual Behavior
API Error
19 Comments
Same thing.. not sure why.
have the same
Nice to know I am in good company. 😁
same happened to me after the update, time to open up Cline i guess lol
Having the same issue. Tried:
None of these fixes worked approach worked.
│ - Environment info: macos, vscode, v0.2.42 │
me too https://github.com/anthropics/claude-code/issues/494
I forgot how to do work without Claude Code.... guess I take rest of day off?
Same here. From the responses I assume Anthropics API is down.
Last version that works is:
I get:
Thanks! I reverted
Nice I was just making my way down the versions (was at 0.2.40) lol
Wow, that totally works for me!
Thank you very much!
I cannot even send a message now, hitting the enter after typing in a message does nothing
Downgrading got it working for me thanks to this tip:
npm install -g @anthropic-ai/claude-code@0.2.39
https://github.com/anthropics/claude-code/issues/502#issuecomment-2725885156
Fixed! Sorry about that
@bcherny, there is regression in version
1.0.8.Im getting this is
1.0.9This 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.