⌨️CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS
Also known as CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS
Set to 1, it strips pre-release betas from each request.
Think of it like
It is like you peel the new stickers off a toy. Then it fits in the old box.
Example
Jack's gateway says Extra inputs are not permitted on every call. He sets this, and the calls go through.
Why it matters
Strict gateways reject fields they do not know. This makes the requests plain enough to pass.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1
claudeCommon mistake
Key takeaways
- 1Strips betas. Headers and fields.
- 2For strict gateways. Unexpected value errors.
- 3Some features stop. Such as tool search.