sushmakanugu

Error on deleting a document

0 votes
Hello, Am receiving the below error on deleting a document. When does this error occur? "Exception":"Silanis.ESL.SDK.EslServerException: Could not delete document from package. Exception: The remote server returned an error: (400) Bad Request. HTTP DELETE on URI https://sandbox.esignlive.com/api/packages/Vk-Wf0lNYV0PSC-7DN4lD1dZ3W4=/documents/consent-Buyer. Optional details: {\"messageKey\":\"error.validation.document.visibility.recipientWithNoVisibleDocument\",\"code\":400,\"name\":\"Validation Error\",\"message\":\"The changes cannot be saved because some recipients do not have any documents visible to them.\"} Thanks, Sushma

Reply to: Error on deleting a document

0 votes
Hey Sushma, The reason why you are getting that error is because you have setup document visibility. More specifically, you are trying to delete a document where you will have a signer who will not see any documents, which is not allowed in esignlive. Every signer must see at least one document in a transaction. To fix this issue, you will either have to make sure that every signer sees at least one document after deleting that particular document or remove the signer from the transaction associated with the document.
Haris Haidary OneSpan Technical Consultant

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