claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

API Error: request ended without sending any chunks

Open pnathan opened this issue 1 year ago • 4 comments

Bug Description API Error: request ended without sending any chunks - what's this even mean? I seem to be stuck there.

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 0.2.42
  • Feedback ID: f3264e27-1f21-496b-a9b5-a827fab7abd1

Errors

[{"error":"Error: request ended without sending any chunks\n    at Xu.I (file:///home/pnathan/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:27940)\n    at Xu._createMessage (file:///home/pnathan/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:24087)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-03-14T21:59:25.875Z"}]

More detailed: I had claude running on some work, doing some docker and integration test runs, and I went to do something else. When I came back it seemed to be stuck in this loop, despite exiting, restarting, and /clearing context.

Note that I am running this directly on the Ubuntu 24.04 laptop, no container/vm.

I'm not sure how to resolve this at this point without spending time resetting my environment. Let me know how I can help resolve this - I'm liking Claude Code!

pnathan avatar Mar 14 '25 22:03 pnathan

me too https://github.com/anthropics/claude-code/issues/494

timeless-residents avatar Mar 14 '25 22:03 timeless-residents

See: https://status.anthropic.com/ I don't think this is an issue with this tool

michaelirey avatar Mar 14 '25 22:03 michaelirey

Fixed! Sorry about that

bcherny avatar Mar 14 '25 22:03 bcherny

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.

github-actions[bot] avatar Aug 09 '25 14:08 github-actions[bot]