I send out an automated email for orders, and am now trying to have a link to download the a PDF receipt.
User's are getting an error in the browser when trying to download saying "This XML file does not appear to have any style information associated with it. The document tree is shown below."
I've gone into the bucket and run "Make Public" on the receipt bucket, still no luck. File structure is:
app-name/uploads/order/receipt
What do I need to do to allow permissions for User's to be able to download their receipts?
When you make a bucket public you should get a new URL that looks like this
http://bucketName.s3-website-us-east-1.amazonaws.com/uploads/order/receipt
... you should use that one in your mail.
But bear in mind that all data is available public, maybe you go better with pre-signed s3 urls that you distrbuted per client.