Yaak Logo
Yaak
Feedback/AWS Sign V4 calculation error

AWS Sign V4 calculation error

jiejiecn ·3 months ago
In Progress

When I use Yaak to POST a request to AWS Beckrock Claude model with a modelId “

us.anthropic.claude-haiku-4-5-20251001-v1:0“, it gives a error “

"message": "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.\n\nThe Canonical String for this request should have been\n'POST\n/model/us.anthropic.claude-haiku-4-5-20251001-v1%3A0/invoke\n\ncontent-type:application/json\nhost:bedrock-runtime.us-east-2.amazonaws.com\nx-amz-content-sha256:UNSIGNED-PAYLOAD\nx-amz-date:20251127T164007Z\n\ncontent-type;host;x-amz-content-sha256;x-amz-date\nc738119b0763a280b66595797a8841a150de06c92412d06c18c5b56c1d29d6b8'\n\nThe String-to-Sign should have been\n'AWS4-HMAC-SHA256\n20251127T164007Z\n20251127/us-east-2/bedrock/aws4_request\n86c91c01e62ae09c21c13a4b64cb26c640133f1514a43202345c27815f2e1056'\n"

Seems the colon in the modelId was not correctly encoded.

Windowsv2025.7.3

Comments (3)

Sign in to leave a comment.

Gregory Schier

Can you see if this works in Beta 10?

https://yaak.app/blog/2025.9.0-beta.10

jiejiecn OP

I tried with beta10, not working.

Gregory Schier

K, I guess i’ll need to actually reproduce this to fix it. Thanks for the confirmation!

Type to search feedback...