Skip to main content
Participant
June 12, 2022
Question

Unable to get valid pdf parsed

  • June 12, 2022
  • 1 reply
  • 438 views

I am trying to get a PDF extracted with PDF Extract API .. but it gives this error: 

adobe.pdfservices.operation.exception.exceptions.ServiceApiException: description =BAD_PDF - Unable to extract content. File is corrupted, malformed or an empty PDF;

 Even though I am able to open the pdf, not sure what is going wrong.

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
June 13, 2022

Can you share the PDF in question? Being able to open the PDF isn't a way to validate that it's a well-formed file. Most PDF viewers will "repair" a corrupt file before showing it. Most APIs don't.

Participant
September 11, 2022

I did not post this question, but I am having the same problem.  Here is my PDF.  Any input would be helpful.  Also, is there code to repair the PDF or bypass the bad pages and keep going?