Mouse capture error
Monday, December 4, 2017 at 04:47amHello, would help me understand what I'm doing wrong ?
The method is called in package creation process.
In the following are the values for Mobile signature method compare with Mouse capture.
I don't see any problem for Mobile signature.
// Mobile signature - Error response
String response = client.postMultipartFile(path, fileName, fileBytes, documentJson);
Path: https://sandbox.e-signlive.ca/api/packages/usGaLhhTaXaDts7CRURECBSMTjY=/documents
documentJson:
{ "approvals": [ { "fields": [ { "extract": false, "extractAnchor": { "anchorPoint": "TOPLEFT", "characterIndex": 0, "height": 52, "index": 0, "leftOffset": 0, "text": "**Signer 1**", "topOffset": 0, "width": 231 }, "height": 50, "left": 0, "page": 0, "subtype": "MOBILE_CAPTURE", "top": 0, "type": "SIGNATURE", "width": 200 } ], "role": "f02f27ad31c14dce88d08148d0180dc9" }, { "fields": [ { "extract": false, "extractAnchor": { "anchorPoint": "TOPLEFT", "characterIndex": 0, "height": 52, "index": 0, "leftOffset": 0, "text": "**Signer 2**", "topOffset": 0, "width": 231 }, "height": 50, "left": 0, "page": 0, "subtype": "MOBILE_CAPTURE", "top": 0, "type": "SIGNATURE", "width": 200 } ], "role": "aa376bc59ce34acc82674bbedef7e85a" } ], "description": "", "extract": false, "index": 0, "name": "attach2" }response Error: com.silanis.esl.sdk.internal.RequestException: HTTP POST on URI https://sandbox.e-signlive.ca/api/packages/usGaLhhTaXaDts7CRURECBSMTjY=/documents resulted in response with status code: [500, Internal Server Error]. Optional details: {"code":500,"messageKey":"error.internal.default","technical":"EsepCommand failed and no fallback available.","message":"Unexpected error. We apologize for any inconvenience this may have caused you, please try again. If the problem persists, please contact our support team.","name":"Unhandled Server Error"} //Mouse capture - Success Path: https://sandbox.e-signlive.ca/api/packages/Xqy4PiHJl8Rkbt7onvdM-cM36XE=/documents documentJson:
{ "approvals": [ { "fields": [ { "extract": false, "extractAnchor": { "anchorPoint": "TOPLEFT", "characterIndex": 0, "height": 52, "index": 0, "leftOffset": 0, "text": "**Signer 1**", "topOffset": 0, "width": 231 }, "height": 50, "left": 0, "page": 0, "subtype": "CAPTURE", "top": 0, "type": "SIGNATURE", "width": 200 } ], "role": "dc75bda79c394286ba850eddbf21a99a" }, { "fields": [ { "extract": false, "extractAnchor": { "anchorPoint": "TOPLEFT", "characterIndex": 0, "height": 52, "index": 0, "leftOffset": 0, "text": "**Signer 2**", "topOffset": 0, "width": 231 }, "height": 50, "left": 0, "page": 0, "subtype": "CAPTURE", "top": 0, "type": "SIGNATURE", "width": 200 } ], "role": "1e6091406e9d4326b16e9a0fe1d14c55" } ], "description": "", "extract": false, "index": 0, "name": "attach2" }response:
{ "status": "", "id": "3d3731d2c515a7c0e05af9c43dfab025c42830d2fdd568ca", "signerVerificationToken": null, "signedHash": null, "data": { "ese_document_texttag_extract_needed": "false" }, "approvals": [ { "id": "t7d8cDky0384", "role": "dc75bda79c394286ba850eddbf21a99a", "data": null, "signed": null, "accepted": null, "fields": [ { "validation": null, "id": "AlIYVOMin1UL", "page": 0, "subtype": "CAPTURE", "top": 500, "data": null, "height": 52, "left": 94, "width": 231, "binding": null, "extract": false, "extractAnchor": null, "type": "SIGNATURE", "value": "", "name": "" } ], "name": "" }, { "id": "Yl9Yo0cgxEAP", "role": "1e6091406e9d4326b16e9a0fe1d14c55", "data": null, "signed": null, "accepted": null, "fields": [ { "validation": null, "id": "HdfrN9CWH6IP", "page": 0, "subtype": "CAPTURE", "top": 544, "data": null, "height": 52, "left": 94, "width": 231, "binding": null, "extract": false, "extractAnchor": null, "type": "SIGNATURE", "value": "", "name": "" } ], "name": "" } ], "pages": [ { "id": "", "top": 0, "height": 1030, "left": 0, "width": 796, "index": 0, "version": 0 } ], "extract": false, "external": null, "extractionTypes": [], "index": 0, "fields": [], "description": "", "name": "attach2", "size": 85246 }The difference is what the SDK receives from the eSign server. For Mobile signature https://sandbox.e-signlive.ca/api/packages/usGaLhhTaXaDts7CRURECBSMTjY=/
{ "status": "DRAFT", "messages": [], "roles": [ { "id": "djf6R9ByTm0B", "attachmentRequirements": [], "locked": false, "reassign": false, "specialTypes": [], "emailMessage": { "content": "" }, "data": null, "type": "SIGNER", "index": 0, "signers": [ { "language": "en", "id": "djf6R9ByTm0B", "auth": { "challenges": [], "scheme": "NONE" }, "signature": { "handdrawn": "", "textual": { "font": null, "color": null } }, "title": "Mr", "company": "IBACZ", "firstName": "Tomas", "lastName": "Kanovsky", "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "updated": "2017-11-16T16:06:57Z", "external": null, "data": null, "email": "[email protected]", "knowledgeBasedAuthentication": null, "delivery": { "email": true, "download": false, "provider": false }, "group": null, "address": null, "created": "2017-11-16T15:59:26Z", "name": "", "specialTypes": [] } ], "name": "djf6R9ByTm0B" }, { "id": "f02f27ad31c14dce88d08148d0180dc9", "attachmentRequirements": [], "locked": false, "reassign": true, "specialTypes": [], "emailMessage": { "content": "If you have any questions please contact your IBM team or send an email to \"[email protected]\"." }, "data": null, "type": "SIGNER", "index": 1, "signers": [ { "language": "en", "id": "f02f27ad31c14dce88d08148d0180dc9", "auth": { "challenges": [], "scheme": "NONE" }, "signature": null, "title": "", "company": "", "firstName": "dragosgmail.com", "lastName": "Luca", "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "updated": "2017-11-16T16:06:59Z", "external": null, "data": null, "email": "[email protected]", "knowledgeBasedAuthentication": null, "delivery": { "email": true, "download": false, "provider": false }, "group": null, "address": null, "created": "2017-11-16T15:59:28Z", "name": "", "specialTypes": [] } ], "name": "f02f27ad31c14dce88d08148d0180dc9" }, { "id": "aa376bc59ce34acc82674bbedef7e85a", "attachmentRequirements": [], "locked": false, "reassign": true, "specialTypes": [], "emailMessage": { "content": "If you have any questions please contact your IBM team or send an email to \"[email protected]\"." }, "data": null, "type": "SIGNER", "index": 11, "signers": [ { "language": "en", "id": "aa376bc59ce34acc82674bbedef7e85a", "auth": { "challenges": [], "scheme": "NONE" }, "signature": null, "title": "", "company": "", "firstName": "Dragos Valentin", "lastName": "Luca", "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "updated": "2017-11-16T16:07:00Z", "external": null, "data": null, "email": "[email protected]", "knowledgeBasedAuthentication": null, "delivery": { "email": true, "download": false, "provider": false }, "group": null, "address": null, "created": "2017-11-16T15:59:27Z", "name": "", "specialTypes": [] } ], "name": "aa376bc59ce34acc82674bbedef7e85a" } ], "language": "en", "id": "usGaLhhTaXaDts7CRURECBSMTjY=", "sender": { "status": "ACTIVE", "language": "en", "id": "w0QBplnUTv08", "signature": { "handdrawn": "", "textual": { "font": null, "color": null } }, "locked": null, "title": "Mr", "account": { "owner": "iwTsIU0AjrIU", "id": "rmZzTYqnMUE9", "created": "2015-12-07T16:17:16Z", "company": { "id": "qIVII7qCAVUA", "data": null, "address": { "zipcode": null, "address1": null, "address2": null, "city": null, "country": null, "state": null }, "name": "silanis" }, "updated": "2015-12-07T16:17:16Z", "customFields": [ { "required": true, "id": "Date_Field", "translations": [ { "language": "en", "id": "", "data": null, "description": "Signing Date, selected by signer from a calendar.", "name": "Date Field" } ], "data": null, "value": "16 Aug 2016", "name": "" }, { "required": false, "id": "Pramata", "translations": [ { "language": "en", "id": "", "data": null, "description": "", "name": "Pramata Information" } ], "data": null, "value": "False", "name": "" } ], "licenses": [ { "status": "ACTIVE", "transactions": [], "created": "2015-12-07T16:17:16Z", "paidUntil": "2017-03-07T00:00:00Z", "plan": { "id": "sandbox", "price": { "amount": 0, "currency": { "id": "USD", "data": null, "name": "US Dollar" } }, "original": null, "data": null, "cycle": "YEAR", "contract": "YEAR", "freeCycles": null, "quotas": [ { "cycle": null, "scope": "ACCOUNT", "limit": 99999, "target": "SENDER" }, { "cycle": null, "scope": "SENDER", "limit": 500, "target": "DOCUMENT" }, { "cycle": null, "scope": "SENDER", "limit": 500, "target": "STORAGE" } ], "group": "", "features": null, "description": "E-Sign Hundreds of Documents with Unlimited Signers", "name": "Sandbox" } } ], "logoUrl": "", "data": null, "providers": null, "name": "silanis" }, "activated": null, "company": "IBACZ", "firstName": "Tomas", "lastName": "Kanovsky", "memberships": [], "phone": "123456789", "professionalIdentityFields": [], "userCustomFields": [ { "id": "Date_Field", "translations": [ { "language": "en", "id": "", "data": null, "description": "Signing Date, selected by signer from a calendar.", "name": "Date Field" } ], "data": null, "value": "16 Aug 2016", "name": "" } ], "updated": "2016-09-05T17:24:11Z", "external": null, "data": { "serviceCredentials": "{}", "showIntro": false }, "email": "[email protected]", "type": "MANAGER", "address": { "zipcode": "60200", "address1": "Nereknu 1", "address2": "", "city": "Brno", "country": "CZ", "state": "" }, "created": "2016-07-26T20:39:58Z", "name": "", "specialTypes": [], "hasDelegates": true }, "documents": [ { "status": "", "id": "a36ad52cf3e03fd9feafa0a8edcb8c7e3b1a6b68eef0f8f5", "signedHash": null, "approvals": [], "pages": [ { "id": "", "height": 1030, "left": 0, "width": 796, "top": 0, "version": 0, "index": 0 } ], "extract": false, "external": null, "data": { "ese_document_texttag_extract_needed": "false" }, "signerVerificationToken": null, "extractionTypes": [], "fields": [], "index": 0, "description": "", "name": "attach2", "size": 85246 } ], "due": "2017-11-21T22:00:00Z", "emailMessage": "", "limits": null, "notarized": false, "notaryRoleId": null, "settings": { "ceremony": { "layout": { "header": { "breadcrumbs": true, "feedback": true, "globalActions": { "confirm": false, "download": true, "hideEvidenceSummary": false, "saveAsLayout": false }, "sessionBar": true, "titleBar": { "title": true, "progressBar": true }, "globalNavigation": false }, "brandingBar": { "logo": { "src": "ibm4", "link": "ibm4" } }, "footer": {}, "iframe": false, "navigator": true }, "events": { "complete": { "dialog": true, "redirect": "url" } }, "inPerson": false, "maxAuthFailsAllowed": 10, "optOutButton": false, "optOutReasons": [ "Do not want to use eSignature to sign the IBM contract", "Do not want to sign the IBM contract" ], "declineButton": true, "declineReasons": [ "Reject and request rework of the package", "Reject the package and close this request" ], "disableDeclineOther": true, "disableDownloadForUncompletedPackage": false, "disableFirstInPersonAffidavit": true, "disableInPersonAffidavit": false, "disableOptOutOther": true, "disableSecondInPersonAffidavit": true, "documentToolbarOptions": { "downloadButton": true }, "handOver": { "title": "IBM Home Page", "href": "http://www.ibm.com", "text": "Finish" }, "hideCaptureText": false, "hideLanguageDropdown": false, "hidePackageOwnerInPerson": true, "hideWatermark": false, "style": null, "extractAcroFields": false, "extractTextTags": false, "enforceCaptureSignature": false } }, "trashed": true, "updated": "2017-11-17T16:33:37Z", "completed": null, "consent": null, "signedDocumentDelivery": null, "autocomplete": true, "data": { "currentSignerProgress": { "documentsToConfirmCount": "0", "documentsConfirmedCount": "0", "approvalsToConfirmCount": "0", "approvalsConfirmedCount": "0", "documentsPartiallyCompletedCount": "0", "approvalsToSignNowCount": "0" }, "origin": "api", "overallProgress": { "documentsToCompleteCount": "1", "documentsCompletedCount": "1", "documentsToConfirmCount": "0", "documentsConfirmedCount": "0", "documentsPartiallyCompletedCount": "0" }, "sdk": "Java v${project.version}" }, "visibility": "ACCOUNT", "type": "PACKAGE", "created": "2017-11-16T15:59:25Z", "description": "IBM is requesting approval of the proposal for REQ-000018 - PD_1596584_13.11.3.01", "name": "REQ-000018 - PD_1596584_13.11.3.01", "bulkSendable": false }For Mouse capture https://sandbox.e-signlive.ca/api/packages/Xqy4PiHJl8Rkbt7onvdM-cM36XE=/
{ "language": "en", "id": "Xqy4PiHJl8Rkbt7onvdM-cM36XE=", "messages": [], "autocomplete": true, "completed": null, "visibility": "ACCOUNT", "data": { "sdk": "Java v${project.version}", "origin": "api", "currentSignerProgress": { "documentsToConfirmCount": "0", "documentsConfirmedCount": "0", "approvalsToConfirmCount": "0", "approvalsConfirmedCount": "0", "documentsPartiallyCompletedCount": "0", "approvalsToSignNowCount": "0" }, "overallProgress": { "documentsToCompleteCount": "1", "documentsCompletedCount": "0", "documentsToConfirmCount": "1", "documentsConfirmedCount": "0", "documentsPartiallyCompletedCount": "0" } }, "sender": { "language": "en", "id": "w0QBplnUTv08", "signature": { "handdrawn": "", "textual": { "color": null, "font": null } }, "title": "Mr", "data": { "serviceCredentials": "{}", "showIntro": false }, "locked": null, "memberships": [], "phone": "123456789", "professionalIdentityFields": [], "userCustomFields": [ { "id": "Date_Field", "data": null, "translations": [ { "language": "en", "id": "", "data": null, "description": "Signing Date, selected by signer from a calendar.", "name": "Date Field" } ], "value": "16 Aug 2016", "name": "" } ], "account": { "id": "rmZzTYqnMUE9", "providers": null, "created": "2015-12-07T16:17:16Z", "data": null, "customFields": [ { "required": true, "id": "Date_Field", "data": null, "translations": [ { "language": "en", "id": "", "data": null, "description": "Signing Date, selected by signer from a calendar.", "name": "Date Field" } ], "value": "16 Aug 2016", "name": "" }, { "required": false, "id": "Pramata", "data": null, "translations": [ { "language": "en", "id": "", "data": null, "description": "", "name": "Pramata Information" } ], "value": "False", "name": "" } ], "licenses": [ { "transactions": [], "created": "2015-12-07T16:17:16Z", "paidUntil": "2017-03-07T00:00:00Z", "plan": { "id": "sandbox", "original": null, "group": "", "data": null, "price": { "amount": 0, "currency": { "id": "USD", "data": null, "name": "US Dollar" } }, "freeCycles": null, "contract": "YEAR", "cycle": "YEAR", "quotas": [ { "scope": "ACCOUNT", "cycle": null, "limit": 99999, "target": "SENDER" }, { "scope": "SENDER", "cycle": null, "limit": 500, "target": "DOCUMENT" }, { "scope": "SENDER", "cycle": null, "limit": 500, "target": "STORAGE" } ], "features": null, "description": "E-Sign Hundreds of Documents with Unlimited Signers", "name": "Sandbox" }, "status": "ACTIVE" } ], "logoUrl": "", "company": { "id": "qIVII7qCAVUA", "data": null, "address": { "address1": null, "address2": null, "city": null, "country": null, "zipcode": null, "state": null }, "name": "silanis" }, "updated": "2015-12-07T16:17:16Z", "owner": "iwTsIU0AjrIU", "name": "silanis" }, "activated": null, "company": "IBACZ", "email": "[email protected]", "firstName": "Tomas", "lastName": "Kanovsky", "external": null, "updated": "2016-09-05T17:24:11Z", "type": "MANAGER", "address": { "address1": "Nereknu 1", "address2": "", "city": "Brno", "country": "CZ", "zipcode": "60200", "state": "" }, "created": "2016-07-26T20:39:58Z", "name": "", "status": "ACTIVE", "specialTypes": [], "hasDelegates": true }, "documents": [ { "status": "", "id": "3d3731d2c515a7c0e05af9c43dfab025c42830d2fdd568ca", "signerVerificationToken": null, "signedHash": null, "data": { "ese_document_texttag_extract_needed": "false" }, "approvals": [ { "id": "t7d8cDky0384", "role": "dc75bda79c394286ba850eddbf21a99a", "data": null, "signed": null, "accepted": null, "fields": [ { "validation": null, "id": "AlIYVOMin1UL", "page": 0, "subtype": "CAPTURE", "top": 500, "data": null, "height": 52, "left": 94, "width": 231, "binding": null, "extract": false, "extractAnchor": null, "type": "SIGNATURE", "value": "", "name": "" } ], "name": "" }, { "id": "Yl9Yo0cgxEAP", "role": "1e6091406e9d4326b16e9a0fe1d14c55", "data": null, "signed": null, "accepted": null, "fields": [ { "validation": null, "id": "HdfrN9CWH6IP", "page": 0, "subtype": "CAPTURE", "top": 544, "data": null, "height": 52, "left": 94, "width": 231, "binding": null, "extract": false, "extractAnchor": null, "type": "SIGNATURE", "value": "", "name": "" } ], "name": "" } ], "pages": [ { "id": "", "top": 0, "height": 1030, "left": 0, "width": 796, "index": 0, "version": 0 } ], "extract": false, "external": null, "extractionTypes": [], "index": 0, "fields": [], "description": "", "name": "attach2", "size": 85246 } ], "consent": null, "due": "2017-11-21T22:00:00Z", "emailMessage": "", "limits": null, "notarized": false, "notaryRoleId": null, "settings": { "ceremony": { "layout": { "footer": {}, "brandingBar": { "logo": { "src": "ibm4", "link": "ibm4" } }, "iframe": false, "navigator": true, "header": { "feedback": true, "breadcrumbs": true, "globalActions": { "confirm": false, "download": true, "hideEvidenceSummary": false, "saveAsLayout": false }, "globalNavigation": false, "sessionBar": true, "titleBar": { "title": true, "progressBar": true } } }, "style": null, "enforceCaptureSignature": false, "events": { "complete": { "redirect": "url", "dialog": true } }, "hideCaptureText": false, "hideLanguageDropdown": false, "hidePackageOwnerInPerson": true, "hideWatermark": false, "maxAuthFailsAllowed": 10, "optOutButton": false, "optOutReasons": [ "Do not want to use eSignature to sign the IBM contract", "Do not want to sign the IBM contract" ], "declineButton": true, "declineReasons": [ "Reject and request rework of the package", "Reject the package and close this request" ], "disableDeclineOther": true, "disableDownloadForUncompletedPackage": false, "disableFirstInPersonAffidavit": true, "disableInPersonAffidavit": false, "disableOptOutOther": true, "disableSecondInPersonAffidavit": true, "documentToolbarOptions": { "downloadButton": true }, "handOver": { "title": "IBM Home Page", "href": "http://www.ibm.com", "text": "Finish" }, "inPerson": false, "extractAcroFields": false, "extractTextTags": false } }, "signedDocumentDelivery": null, "trashed": true, "updated": "2017-11-20T07:52:38Z", "roles": [ { "id": "C3jcMgnSO58O", "data": null, "locked": false, "specialTypes": [], "attachmentRequirements": [], "reassign": false, "emailMessage": null, "index": 0, "type": "SENDER", "signers": [ { "language": "en", "id": "w0QBplnUTv08", "signature": { "handdrawn": "", "textual": null }, "title": "Mr", "auth": { "scheme": "NONE", "challenges": [] }, "knowledgeBasedAuthentication": null, "delivery": { "provider": false, "download": true, "email": true }, "group": null, "data": null, "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "company": "IBACZ", "email": "[email protected]", "firstName": "Tomas", "lastName": "Kanovsky", "external": null, "updated": "2017-11-17T15:52:23Z", "address": null, "created": "2017-11-17T15:52:23Z", "name": "", "specialTypes": [] } ], "name": "Owner" }, { "id": "dc75bda79c394286ba850eddbf21a99a", "data": null, "locked": false, "specialTypes": [], "attachmentRequirements": [], "reassign": true, "emailMessage": null, "index": 1, "type": "SIGNER", "signers": [ { "language": "en", "id": "e7761608-795a-438d-8403-100a2438ed58", "signature": null, "title": "", "auth": { "scheme": "NONE", "challenges": [] }, "knowledgeBasedAuthentication": null, "delivery": { "provider": false, "download": false, "email": true }, "group": null, "data": null, "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "company": "", "email": "[email protected]", "firstName": "dragosgmail.com", "lastName": "Luca", "external": null, "updated": "2017-11-17T15:52:26Z", "address": null, "created": "2017-11-17T15:52:26Z", "name": "", "specialTypes": [] } ], "name": "dc75bda79c394286ba850eddbf21a99a" }, { "id": "1e6091406e9d4326b16e9a0fe1d14c55", "data": null, "locked": false, "specialTypes": [], "attachmentRequirements": [], "reassign": true, "emailMessage": null, "index": 11, "type": "SIGNER", "signers": [ { "language": "en", "id": "2d90b921-1783-4709-9ff1-3368d7c13b00", "signature": null, "title": "", "auth": { "scheme": "NONE", "challenges": [] }, "knowledgeBasedAuthentication": null, "delivery": { "provider": false, "download": false, "email": true }, "group": null, "data": null, "phone": "", "professionalIdentityFields": [], "userCustomFields": [], "company": "", "email": "[email protected]", "firstName": "Dragos Valentin", "lastName": "Luca", "external": null, "updated": "2017-11-17T15:52:24Z", "address": null, "created": "2017-11-17T15:52:25Z", "name": "", "specialTypes": [] } ], "name": "1e6091406e9d4326b16e9a0fe1d14c55" } ], "type": "PACKAGE", "created": "2017-11-17T15:52:23Z", "description": "IBM is requesting approval of the proposal for REQ-000018 - PD_1596584_13.11.3.01", "name": "REQ-000018 - PD_1596584_13.11.3.01", "status": "DRAFT", "bulkSendable": false }Regards, Felipe
Reply to: Mouse capture error
Monday, December 4, 2017 at 05:38amReply to: Mouse capture error
Monday, December 4, 2017 at 07:44am