Claude Code · tool · fg-0538

Large requests to api.anthropic.com are now gzip compressed even with telemetry disabled, breaking some proxies

If you see A proxy or inspection layer in front of api.anthropic.com rejects or cannot read request bodies after upgrading, the cause and the fix for Claude Code are below, last verified 2026-10-17.

Verified Oct 2026trust 50/100
Symptom
A proxy or inspection layer in front of api.anthropic.com rejects or cannot read request bodies after upgradingRequest bodies show Content-Encoding gzip when telemetry is off
Cause
From 2.1.300, large requests to api.anthropic.com use gzip compression regardless of telemetry setting.
Fix
Disable gzip request bodies, or make the proxy accept gzip.
Apply
export CLAUDE_CODE_GZIP_REQUEST_BODIES=0
Affected
Claude Code 2.1.300 and later
Sources

Last verified 2026-10-17 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun