Answer: A gateway that strips a beta header while passing the body, or forwards an Anthropic-format body to an upstream with a different schema, produces 400 errors; rewriting or redacting request bodies breaks the pairing the same way stripping does. Status: Confirmed Entry: tool/claude-code/troubleshooting/beta-header-pass-through Revision: 4 Digest: sha256:ffd0e7260794644a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:32Z Last changed: 2026-11-17T12:27:06Z (Prompt caching symptom: — → No error) Last verified: 2026-11-20T12:21:45Z Next check: 2026-11-21T12:21:45Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Error when header stripped | 400 | [1] | 2026-11-20 Body rewriting effect | breaks the pairing the same way stripping does | [1] | 2026-11-20 Context management symptom | Extra inputs are not permitted | [1] | 2026-11-20 Extended context symptom | Silently unavailable | [1] | 2026-11-20 Tool fields symptom | 400 | [1] | 2026-11-20 Effort/structured outputs symptom | Extra inputs are not permitted | [1] | 2026-11-20 Prompt caching symptom | No error | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code gateway compatibility guide". https://code.claude.com/docs/en/llm-gateway-protocol.md Role: primary. Accessed: 2026-11-20T12:21:45Z Quote: "A gateway that strips the header while passing the body, or forwards an Anthropic-format body to an upstream with a different schema, produces `400` errors." (Supports: Error when header stripped) Quote: "A gateway that rewrites or redacts request bodies for content inspection breaks the pairing the same way stripping does, so inspect without modifying." (Supports: Body rewriting effect) Quote: "`400` with `Extra inputs are not permitted`." (Supports: Context management symptom) Quote: "Silently unavailable when the header is stripped; the upstream never sees the capability request" (Supports: Extended context symptom) Quote: "`400` naming the unrecognized tool schema field when the body passes through without its header." (Supports: Tool fields symptom) Quote: "`400` naming `output_config`, often `Extra inputs are not permitted`, on Amazon Bedrock and Google Cloud's Agent Platform upstreams" (Supports: Effort/structured outputs symptom) Quote: "No error: the conversation bills as uncached input on every turn, visible as high `input_tokens` with little or no cache activity in `usage`" (Supports: Prompt caching symptom) Published: 2026-11-20T02:52:11Z Snapshot SHA-256: 69d37ce069cd6825d247359e759779d435bac199a3b4c690d33789700fdeca32 (captured 2026-11-17T12:27:05Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:27:06Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:21:45Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:21:45Z Last attempt: 2026-11-20T12:21:45Z Notes and limitations: Extracted automatically from a single official source (section "Feature pass-through"). Related: https://latestn.com/tool/claude-code/troubleshooting/check-cache-performance How can I check Claude Code's cache hit rate or cache performance? https://latestn.com/tool/claude-code/troubleshooting/check-loaded-context How do I check which CLAUDE.md, settings, hooks, or MCP servers actually loaded in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/configure-tmux How do I configure Claude Code to work properly inside tmux? https://latestn.com/tool/claude-code/troubleshooting/auto-mode-classifier-eligibility How do I make a Claude Code session eligible for no-charge auto mode classifier requests? https://latestn.com/tool/claude-code/troubleshooting/auto-mode-classifier-notice-cause Why does Claude Code show the notice that this session isn't eligible for auto mode's no-charge classifier requests? https://latestn.com/tool/claude-code/troubleshooting/aws-gateway-troubleshooting How do I troubleshoot issues when deploying Claude apps gateway on AWS? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T12:27:06Z | changed | Prompt caching symptom: — → No error | [1] 2026-11-17T12:27:06Z | changed | Tool fields symptom: — → 400 | [1] 2026-11-17T12:27:06Z | changed | Error when header stripped: — → 400 | [1] 2026-11-17T12:27:06Z | changed | Beta tool fields symptom: 400 → — | [1] 2026-11-17T12:27:06Z | changed | Extended context symptom: Silently unavailable when the header is stripped → Silently unavailable | [1] 2026-11-17T12:27:06Z | changed | Behavior when both halves absent: the feature turns off quietly → — | [1] 2026-11-17T12:27:06Z | changed | Error when header stripped but body passed: 400 → — | [1] 2026-11-15T12:21:49Z | changed | Effort/structured outputs symptom: — → Extra inputs are not permitted | [1] 2026-11-15T12:21:49Z | changed | Beta tool fields symptom: — → 400 | [1] 2026-11-15T12:21:49Z | changed | Extended context symptom: — → Silently unavailable when the header is stripped | [1] 2026-11-15T12:21:49Z | changed | Body rewriting effect: — → breaks the pairing the same way stripping does | [1] 2026-11-15T12:21:49Z | changed | Error when header stripped but body passed: — → 400 | [1] 2026-11-15T12:21:49Z | changed | Prompt caching symptom: No error: the conversation bills as uncached input on every turn → — | [1] 2026-11-15T12:21:49Z | changed | Extended context/interleaved thinking symptom: Silently unavailable when the header is stripped → — | [1] 2026-11-15T12:21:49Z | changed | Rewriting/redacting bodies: breaks the pairing the same way stripping does → — | [1] 2026-11-15T12:21:49Z | changed | Symptom of stripping header while passing body: 400 → — | [1] 2026-11-14T12:17:33Z | changed | Prompt caching symptom: — → No error: the conversation bills as uncached input on every turn | [1] 2026-11-14T12:17:33Z | changed | Extended context/interleaved thinking symptom: — → Silently unavailable when the header is stripped | [1] 2026-11-14T12:17:33Z | changed | Rewriting/redacting bodies: — → breaks the pairing the same way stripping does | [1] 2026-11-14T12:17:33Z | changed | Effort set per turn symptom: messages.N: system content must contain at least one block → — | [1] 2026-11-14T12:17:33Z | changed | Effort and structured outputs symptom: Extra inputs are not permitted → — | [1] 2026-11-14T12:17:33Z | changed | Beta tool fields symptom: 400 → — | [1] 2026-11-14T12:17:33Z | changed | Extended context and interleaved thinking symptom: Silently unavailable when the header is stripped → — | [1] 2026-11-14T12:17:33Z | changed | Body rewriting effect: breaks the pairing the same way stripping does → — | [1] 2026-11-13T03:04:32Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/beta-header-pass-through/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/beta-header-pass-through POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/beta-header-pass-through with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/beta-header-pass-through?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What happens in Claude Code when a gateway strips beta headers or body fields? Revision 4, last verified 2026-11-20T12:21:45Z. https://latestn.com/tool/claude-code/troubleshooting/beta-header-pass-through (accessed 2026-11-21T09:59:39Z). @misc{LatestN_tool_claude_code_troubleshooting_beta_header_pass_through_r4, title = {What happens in Claude Code when a gateway strips beta headers or body fields?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/beta-header-pass-through}}, note = {Revision 4; digest sha256:ffd0e7260794644a; last verified 2026-11-20T12:21:45Z; accessed 2026-11-21T09:59:39Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/beta-header-pass-through