I am using a PHP class for Amazon S3 and CloudFront - Link. But when I try to upload a file into a bucket, I get this error:
[SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method.
How to fix it?
Thanks.
I had this error with putObject()
when specifying a Key
starting with slash character (/
) - after removing the slash it worked fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With