• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Getting - ServiceApiError: BAD_PDF - Unable to extract content.: The input file is not a PDF file

Community Beginner ,
May 30, 2024 May 30, 2024

Copy link to clipboard

Copied

Hello

 

I've been using the ExtractPDF API for a while now but have recently been getting these errors:

ServiceApiError: BAD_PDF - Unable to extract content.: The input file is not a PDF file

 

The most recent had a tracking ID - 51ba6902-fd2d-4543-ad7a-e8b35a26d58c

and error code - BAD_PDF_FILE_TYPE

 

This is happening to files that I've put through the API before and they worked and they are PDF files.

 

Can anyone help with this?

 

Thanks

TOPICS
PDF Extract API

Views

404

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 30, 2024 May 30, 2024

Copy link to clipboard

Copied

Can you post the file in question?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 30, 2024 May 30, 2024

Copy link to clipboard

Copied

Thanks for replying but I've backtracked through some changes I made to my code to an earlie version and the same files work so I think I've broken something.

 

Ironically the work I'd added was related to error handling!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 30, 2024 May 30, 2024

Copy link to clipboard

Copied

That last sentence is pretty much my SoP... sadly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 30, 2024 May 30, 2024

Copy link to clipboard

Copied

LATEST

Yes, it was all my fault!

 

Took a while to unpick but it's ok now.

 

Appreciate your response though!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources