The pdf getting stored in s3 is not opening and giving an error

0

Error Failed to load PDF document.

This error appears when I try to open the pdf which gets downloaded by clicking on the url. I have also added the permissions- { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowPutObject", "Effect": "Allow", "Principal": "", "Action": [ "s3:PutObject", "s3:GetObject" ], "Resource": "arn:aws:s3:::applicationsbucket/" } ] }

asked 2 years ago1.2K views
1 Answer
0

Hi rePost-User-3607988,

Thank for posting your question here. If you are able to download the object, can you make sure that object was in readable format when it was uploaded. How was it uploaded?

Also, I'd like to know, how are you opening the pdf, through browser or adobe acrobat, which browser are you using?

profile pictureAWS
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions