Skip to content

[BUG] Bedrock model identifier becomes invalid #9182

@zenithfull

Description

@zenithfull

Problem (one or two sentences)

When using AWS Bedrock's Claude 4 Sonnet,
I encountered a large number of errors stating:
“The provided model identifier is invalid.”

This error occurs in Roo Code 3.30.2 and above, but does not occur in Roo Code 3.30.1 and below.

Image

Context (who is affected and when)

Please tell me the model name.

Reproduction steps

1.Register profile information using the AWS CLI
2.Select “AWS Profile” in the provider settings and specify the registered profile name and Bedrock model name

Image

Expected result

The name of the selected BedRock model is displayed.

Actual result

"The provided model identifier is invalid." is displayed in large numbers.

Variations tried (optional)

No response

App Version

v.3.30.2 or later

API Provider (optional)

AWS Bedrock

Model Used (optional)

anthropic.claude-sonnet-4-20250514-v1:0 (Cross-region inference)

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions