title: SignatureDoesNotMatch - Amazon S3 API
body: <p>I am using a PHP class for Amazon S3 and CloudFront - <a href="https://github.com/tpyo/amazon-s3-php-class">Link</a>. But when I try to upload a file into a bucket, I get this error:</p>
  
  <blockquote>
    <p>[SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method.</p>
  </blockquote>
  
  <p>How to fix it?</p>
  
  <p>Thanks.</p>