anacronw / multer-s3

multer storage engine for amazon s3
MIT License
660 stars 190 forks source link

ACL key seems to be case-sensitive #213

Open londos opened 6 months ago

londos commented 6 months ago

When setting access control {acl: 'public-read'}, I get an "Access Denied" error. Upper-casing the key {ACL: 'public-read'} fixes the issue, but doesn't seem to be documented.

TimeLord2010 commented 3 months ago

This also backed by this stackoverflow question. I was have an error thrown, and changing to upper case solved.

Confunsingly, the exact opposite seems to have been the solution some time ago.