I get a Signature is invalid error when generating a signature on the server

Device: Lenovo Yoga series 7

  • OS: Windows 11
  • Browser: Chrome
  • Browser Version: 113.0.5672.93

When I generate a signature on the local server, I use it to connect without any problems. But using AWS Lambda I generate a signature and get a “Signature is invalid” error. All the data is correct, in fact I am using the same code with the same data, only on the remote AWS Lambda server.

do you have a sample of the signature generated on Lambda?

After several hours of searching, I was able to find the problem. There was an extra space in the secret key…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.