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

后端 未结 30 2595
谎友^
谎友^ 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:39

    In my case I parsed an S3 url into its components.

    For example:

    Url:    s3://bucket-name/path/to/file
    

    Was parsed into:

    Bucket: bucket-name
    Path:   /path/to/file
    

    Having the path part containing a leading '/' failed the request.

提交回复
热议问题