AWScala icon indicating copy to clipboard operation
AWScala copied to clipboard

generatePresignedUrl() for keys thats have spaces.

Open getmetorajesh opened this issue 9 years ago • 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.

getmetorajesh avatar Feb 15 '17 20:02 getmetorajesh

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.

CptnKirk avatar Jun 28 '17 22:06 CptnKirk