Mike Cannon


60 Experience
67 Lessons Completed
0 Questions Solved


Posted in Amazon S3 in blog tutorial error

Thank you Chris - subscribed to GoRails today. Your suggestion got me past the error I was having but not quite there to being able to upload an image to S3. Now it's throwing:

SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.AKIA6GBMFLWUWUVRFEWIAWS4-HMAC-SHA256

I have triple checked the access keys so I know they are correct. How do you check the signing method?

Posted in Amazon S3 in blog tutorial error

I am following the Go Rails blog tutorial. Currently trying to work through trying to set up Amazon S3 to upload images from the blog app. I've retraced the steps from the blog numerous times. I know that my access_key_id and secret_access_key are set in my credentials file but can't get past the following error:
Aws::Sigv4::Errors::MissingCredentialsError in ActiveStorage::DirectUploadsController#create

missing credentials, provide credentials with one of the following options:

  • :access_key_id and :secret_access_key
  • :credentials
  • :credentials_provider

Any insight is appreciated.