[Bug] API Error: Non-streaming request receives event-stream response (HTTP 200)

Status Open
Reported on v2.1.235
Maintainer reply None cached
Activity 0 comments · opened Aug 19, 2026

Bug Description
API Error: API returned an empty or malformed response (HTTP 200) — check for a proxy or gateway intercepting the request. Response: content-type event-stream, body is an event stream (the non-streaming request was answered with a stream), 72152 bytes, request-id req_011CeBbKAf5TcH9AxP9Lk2dh, server cloudflare, intermediary headers anthropic-* cf-cache-status cf-ray. This was the non-streaming retry of streaming request (no Anthropic request-id), which failed with: other; 0 stream events received.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.235
  • Feedback ID: 33d307cf-d7b0-49d9-b7e7-2f562f1d1cdf

Errors

[{"error":"UnexpectedApiResponseError: API returned an empty or malformed response (HTTP 200) — check for a proxy or gateway intercepting the request. Response: content-type event-stream, body is an event stream (the non-streaming request was answered with a stream), 8592 bytes, request-id req_011CeBbwzSh6GwRZgGMXrazJ, server cloudflare, intermediary headers anthropic-* cf-cache-status cf-ray. This was the non-streaming retry of streaming request (no Anthropic request-id), which failed with: other; 0 stream events received.\n    at <anonymous> (/$bunfs/root/cli:21698:9354)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-08-19T06:05:16.184Z"}]

View original on GitHub ↗