cloudydeno / deno-aws_api

From-scratch Typescript client for accessing AWS APIs
https://deno.land/x/aws_api
59 stars 3 forks source link

Signing issue with urlencoding #26

Open danopia opened 2 years ago

danopia commented 2 years ago

I tried getting a path like /2013-04-01/hostedzone/%2Fhostedzone%2FZ1LZDA11I5YD8/rrset by accident, and it broke the signature:

AwsServiceError: InvalidSignatureException: 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.

Probably need to consult more docs and/or see if the aws-fetch project handles this case better.