Your authenication token was incorrect for in-person signing ceremony via REST
Wednesday, February 14, 2018 at 06:16amI always get this error while trying to retrieve session id for the in-person signing ceremony using Iframe.
Steps to reproduce
using the below json payload I am able to create a successful package for the https://sandbox.esignlive.com/api/packages/tMs3tH1EWD3uKKQCgaLbjG64f-A=/clone
The response contains a valid package id which I verified using the my eSign sandbox login
{ "name": "Package from template via REST API ", "description": "Package with the eSignLive REST API", "emailMessage": "This message should be delivered to all signers", "autocomplete": true, "type": "PACKAGE", "visibility": "ACCOUNT", "due": null, "language": "en", "status": "SENT", "settings": { "ceremony": { "inPerson": true } }, "roles": [ { "id": "8eea7d5b-6a9f-42cb-979b-34eae00e04c1", "type": "SIGNER", "signers": [ { "id": "8eea7d5b-6a9f-42cb-979b-34eae00e04c1", "firstName": "xxxx", "lastName": "xxxx", "email": "[email protected]" } ], "name": "Signer1" }, { "id": "be7d3334-1f59-44df-b0c0-882cddd217ce", "type": "SIGNER", "signers": [ { "id": "be7d3334-1f59-44df-b0c0-882cddd217ce", "firstName": "xx", "lastName": "xx", "email": "[email protected]" } ], "name": "Signer2" } ], "documents": [ { "id": "default-consent" }, { "id": "35ccb4ad463cc788e89028ea46bc0f2aa5ebed088c834d71", "approvals": [ { "role": "8eea7d5b-6a9f-42cb-979b-34eae00e04c1", "id": "srspNFmLdLAK", "fields": [ { "id": "sGg3vWHY3ccV", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "FirstName" }, { "id": "3HJF7n9c3q0O", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "LastName" }, { "id": "8D3lNnsYmLoO", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "Email" }, { "id": "11YJ4Gz1L881", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "Company" }, { "id": "LU41hcTXz7II", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "Address" }, { "id": "xxCtLNnS8WcM", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "City" }, { "id": "pqtb4jMTPrwM", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "State" }, { "id": "JwfSWTxQT8MB", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "Country" }, { "id": "7qkStCPfVn0K", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "Zip" }, { "id": "qlZi7MgegVQ1", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "PhoneNumber" }, { "id": "JPdmUhqGU9sR", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "PolicyNumber" } ] }, { "id": "SCCU3ZrvUkkB", "role": "be7d3334-1f59-44df-b0c0-882cddd217ce", "fields": [ { "id": "rxSJhRSCYMkK", "subtype": "LABEL", "type": "INPUT", "value": "xx", "name": "PolicyNumberSigner2" } ] } ] } ] }Using the package Id, I tried to create session token for the signerId "8eea7d5b-6a9f-42cb-979b-34eae00e04c1" which is there in the create package json payload. The URL used for obtaining session token is https://sandbox.esignlive.com/api/signerAuthenticationTokens The response succeeded with session token value which is given to the IFrame src value. https://sandbox.e-signlive.com/access?sessionToken=session token value I always get the Your authentication token was incorrect error I checked the browser developer tool console and found a CORS warning. I have attached the images for reference.
Reply to: Your authenication token was incorrect for in-person signing ceremony via REST
Wednesday, February 14, 2018 at 07:12amReply to: Your authenication token was incorrect for in-person signing ceremony via REST
Wednesday, February 14, 2018 at 06:13pm