claude-code - 💡(How to fix) Fix [BUG]Claude Code desktop app, AWS Bedrock, us-east-2, "invalid model identifier" error, started today, two machines affected, one machine that is the root user on AWS Bedrock is working fine through Claude Code -working fine with identical credentials.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

An API error occurred API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0. An API error occurred API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

Error Messages/Logs

An API error occurred API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0. An API error occurred API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0. An API error occurred Try sending your message again. View details API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

Code Example

An API error occurred
Try sending your message again.
View details
API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

An API error occurred Try sending your message again. View details API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

What Should Happen?

An API error occurred Try sending your message again. View details API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

Error Messages/Logs

An API error occurred
Try sending your message again.
View details
API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

Steps to Reproduce

An API error occurred Try sending your message again. View details API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

opus 4.6

Claude Code Version

An API error occurred Try sending your message again. View details API Error (claude-opus-4-6): 400 The provided model identifier is invalid.. Try --model to switch to us.anthropic.claude-opus-4-1-20250805-v1:0.

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

<img width="3840" height="1332" alt="Image" src="https://github.com/user-attachments/assets/8535bb5a-dbbd-416f-a7c0-4c7b198f0199" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING