I’m encountering an issue when trying to configure AWS Bedrock to use Anthropic Claude models in Cursor IDE. My setup works fine in other tools (e.g., I can successfully use the same API key with the Claude CLI), but it fails in Cursor with an authentication error.
Details:
-
Environment: Cursor IDE (latest version, on macOS/Windows – please specify if needed)
-
Configuration:
-
Provider: AWS Bedrock
-
Access Key ID: [My valid AWS Access Key ID – redacted for privacy]
-
Secret Access Key: [My valid AWS Secret Access Key – redacted for privacy]
-
Region: ap-northeast-1
-
Test Model: us.anthropic.claude-3-5-sonnet-20241022-v2:0
-
We encountered an issue when using your API key: Provider was unable to process your request.
API Error: The security token included in the request is invalid.
(Request ID: bf5d2594-6fd4-4f9b-a0c6-47e4a760322)
Are there any temporary fixes, diagnostic steps, or error logs I should capture? I’m open to providing additional info via DM if helpful.