Ruby on Rails
Tuesday, November 27, 2012
Hi All,
I am a newbie. I am following http://railscasts.com/episodes/383-uploading-to-amazon-s3?view=comments to upload file.
I am able to upload single file with carrierwave.
But I got 403(Forbidden) error when I try to upload multiple files using jquery file upload.
When I try to upload single/multiple file I get alert box saying failed to upload and in console it says "Failed to load resource: the server responded with a status of 403 (Forbidden)" and "XMLHttpRequest cannot loadhttps://xyz.s3.amazonaws.com/. Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin."
What do I need to do to fix this?
Thank you
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/qSuJ7fcVqhYJ.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment