How to validate if a document holds required text-anchor?
Thursday, January 5, 2017 at 11:27pmHello Team,
I have the following scenario: I am trying to create a Package with a PDF document, which is provided as binary stream. I also want to add a Signer(s) Signature(s) and to locate these through corresponding text-anchors. In case when the required text-anchors are not available in th ePDF document I get the following Error:
com.silanis.esl.sdk.internal.EslServerException: Could not upload document to package. Exception: HTTP POST on URI https://sandbox.esignlive.com/packages/qYSDX1Frsvn5-T-F8Hg39g5fWm4=/documents resulted in response with status code: [400, Bad Request]. Optional details: { "messageKey":"error.validation.verifyDocument.couldNotBeFlattened", "message":"Could not upload PDF document: it contains a syntax error preventing proper processing of its data.", "code":400, "name":"Validation Error" }which then results in my Package created and in DRAFT State and this outcome is not required. My question is: Is there a functionality in the SDK where I could validate if the required text-anchor is present in the provided PDF binary stream, before I send the EslClient - "Create&Send" call? Thank you very much.
Reply to: How to validate if a document holds required text-anchor?
Friday, January 6, 2017 at 04:42amReply to: How to validate if a document holds required text-anchor?
Friday, January 6, 2017 at 05:08amReply to: How to validate if a document holds required text-anchor?
Friday, January 6, 2017 at 05:14amReply to: How to validate if a document holds required text-anchor?
Sunday, January 8, 2017 at 09:04pmThank you very much for the suggestion Haris, I created the request as suggested. Validate PackageDocument before Package Create or Create&Send
Reply to: How to validate if a document holds required text-anchor?
Thursday, January 19, 2017 at 01:49amReply to: How to validate if a document holds required text-anchor?
Thursday, January 19, 2017 at 04:05amReply to: How to validate if a document holds required text-anchor?
Thursday, January 19, 2017 at 09:03pm