Reputation: 10748
I've got Paperclip configured like so:
config.paperclip_defaults = {
:storage => :s3,
:s3_credentials => {
:bucket => ENV['S3_BUCKET_NAME'],
:access_key_id => ENV['AWS_ACCESS_KEY_ID'],
:secret_access_key => ENV['AWS_SECRET_ACCESS_KEY']
}
}
But my uploads' urls 404 with:
The specified key does not exist.
It looks like:
Upvotes: 2
Views: 2133
Reputation: 6620
It would mean that file doesn't exist on Amazon S3 to where you are point the image url to. Did you check the url path?
Upvotes: 1