sumantasaha

Onespan Error During Package Creation - Error Response 500

0 votes
Hi, We are using rest api to integrate onespan and thus creating packages using code. However, we are getting the following error response when we are sending the package for signature {"code":500,"technical":"error.eslx.inputValidation.documentPreVerifyInvalidResponseNumberError [#12b6f7ee-9e16-40c5-b52c-f19007da5ded]","messageKey":"error.internal.default","message":"Unexpected error. We apologize for any inconvenience this may have caused you, please try again. If the problem persists, please contact our support team.","name":"Unhandled Server Error"} Please help us in understanding, as to where we are missing. Thanks, Sumanta

Reply to: Onespan Error During Package Creation - Error Response 500

0 votes

Hi Sumanta, Usually "documentPreVerifyInvalidResponseNumberError " error is caused by the encoding way of the binary data which can’t be recognized by OSS system. Kindly check this previous thread to see whether it helps. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Onespan Error During Package Creation - Error Response 500

0 votes
Thanks for your reply. We are using Base64.isBase64(fileContent) method from apache commons to check whether the file is base64 encoded, where the field "fieldContent" is byte array of the file. But its reply is false. However, I tried opening the documents in Notepad (text editor) the the start of the file is something like %PDF-1.5 %âãÏÓ 1 0 obj Hence, what my understanding is the pdf is not base64 encoded, and we are trying to upload them as is. We need your help in resolving the issue. Just to update, I have already read the article, you mentioned. Could you please recommend those tweaks in the custom code. Also, please feel free to communicate if any thing is required. Thanks, Sumanta

Reply to: Onespan Error During Package Creation - Error Response 500

0 votes
Hey Sumanta, Could you pass a sample document that's failing for you (with no Personal Identifiable Information (PII) in it) along with the payload you're sending (again with no PII in the JSON - replace actual signer info with dummy info). If you cannot post them in here, please send to [email protected].

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Onespan Error During Package Creation - Error Response 500

0 votes
Hi Sumanta, If possible, could you also send to [email protected] with the code snippet you used to build your HTTP request and to convert PDF to byte array, along with the sample document and dummy payload Michael mentioned above? Thanks a lot! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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