[BUG] API Error: request ended without sending any chunks
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
Additional Context
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:
- Logging out, then logging in again.
- Uninstalling and reinstalling.
- Running in iterm instead of in vscode
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?
Having the same issue. Tried:
- Logging out, then logging in again.
- Uninstalling and reinstalling.
Same here. From the responses I assume Anthropics API is down.
Last version that works is:
npm install -g @anthropic-ai/[email protected]
I get:
╭──────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /home/stevenlafl/Projects/project│
╰──────────────────────────────────────────────────╯
> hello
● Hello! How can I help you with the project today?
Last version that works is:
npm install -g @anthropic-ai/[email protected]I get:
╭──────────────────────────────────────────────────╮ │ ✻ Welcome to Claude Code research preview! │ │ │ │ /help for help │ │ │ │ cwd: /home/stevenlafl/Projects/project│ ╰──────────────────────────────────────────────────╯ > hello ● Hello! How can I help you with the project today?
Thanks! I reverted
Last version that works is:
npm install -g @anthropic-ai/[email protected]I get:
╭──────────────────────────────────────────────────╮ │ ✻ Welcome to Claude Code research preview! │ │ │ │ /help for help │ │ │ │ cwd: /home/stevenlafl/Projects/project│ ╰──────────────────────────────────────────────────╯ > hello ● Hello! How can I help you with the project today?
Nice I was just making my way down the versions (was at 0.2.40) lol
Last version that works is:
npm install -g @anthropic-ai/[email protected]I get:
╭──────────────────────────────────────────────────╮ │ ✻ Welcome to Claude Code research preview! │ │ │ │ /help for help │ │ │ │ cwd: /home/stevenlafl/Projects/project│ ╰──────────────────────────────────────────────────╯ > hello ● Hello! How can I help you with the project today?
Wow, that totally works for me!
Last version that works is:
npm install -g @anthropic-ai/[email protected]I get:
╭──────────────────────────────────────────────────╮ │ ✻ Welcome to Claude Code research preview! │ │ │ │ /help for help │ │ │ │ cwd: /home/stevenlafl/Projects/project│ ╰──────────────────────────────────────────────────╯ > hello ● Hello! How can I help you with the project today?
Thank you very much!
I cannot even send a message now, hitting the enter after typing in a message does nothing
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/[email protected]
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.9
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.