Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Preferences
Replies
Topics Started
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
Thursday, June 15, 2017 at 07:37amYes, Micheal ESignLiveExamples.createPackageExample() is from the gitHub page.
Reply to: Apex call to getPackage() method not working
Thursday, June 15, 2017 at 09:50amYes, 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
Thursday, June 15, 2017 at 11:12amThis 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?
Reply to: Apex call to getPackage() method not working
Friday, June 16, 2017 at 11:33amI did not set up a signature for the Sender. Do I have to add myself as a signer to do that?
Otherwise, please tell me how if you think that would help.
Reply to: Apex call to getPackage() method not working
Friday, June 16, 2017 at 12:55pmYou 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 |
Subscriptions Release Notes
This user is not subscribed to any release notes.