I am using NodeJs to upload files to AWS S3. I want the client to be able to download the files securely. So I am trying to generate signed URLs, that expire after one usage. My
I kept having a similar problem but mine were due to region settings. In our back end we had some configuration settings for the app.
One of which was "region": "us-west-2"
so the presigned url was created with this region but when it was called on the front end the region was set to "us-west-1"
.
Changing it to be the same fixed the issue.