Free tool
SigV4 canonical request debugger
SignatureDoesNotMatch says nothing about which part is wrong. This shows every step so you can find the line that differs.
Runs in your browser with Web Crypto. Nothing you type, including the secret, is sent anywhere. Use a test key, not a production one.
How to use it
- Paste the request your client sent: method, URL, every header it signed and the payload hash.
- Compare the canonical request with the one in the server's error. The first differing line is the cause: path encoding, query order, a header value, the signed header list or the payload hash.
- If both texts match but the signature does not, the secret, region or service is wrong: compare the key chain.
The loaded example is the AWS documentation's S3 GET request and gives its published signature. For the walk-through, read Signing an S3 request by hand. Need a bucket to test against? See the plans.