How to set ACL to public-read when adding a file to S3 or DigitalOcean

I have a function that adds a file to Digital Ocean Spaces. Files are Private by default. I want the files to be public for reading. I added "x-amz-acl": "public-read" in headers to get public files. This solution does not work. The API does not accept and returns the SignatureDoesNotMatch error. There is nothing in… Read More How to set ACL to public-read when adding a file to S3 or DigitalOcean