Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
AWS Bedrock is enabled and credentials appear to work (catalog returns Bedrock models; Auto succeeds with BYOK routing). But selecting any explicit Bedrock model ID fails immediately with:AI Model Not Found Model name is not valid: “”
Steps to Reproduce
- Open
Cursor Settings→Models→ enable AWS Bedrock, enter Access Key / Secret / Region. - Confirm models refresh succeeds (Bedrock models appear in the picker; locally we see
useBedrock=true,bedrockReturnedModelCount=16). - Create a new Agent chat.
- Select an explicit Bedrock ID from the picker (examples below).
- Send a short message (
ping).
Expected Behavior
Selecting an explicit Bedrock inference-profile / model ID from the picker (or via Add Custom Model) should invoke that model through my AWS Bedrock credentials, as documented in AWS Bedrock | Cursor Docs
Operating System
MacOS
Version Information
Version: 3.28.7 OS: Darwin arm64 (macOS) Channel: stable
For AI issues: which model did you use?
us.anthropic.claude-opus-5us.anthropic.claude-opus-5-5us.anthropic.claude-opus-4-8us.anthropic.claude-sonnet-5us.anthropic.claude-opus-4-5-20251101-v1:0
For AI issues: add Request ID with privacy disabled
5f347e25-63b1-45fb-8971-9c28c8c6adbf— failed withModel name is not valid: "us.anthropic.claude-sonnet-5"- Happy to provide more request IDs from Opus / dated-profile failures if useful.
Additional Information
- Cursor plan: Pro+
- Auth path: Access Key + Secret in IDE (not IAM Role;
hasBedrockIamRole=falsein logs)
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor