Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (19.1k points)
My PDF files are not getting downloaded from S3 in the chrome browser, however it is working using firefox or edge.

The console shows -  'Resource interpreted as other but transferred with MIME type undefined.'

Is it a problem from AWS end?

1 Answer

0 votes
by (44.3k points)

As this download is authenticated, then I would suggest you to force the download.

Check out this GetObject API to learn more about the same. 

In your GET request, you will have to add this:

response-content-disposition=attachment

Also, I think you can take a look at the AWS Lambda part of this AWS Tutorial and for more insights you can check the AWS training page :) 

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories

...