AWS s3 file downloads are not working in Chrome (Works fine with IE, Mozilla, Safari) AWS s3 file downloads are not working in Chrome (Works fine with IE, Mozilla, Safari) google-chrome google-chrome

AWS s3 file downloads are not working in Chrome (Works fine with IE, Mozilla, Safari)


I had this problem too. The solution it to force Chrome to download the PDF file instead of trying to open it in its reader.

In your GET request, append response-content-disposition=attachment. Refer to the S3 documentation on how to do this.

More details available here.