[BUG] Bedrock, Sonnet 3.5
Resolved 💬 4 comments Opened Mar 7, 2025 by dgalide Closed Mar 20, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [x] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.32
- Operating System: macOS 14.6.1
- Terminal: iTerm2
Bug Description
Bedrock proxy does not seems to work with sonnet 3.5.
Steps to Reproduce
export ANTHROPIC_MODEL="eu.anthropic.claude-3-5-sonnet-20240620-v1:0"claude- any query
Expected Behavior
requests would go through
Actual Behavior
API Error: 400 You invoked an unsupported model or your request did not allow prompt
Additional Context
https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#connect-to-amazon-bedrock
documentation precise we can override model (i'm in europe so 3.7 not yet available in eu-west-3) so i'm using 3.5. But got 400 status all the time.
On the other hand the documentation says "Claude Code requires access to both Claude 3.7 Sonnet and Claude 3.5 Haiku models, regardless of which API provider you use." So it's not clear to me if i can run claude code with 3.5 awaiting 3.7 availability in europe.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗