cinely / mule-uploader

Stubborn HTML5 Amazon S3 uploader
http://mule-uploader.com/
MIT License
223 stars 43 forks source link

Mule Uploader via Heroku - S3 Forbidden access #17

Closed jacquesletesson closed 10 years ago

jacquesletesson commented 10 years ago

Hi there,

I installed Mule Uploader via Heroku but I keep getting an InvalidRequest from Amazon S3.

Any idea on what could cause that problem ?

Thanks in advance,

J.

<Error>
<Code>InvalidRequest</Code>
<Message>
Key is not expected for the GET method ?uploads subresource
</Message>
<RequestId>6E1607B97C361A92</RequestId>
<HostId>
yPS7iPyoSJMxy7WJckChmqYbyTQ4vOpkOJuDPQTiiCQhp9ppXaIUkbIN8nu2K67e
</HostId>
</Error>

My S3 CORS Configuration is

<CORSConfiguration>
    <CORSRule>
         <AllowedOrigin>http://basedrop.herokuapp.com/</AllowedOrigin>
         <AllowedMethod>PUT</AllowedMethod>
         <AllowedMethod>POST</AllowedMethod>
         <AllowedMethod>DELETE</AllowedMethod>
         <AllowedMethod>GET</AllowedMethod>
         <AllowedMethod>HEAD</AllowedMethod>
         <MaxAgeSeconds>3000</MaxAgeSeconds>
         <AllowedHeader>*</AllowedHeader>
     </CORSRule>
</CORSConfiguration>

http://basedrop.herokuapp.com/

jacquesletesson commented 10 years ago

The AMAZON S3 user wasn't assigned to a group with proper permissions.