chris-josongmail-com | Posts: 30

SignDocuments(pkgId, signerId) throws "Could not authenticate using signer..."

0 votes
I have setup a sandbox environment for v11 and tried out the SignDocuments() for a signer. However, I’m getting this error:
An unhandled exception of type 'Silanis.ESL.SDK.EslException' occurred in Silanis.ESL.dll
Additional information: Could not authenticate using a signer authentication token. Exception: Object reference not set to an instance of an object.
For this call:
SignDocuments(PackageId packageId, string signerId) 
> AuthenticationService.GetSessionIdForSignerAuthenticationToken
Thanks

Approved Answer
harishaidary | Posts: 1812

Reply to: SignDocuments(pkgId, signerId) throws "Could not authenticate using signer..."

0 votes
I had no trouble executing this call:
eslClient.SignDocuments(new PackageId("2mmtw1q0u0qhz1cfV_FFgrmscNE="), "Provider");
Are you sure you are passing "Provider" as the id in the call above?

harishaidary | Posts: 1812

Reply to: SignDocuments(pkgId, signerId) throws "Could not authenticate using signer..."

0 votes
Hi Chris, can you share a package id for which this error is happening?

chris-josongmail-com | Posts: 30

Reply to: SignDocuments(pkgId, signerId) throws "Could not authenticate using signer..."

0 votes
Hi Haris, Here's the packageId:
2mmtw1q0u0qhz1cfV_FFgrmscNE=
Thanks

chris-josongmail-com | Posts: 30

Reply to: SignDocuments(pkgId, signerId) throws "Could not authenticate using signer..."

0 votes
Thanks Haris. Got it to work now. Was previously testing it out on top of the ESL SDK examples project (https://github.com/eSignLive/esl.sdk.net), and that's still throwing error. But then it works when i'm using a separate project directly referencing latest SDK. Thanks again

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