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

preguntada hace 2 años1,2 mil visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas