You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're making a request to AWS bedrock's converse endpoint using AWSSigV4Signer and AWSHttpRequest in Flutter. When the Model ID contains a colon (i.e., anthropic.claude-v2:1 or cohere.command-r-v1:0), the response is as follows:
"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."
The response is correct for models without a colon (i.e., amazon.titan-text-express-v1 or anthropic.claude-v2).
Categories
Analytics
API (REST)
API (GraphQL)
Auth
Authenticator
DataStore
Notifications (Push)
Storage
Steps to Reproduce
Create signed http request to to AWS Bedrock's converse endpoint
Configure different model IDs to test (e.g., anthropic.claude-v2, anthropic.claude-v2:1)
Configure the payload for the request
Send the request; observe response for the different models
Platforms
iOS
Android
Web
macOS
Windows
Linux
Flutter Version
3.24.0
Amplify Flutter Version
aws_common: ^0.7.1
aws_signature_v4: ^0.6.1
The text was updated successfully, but these errors were encountered:
Seems to be working with doubleEncodePathSegments set to false in the serviceConfiguration of the signer. Would be nice if this was exposed/obvious at the higher level.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Description
We're making a request to AWS bedrock's converse endpoint using AWSSigV4Signer and AWSHttpRequest in Flutter. When the Model ID contains a colon (i.e.,
anthropic.claude-v2:1
orcohere.command-r-v1:0
), the response is as follows:"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."
The response is correct for models without a colon (i.e.,
amazon.titan-text-express-v1
oranthropic.claude-v2
).Categories
Steps to Reproduce
anthropic.claude-v2
,anthropic.claude-v2:1
)Platforms
Flutter Version
3.24.0
Amplify Flutter Version
The text was updated successfully, but these errors were encountered: