randy.stephenson | Posts: 16

Validation Error -on uploadApiDocument, The number of Pre-Verify results does not match the number of documents that were sent for verification.

0 votes

We've started getting this error message on test cases that have previously worked with the same JDK version. Can you point me in the right direction?

com.silanis.esl.sdk.internal.EslServerException: Could not upload document to package. Exception: HTTP POST on URI https://sandbox.e-signlive.com/api/packages/zcL8xvxsiguXCQi6ZPFMxdYTGHc=/documents resulted in response with status code: [400, Bad Request]. Optional details: {"name":"Validation Error","message":"The number of Pre-Verify results does not match the number of documents that were sent for verification.","parameters":{"errorException":"PreVerifyDocumentCommand : (DE) Code 6 - PDF Library threw an exception with error message [Expected a dict object.]. "},"code":400,"messageKey":"error.validation.documentPreVerifyInvalidResponseNumberError"}

2025-08-15 15:45:33,491 INFO  [stdout] (default task-393)     at com.silanis.esl.sdk.service.PackageService.uploadApiDocument(PackageService.java:348)
 


glagace | Posts: 5

Reply to: Validation Error -on uploadApiDocument, The number of Pre-Verify results does not match the number of documents that were sent for verification.

0 votes

Hi Randy, we have the same problem here. For whatever reason, passing a PDF with Acrofields doesn't work anymore when creating the package...  

Have you found something?

Thanks


randy.stephenson | Posts: 16

Reply to: Validation Error -on uploadApiDocument, The number of Pre-Verify results does not match the number of documents that were sent for verification.

0 votes

glagace,  This is the first I'm hearing of this. This a major part of our implementation for a longstanding implementation. I hope there's a workaround. 


glagace | Posts: 5

Reply to: Validation Error -on uploadApiDocument, The number of Pre-Verify results does not match the number of documents that were sent for verification.

0 votes

I've tried uploading the PDF manually in the sandbox, instead of using the API, and I get the same error. The same PDF without acrofields is OK

Don't know what to think about this...

Edit: The same PDF with Acrofields still work on Production server.


glagace | Posts: 5

Reply to: Validation Error -on uploadApiDocument, The number of Pre-Verify results does not match the number of documents that were sent for verification.

0 votes

Hi Randy,

I don't know if you find something on your side, but here, our problem has been fixed. We had to contact the customer support and they had to disable a feature in our sandbox account.

Hope it helps.


randy.stephenson | Posts: 16

Reply to: Validation Error -on uploadApiDocument, The number of Pre-Verify results does not match the number of documents that were sent for verification.

0 votes

Thanks glagace . I did contact support last Friday and they are looking at it. I hope it's as easy as that!


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off