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/" } ] }

demandé il y a 2 ans1,2 k vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions