david.walker

Error with field_validators_c#.cs

0 votes

Hi,

I am testing the field_validators_c#.cs code from your website but I am getting an error: {"Could not create a new package. Exception: Unexpected character encountered while parsing value: <. Path '', line 1, position 1."}    OneSpanSign.Sdk.OssException

The code runs successfully using my sandbox account with the following changes made:

Added

using OneSpanSign.Sdk;
using OneSpanSign.Sdk.Builder;

and removed

using Silanis.ESL.SDK;
using Silanis.ESL.SDK.Builder;

Used OssClient instead of EslClient.

Saved sample_contract.pdf locally and updated file path.

Change apiURL to https://sandbox.esignlive.com/api from https://sandbox.e-signlive.com/api

In trying to get it work in our paid account, the only other changes I made were with the apiUrl and the apiKey. The apiUrl I'm using is https://gov.esignlive.com/api.

Is there something else I need to do?


Approved Answer

Reply to: Error with field_validators_c#.cs

0 votes

Hi David,

 

For FedRAMP environments, you will need to add a "signer-" prefix in front of the API URL:
https://signer-gov.esignlive.com/api

The domain without the prefix (https://gov.esignlive.com) is for UI portal access, and this is one of the notable differences between FedRAMP and other environments.

 

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