Getting below error while uploading image through paperclip in ROR.
AWS::S3::Errors::AccessDenied Access Denied
Below is the s3 settings:
:default_url => "/assets/:style/dummy.png",
:storage => :s3,
:s3_credentials => "s3.yml",
:path => "/user/:id/:style/:filename",
:url => ":s3_domain_url",
:s3_region => 'us-east-1'
s3.yml
setting:
development:
bucket: my_bucket_name
access_key_id: 'access_key'
secret_access_key: 'secret_key'
any workaround for this error?