AWS S3 - How to fix 'The request signature we calculated does not match the signature' error?

后端 未结 30 2690
谎友^
谎友^ 2020-11-29 08:05

I have searched on the web for over two days now, and probably have looked through most of the online documented scenarios and workarounds, but nothing worked for me so far.

30条回答
  •  感动是毒
    2020-11-29 08:22

    In my case I was using s3.getSignedUrl('getObject') when I needed to be using s3.getSignedUrl('putObject') (because I'm using a PUT to upload my file), which is why the signatures didn't match.

提交回复
热议问题