asafdav / ng-s3upload

Upload to S3 using AngularJS
MIT License
190 stars 83 forks source link

Getting EntityTooLarge error back from s3 for files larger than 10MB #31

Closed jeberly closed 10 years ago

jeberly commented 10 years ago

Getting EntityTooLarge error back from s3 for files larger than 10MB.

StuClift commented 10 years ago

The policy returned by the example ruby code includes a condition limiting the content length to a range between 0 and 10MB.

[ "content-length-range", 0, 10 * 1024 * 1024 ]

Try increasing the maximum range for the content length returned by your policy, or remove it altogether.

asafdav commented 10 years ago

@GWStuartClift again thank you! I'll update the README to clarify this point