Issue
An error is shown when trying to execute any method with a new instance of AssureSign.
For example, Method GetTemplates
Error Code
In host server logs:
"502266","2022-09-13 06:15:42","Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker rExecuteSmartObject]","10702 An error occurred in the NAME_AssureSign Service Instance. Error reading JObject from JsonReader. Path '', line 0, position 0.","anonymous","0.0.0.0","ffdemo:C:Program FilesK2Host ServerBin","502266","6dd3800c34fb42098c506f88b8bfc075",""
Resolution
On you K2 server, connected with the K2 service account, verify if you have access to https://account.assuresign.net with Internet explorer. If you don't have access, add https://*.assuresign.net to the list of trusted sites:
Additional Information
You will not face issues with the SmartObject "Environment", method "Get User Environments".