Brendan | Posts: 4

Error calling GetSigningUrl()

0 votes
Hi, I am trying to get a signing url for a package and get this error: Could not get a signing url. Exception: Unexpected character encountered while parsing value: . Path '', line 0, position 0. Unexpected character encountered while parsing value: . Path '', line 0, position 0. at Silanis.ESL.SDK.Services.PackageService.GetSigningUrl(PackageId packageId, Role role) at Silanis.ESL.SDK.Services.PackageService.GetSigningUrl(PackageId packageId, String signerId) My code is very simple
EslClient client = new EslClient(_apiKey, _apiUri);
string url = client.PackageService.GetSigningUrl(new PackageId(packageId), signerId);
My package is created with a single signer that has a custom id.

harishaidary | Posts: 1812

Reply to: Error calling GetSigningUrl()

0 votes
Can you please share a package id for which you are experiencing this issue? Usually this error occurs when there is a connection issue to eSignLive (for example wrong proxy configuration).

Brendan | Posts: 4

Reply to: Error calling GetSigningUrl()

0 votes
Thanks, I worked out the issue. My problem was I had added myself (the sender) as the only signer, apparently it doesn't like that...

Brendan | Posts: 4

Reply to: Error calling GetSigningUrl()

0 votes
Back again - it seems I was wrong. I have narrowed it doen to it occurring when creating a package from a template and replacing the placeholder. I think it's because it doesn't apply the custom Id properly.

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