Bedrock models not working
Before submitting your bug report
- [x] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [x] I'm not able to find a related conversation on GitHub discussions that reports the same bug
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows
- Continue version: 1.3.22
- IDE version: VS Code latest
- Model: AWS Bedrock
- config: - name: Claude 4.5 Sonnet (Bedrock)
provider: bedrock
model: global.anthropic.claude-sonnet-4-5-20250929-v1:0
apiBase: https://bedrock-runtime.us-east-1.amazonaws.com
profile: default
OR link to agent in Continue hub:
Description
The Canonical String for this request should have been 'POST /model/global.anthropic.claude-sonnet-4-5-20250929-v1%253A0/converse-stream
amz-sdk-invocation-id:316bcdcb-57e2-4cab-9020-3de85ea01d68 amz-sdk-request:attempt=1; max=3 content-length:5627 content-type:application/json host:bedrock-runtime.us-east-1.amazonaws.com x-amz-content-sha256:f48e420d1a7e1bac57268030c65986341b3270b8936739753a85e3cd4adf195a x-amz-date:20251224T075624Z x-amz-user-agent:aws-sdk-js/3.779.0
amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent f48e420d1a7e1bac57268030c65986341b3270b8936739753a85e3cd4adf195a'
The String-to-Sign should have been 'AWS4-HMAC-SHA256 20251224T075624Z 20251224/us-east-1/bedrock/aws4_request b99e75b8cfe07b1dab9ba57e1c00242844cbf9a9cd620395c2c382229adc7d55'
it is not working for any model on bedrock
To reproduce
No response
Log output
Related Issues
Open Issues:
- #9232 - Blank content causing issue with AWS Bedrock
- #8975 - Bedrock authentication fails when HOME var is set
- #8297 - Amazon Bedrock Invalid Beta Flag Issue
- #7744 - AWS GovCloud Endpoint - Invalid Configuration: FIPS and custom endpoint are not supported
- #6645 - Bedrock: Add authentication using Bedrock API keys
- #3342 - AWS Bedrock Always Returns MaxTokens Error
Recently Closed Issues:
- #8408 - Error: Error processing Bedrock stream: Truncated event message received
- #6891 - Unable to use Claude4 with aws
- #6588 - Intermitent AWS Bedrock stream error (ECONNREST): aborted
- #5770 - VSCode: Autocomplete with AWS Bedrock triggers an error toast
- #4893 - Agent mode failing with Bedrock due to Tool
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!