[BUG] API Error: 400 error

Resolved 💬 7 comments Opened Nov 22, 2025 by donghoon-song Closed Feb 9, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I can't get the response.

When I try to chat the error below occurs. I have already set the CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS = "1" as a workaround but doesn't work.

What Should Happen?

Claude code responds.

Error Messages/Logs

API Error: 400 {"error":{"message":"{\"message\":\"messages.0.content.3.text.cache_control.ephemeral.ttl: Extra inputs are not permitted\"}. Received 
    Model Group=claude-sonnet-4-5\nAvailable Model Group Fallbacks=None","type":"None","param":"None","code":"400"}}

Steps to Reproduce

chat anything.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.50

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗