Codex CLI bug: OpenAI backend rejects zstd-compressed requests over ~110x ratio with bare 400

Pengpengwanga · ghdev · 2026-11-14

A developer filed issue #61489 on openai/codex: Codex CLI 0.167.0 with ChatGPT auth enables enablerequestcompression by default, zstd-compressing request bodies sent to chatgpt.com/backend-api/codex/responses. When the body compresses too well (tested: base64 images at zstd level 3 pass at ≤ 106x, fail deterministically at ≥ 117x), the backend returns a bare 400 Bad Request, while the same uncompressed request succeeds.

Key points:

Original post →

More from coding & agent

coding & agent channel →