When providing multiple querystring parameters (e.g. to aws_s3:list_objects/8) the response from AWS is the error The request signature we calculated does not match the signature you provided. Check your key and signing method..
How to reproduce
Run the following with valid values for bucket and prefix:
The result is an error specifying that The request signature we calculated does not match the signature you provided. Check your key and signing method..
Root cause
The querystring parameters are sorted in reverse order. The request sends ?prefix=prefix&delimiter=%2F and the expected querystring as reported by the error returned from AWS should be ?delimiter=%2F&prefix=prefix.
Description
When providing multiple querystring parameters (e.g. to
aws_s3:list_objects/8
) the response from AWS is the errorThe request signature we calculated does not match the signature you provided. Check your key and signing method.
.How to reproduce
Run the following with valid values for
bucket
andprefix
:The result is an error specifying that
The request signature we calculated does not match the signature you provided. Check your key and signing method.
.Root cause
The querystring parameters are sorted in reverse order. The request sends
?prefix=prefix&delimiter=%2F
and the expected querystring as reported by the error returned from AWS should be?delimiter=%2F&prefix=prefix
.