Pre-verify error - Can't create package with a valid PDF
Thursday, June 20, 2024 at 02:07pmHello
We have already looked into all the other discussion regarding this error and nothing really helps. We have customer uploading some PDF that are getting rejected by OneSpan that aren't corrupted, encrytped and don't have NeedAppearances AccroForm flag.
I've attached a pdf that fails when added to a signature transaction that was taken from this thread below that had the same issue.
https://community.onespan.com/forum/unable-add-specific-documents-package
I can't link pdf uploaded by consumer, but it is the same issue as the one attached.
We are already using library to check if the pdf is valid, not encrypted and that it doesn't have the AccroForm NeedAppearances. What else should we check?
Can we know what is used by OneSpan to validate that the PDF is a valid one so that we can implement the same logic and avoid having to handle these error with our customer. It is really a bummer. Or is there an API that we could call to validate the PDF other than having to create a package when the user upload the pdf to validate it? We can't create unlimited packages as there is a price to it.
Thanks
David
Reply to: Pre-verify error - Can't create package with a valid PDF
Thursday, June 27, 2024 at 07:58amThe attached PDF is failing to upload in WebUI resulting in ERROR
The document failed to upload and may be locked. Please check the document and try again.
This usually occurs due to PDF Syntax or the Unsupported font used in the document.
Preflighting this PDF we do see the warning in the attached image.
Please try to fix the issues on the document.
Alternatively, you can Flatten the document by performing the steps below and re-upload the document.
Flattening the document :
Go to File –> Print
Reply to: Pre-verify error - Can't create package with a valid PDF
Friday, June 28, 2024 at 01:43pmThanks for Preflighting the PDF, we didn't know the font could be an issue as the error returned by OneSpan is not helpful. I understand that we can re-print the PDF and then use that one, but we can't expect consumers using our platform to do that. We need to programmatically detect that. We will see what we can do. We already did for Accroform, so I guess we can find out a way for the font not embedded.
Thanks.
David