Skip to main content
Participant
September 27, 2024
Question

Bad_PDF when calling PDF Extract API

  • September 27, 2024
  • 1 reply
  • 410 views

Hi team, the attached PDF file failed to parse, when I call the extract PDF api.

 

The error is as follows. 

code: BAD_PDF

message: BAD_PDF - Unable to extract content.

Status: 400

 

This file could be opened correctly in Adobe Acrobat Reader.

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    September 27, 2024

    The PDF is malformed. Acrobat/Reader has some "repair" technology built into it that will fix bad PDF when it can. Extract API does not have this.