Error with field_validators_c#.cs
Thursday, December 9, 2021 at 10:04amHi,
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?
Reply to: Error with field_validators_c#.cs
Thursday, December 9, 2021 at 10:37amHi 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
Reply to: Error with field_validators_c#.cs
Thursday, December 9, 2021 at 10:47amThanks!