Error while creating a package using sandbox api
Wednesday, October 24, 2018 at 12:53pmHi ,
I'm getting this error only on my TEST server , works fine on my local machine. Could you please advise ?
Database Exception Could not create a new package. Exception: Object reference not set to an instance of an object.System.NullReferenceException: Object reference not set to an instance of an object.
at Silanis.ESL.SDK.Internal.HttpMethods.PostHttp(String apiToken, String path, Byte[] content)
at Silanis.ESL.SDK.RestClient.Post(String path, String jsonPayload)
at Silanis.ESL.SDK.Services.PackageService.CreatePackage(Package package) at Silanis.ESL.SDK.Services.PackageService.CreatePackage(Package package)
at Silanis.ESL.SDK.EslClient.CreatePackage(DocumentPackage package)
Since I'm using 4.5.2 .NET Framework , I even tried adding this to my code , still no use .
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 //TLS 1.1
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 //TLS 1.2
Reply to: Error while creating a package using sandbox api
Wednesday, October 24, 2018 at 03:18pmHi Sharada, First, can you try calling this function on your test server:
This is the most basic function we suggest to use testing connection with OneSpan Sign, and if this works, it means your connection (proxy or tls related issue) with OSS is fine. And if this call doesn't success, per this thread, can you try switch your test server to .Net 4.6 and then let's see whether the problem remains. Hope this could help! Duo
Reply to: Error while creating a package using sandbox api
Thursday, October 25, 2018 at 02:13pmReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 07:16amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 07:18amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 07:21amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 07:24amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 07:33amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 08:12amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 08:40amReply to: Error while creating a package using sandbox api
Monday, October 29, 2018 at 08:53am