angular-s3-upload icon indicating copy to clipboard operation
angular-s3-upload copied to clipboard

unable to upload file in the demo page

Open akocmark opened this issue 9 years ago • 2 comments

Hi! I tried the demo page but i am unable to upload files directly to my s3 bucket. Here's what I got

<Error><Code>InvalidRequest</Code><Message>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.</Message><RequestId>478B319062870F45</RequestId><HostId>3P+XrvsgxcinuABC0snhgi/WaZzF/BTS7SYCoivtRragTjM3tAS/fHEv0RWEx8pZEcQbxCpJMBY=</HostId></Error>

akocmark avatar Jun 23 '15 13:06 akocmark

@cheynewallace can u please answer the above issue?

umakusumuru avatar Nov 24 '16 04:11 umakusumuru

Its due to the Signature V2 introduced by AWS for the new regions. To resolve this issue you need to create a policy with the signature.

http://stackoverflow.com/questions/26533245/the-authorization-mechanism-you-have-provided-is-not-supported-please-use-aws4

http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html

http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html

This above URL might help you out.

IMfenil avatar Apr 05 '17 15:04 IMfenil