Manually sign AppSync URL to use in Lambda gives bad signature error
问题 In a Lambda, I would like to sign my AppSync endpoint with aws-signature-v4 in order to use it for a mutation. The URL generated seems to be ok but it gives me the following error when I try it : { "errors" : [ { "errorType" : "InvalidSignatureException", "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. etc... } ] } Here is my lambda function import {