seratch/AWScala

generatePresignedUrl() for keys thats have spaces.

getmetorajesh opened this issue · 1 comments

Whenever I try to generatePresignedUrl for keys(key: /some_folder/file name.JPG) with spaces, it generates the URL, but the URL returns 403 with the below error message

The request signature we calculated does not match the signature you provided. Check your key and signing method.

I had a similar issue with keys that contained ':' chars. The root cause was a bug in the underlying aws sdk. awscala pulls in a very old sdk version. Manually pull in a current aws sdk version into your project and this issue should go away. I'm using 1.11.115 and the problem is gone for me.