Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
I am using a sandbox so perhaps the class definition does not match what is there. I get an invalid primitive error on the following code snippet: string pkgId = ESignLiveExamples.createPackageExam

Replies Created

Reply to: Apex call to getPackage() method not working

0 votes
Yes, I am getting a packageId back. See debug below. In addition, I can see the package was created in my eSignLive sandbox. 13:46:48.20 (2020800674)|SYSTEM_METHOD_EXIT|[30]|System.debug(ANY) 13:46:48.20 (2020808647)|SYSTEM_MODE_EXIT|false 13:46:48.20 (2020830442)|SYSTEM_METHOD_ENTRY|[3]|System.debug(ANY) 13:46:48.20 (2020835832)|USER_DEBUG|[3]|DEBUG|Package Id returned from createPackageExample() is sgN6uTTQwqsgo5hbf5t3yPqFi_E= 13:46:48.20 (2020838465)|SYSTEM_METHOD_EXIT|[3]|System.debug(ANY) 13:46:48.20 (2020878763)|SYSTEM_MODE_ENTER|false

Reply to: Apex call to getPackage() method not working

0 votes
This still produced the Illegal Value for primitive error. Here is my apex code: string pkgId = 'XNK3bbE32PmfGYwlVMk1nGJoyN8='; System.debug('Package Id beomg used is ' + pkgId); ESignLiveSDK sdk = new ESignLiveSDK(); ESignLiveAPIObjects.Package_x pkg = sdk.getPackage(pkgId); Here is the error message. 14:54:26.64 (302927520)|EXCEPTION_THROWN|[6]|ESignLiveRESTAPIHelper.ESignLiveRestAPIHelperException: Error getting the Package: Illegal value for primitive Screenshot of eSignLive transaction is attached. Out of curiousity, what happens when you execute a getPackage() from your Salesforce environment?

Attachments

Reply to: Apex call to getPackage() method not working

0 votes
You can get a free Salesforce environment here if interested. https://developer.salesforce.com/signup?d=70130000000td6N So, how is the eSignLIve Apex SDK supported? Is it supported by Kadence and not eSignLive? Yes, I went into the designer and put the signature on the document. Thanks for your help on this.

Subscriptions

Topics Replies Freshness Views Users
I am using a sandbox so perhaps the class definition does not match what is there. I get an invalid primitive error on the following code snippet: string pkgId = ESignLiveExamples.createPackageExam
13 6 years 9 months ago 150
Profile picture for user mwilliams

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.