Topic Started
This user has not created any forum posts.
Replies Created
Reply to: Sample JSON request Body to Create Package with Document Content as Byte Stream
Tuesday, October 25, 2016 at 12:27pmGuys,
Did you get any solution to this problem, I am facing same issue.
getting webpage code returned , not JSON is using this REST with JAVA "https://developer.esignlive.com/guides/quick-start/creating-and-sending-a-package-rest/"
Reply to: Sample JSON request Body to Create Package with Document Content as Byte Stream
Wednesday, October 26, 2016 at 09:39amThanks Haris,
I got it worked by changing way to make connection, however, after getting packageId, roleId, I am getting signingUrl properly... . but it gives this error when tried to open (both from postman URL and through REST using Java code)
ESR.min.js?_=1469563549483:3 Uncaught Error: Could not find a valid role
at f._role_ (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:3:12281)
at f (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:3:2703)
at Array.forEach (native)
at f.c [as set] (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:3:2945)
at f.init (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:3:11646)
at new f (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:2:31020)
at b (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:3:290)
at https://sandbox.esignlive.com/javascript/vendor/augment/lib/augment.js:447:23
at Array.map (native)
at f.add (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?_=1469563549483:3:1516)
Reply to: Sample JSON request Body to Create Package with Document Content as Byte Stream
Thursday, October 27, 2016 at 04:49amThanks Harish,
That worked for me when i sent an unlocked pdf and it opened appropriately, however it gives issue for some other unlocked pdfs/ or i upload directly from inputstream (rather then form any C drive or so).
Trying to figure out the root cause.
Reply to: Sample JSON request Body to Create Package with Document Content as Byte Stream
Tuesday, November 1, 2016 at 06:16amHaris,
When I am trying JSON with PDF having signatures for document-extraction, it fails with an issue, not sure what is cause (NOTE: we have only 1 pdf with multiple pages).
NOTE: Same JSON when tried with similar One document - multiple pages (WITHOUT SIGNATURES TAGS IN pdf)... wokred well and gave URL for signing
JSON:
{"roles":[{"locked":false,"emailMessage":{"content":""},"attachmentRequirements":[],"reassign":false,"specialTypes":[],"id":"Signer","data":null,"type":"SIGNER","index":0,"signers":[{"auth":{"challenges":[],"scheme":"NONE"},"company":"Assurant","firstName":"Pammy","lastName":"Singh","phone":"","email":"[email protected]","knowledgeBasedAuthentication":null,"language":"en","title":"Assurant","external":null,"professionalIdentityFields":[],"userCustomFields":[],"delivery":{"email":true,"provider":false,"download":true},"group":null,"signature":null,"address":null,"data":null,"name":"","specialTypes":[]}],"name":"Signer"},{"locked":false,"emailMessage":{"content":""},"attachmentRequirements":[],"reassign":false,"specialTypes":[],"id":"Sender","data":null,"type":"SENDER","index":0,"signers":[{"auth":{"challenges":[],"scheme":"NONE"},"company":"Assurant","firstName":"Permender","lastName":"Matharu","phone":"","email":"[email protected]","knowledgeBasedAuthentication":null,"language":"en","title":"","external":null,"professionalIdentityFields":[],"userCustomFields":[],"delivery":{"email":false,"provider":false,"download":false},"group":null,"id":"Sender","signature":null,"address":null,"data":null,"name":"","specialTypes":[]}],"name":"Sender"}],"documents": [{"approvals":[{"role":"Signer","signed":null,"accepted":null,"data":null,"fields":[{"page":0,"subtype":"FULLNAME","width":0,"binding":null,"extract":true,"extractAnchor":null,"left":0,"top":0,"validation":null,"height":0,"data":null,"type":"SIGNATURE","value":""}],"name":""}],"name": "signTags"}],"name": "Test Package REST", "type":"PACKAGE", "language":"en", "emailMessage":"", "description":"New Package","autoComplete":true,"status":"SENT"}
PDF:
- its Unlocked
- it has tags as [Signer.SomeName]
Error:
{
"messageKey": "error.validation.package.wrongNumberOfFiles",
"technical": "Number of uploaded files does not match number of documents specified in package.",
"message": "Number of uploaded files does not match number of documents specified in package.",
"code": 400,
"name": "Validation Error"
}
Reply to: Quickstart Creating and Sending a package issue
Tuesday, October 25, 2016 at 11:09amHi,
I am also getting same issue and I am using below quickstart
"https://developer.esignlive.com/guides/quick-start/creating-and-sending-a-package-rest/#java"
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Hi Team,
I am trying create a package with pdf document part of package.
|
39 | 2 years 1 month ago | 299 | ![]() |
Hi,
Trying to implemented the quick start, getting error 404 file not found when doing post.
Removed the header "Accept: application/json".
|
2 | 7 years 1 month ago | 9 | ![]() |
Hi,
Can you provide a sample JSON request Body to Create Package with Document Content as a PDF Byte Stream.
Thanks
|
11 | 7 years 1 month ago | 165 | ![]() |
Subscriptions Release Notes
This user is not subscribed to any release notes.