angular-s3-upload
angular-s3-upload copied to clipboard
unable to upload file in the demo page
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>
@cheynewallace can u please answer the above issue?
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.