mitcht | Posts: 3

No Package Id returned after executing CreatePackage

0 votes
Hello, I was testing to create a package under sandbox mode. However, the package was not created, and an error was thrown instead. The exception message was: $exception {"Could not create a new package. Exception: Object reference not set to an instance of an object."} Silanis.ESL.SDK.EslException The error occurred when I executed CreatePackage(DocumentPackage documentPackage), and there was no packageId returned. Could you help me to solve this? Thank you

mitcht | Posts: 3

Reply to: No Package Id returned after executing CreatePackage

0 votes
Hi Haris, That works! Thank you!

harishaidary | Posts: 1812

Reply to: No Package Id returned after executing CreatePackage

0 votes
Glad to hear it :)

mitcht | Posts: 3

Reply to: No Package Id returned after executing CreatePackage

0 votes
Hi Haris, Sorry I have one more question. Will this change potentially affect live production environment?

harishaidary | Posts: 1812

Reply to: No Package Id returned after executing CreatePackage

0 votes
Yes. This change will also be applied on production in March of next year. The fix will also be applied in the next release of the SDK. All you have to do on your end is to make sure that your .NET framework supports TLS 1.1 and above.

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