raghuvarma

Error While Retrieving Pending Signatory information

0 votes

Hello,


As part of retrieving the signatory information for a DocumentPackage we are getting Errors if a particular Signatory(part of various signatories) has not completed the signing.


The documentation i n the SDK to retrieve the SigningStatus sepecifies the following:-

 Retrieves the current signing status of the DocumentPackage, Document or Signer specified.

* @param packageId Id of the DocumentPackage who's status we are to retrieve

* @param signerId If not null, the id of the signer who's status we are to retrieve

* @param documentId If not null, the id of the document who's status we are to retrieve

Even after providing all the data we witness this error:-
com.silanis.esl.sdk.internal.RequestException: HTTP GET on URI https://sandbox.eSignLive.com/api/packages/ZysOd_bf1_VqFqDgbfrTjun7fpU=/signingStatus?signer=role2&document=96953ce026fd1172b9aea093709f0e55ba0f30a393ce1f19

resulted in response with status code: [404, Not Found].

Optional details: {"technical":"Could not find the signer summary in the transaction summary 'ZysOd_bf1_VqFqDgbfrTjun7fpU=' with signer uid 'role2'",

"messageKey":"error.notFound.signerNotFound",

"code":404,

"message":"The specified signer cannot be found.",

"name":"Resource Not Found"}

Meanwhile when all the Signatories have completed the signing's the response is appropriate.


SDK version used:- 11.33


Reply to: Error While Retrieving Pending Signatory information

0 votes

Hi raghuvarma,

 

For the Signing Status API/SDK function, the prompt parameter "signer" refers to the signer ID (signer email also works in this case). After checking in backoffice, I found that ONLY the recipient's role ID is "role2", signer ID wasn't specified and therefore be randomly generated. To quick fix it, you have two options here:

(1)when use the signer builder, set .withCustomId("role2") instead of .withRoleId("role2")

(2)pass in signer's email instead of signer ID

 

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