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
Copy link to clipboard
Copied
Can you post the file in question?
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!
Copy link to clipboard
Copied
That last sentence is pretty much my SoP... sadly.
Copy link to clipboard
Copied
Yes, it was all my fault!
Took a while to unpick but it's ok now.
Appreciate your response though!