Cannot connect
Thursday, April 7, 2016 at 10:30amHi,
I am trying the sample application. I replaced the API Key by mine, and change the Environnement URL
public class Esign { public static final String API_KEY = "RFAPI_SAMPLE_EXAMPLE_3kzbVrQUU1VMg=="; public static final String API_URL = "https://sandbox.e-signlive.ca/api"; // USE https://apps.e-signlive.com/api FOR PRODUCTION private static final String DATE_FORMAT = "EEE, d MMM yyyy HH:mm:ss Z";Here is the result when I run it...
Exception in thread "main" com.silanis.esl.sdk.internal.EslServerException: Could not create a new package Exception: HTTP POST on URI https://sandbox.e-signlive.ca/api/packages resulted in response with status code: [401, Unauthorized]. Optional details: {"messageKey":"error.unauthorised.noSession","entity":null,"technical":null,"packageId":null,"message":"Failed to retrieve Session","code":401,"name":"Unauthorized"} at com.silanis.esl.sdk.service.PackageService.createPackage(PackageService.java:55) at com.silanis.esl.sdk.EslClient.createPackage(EslClient.java:220) at Esign.main(Esign.java:45) Caused by: com.silanis.esl.sdk.internal.RequestException: HTTP POST on URI https://sandbox.e-signlive.ca/api/packages resulted in response with status code: [401, Unauthorized]. Optional details: {"messageKey":"error.unauthorised.noSession","entity":null,"technical":null,"packageId":null,"message":"Failed to retrieve Session","code":401,"name":"Unauthorized"} at com.silanis.esl.sdk.internal.RestClient.execute(RestClient.java:195) at com.silanis.esl.sdk.internal.RestClient.post(RestClient.java:105) at com.silanis.esl.sdk.service.PackageService.createPackage(PackageService.java:52) ... 2 moreI double even triple check my API KEY, i recreated another account. Same result.. Any idea? Java Result: 1
Reply to: Cannot connect
Thursday, April 7, 2016 at 10:48amReply to: Cannot connect
Thursday, April 7, 2016 at 11:18amReply to: Cannot connect
Thursday, April 7, 2016 at 11:24amReply to: Cannot connect
Friday, April 15, 2016 at 04:34amReply to: Cannot connect
Monday, April 18, 2016 at 03:43amReply to: Cannot connect
Thursday, May 5, 2016 at 10:24amReply to: Cannot connect
Thursday, May 5, 2016 at 11:37amReply to: Cannot connect
Friday, June 23, 2017 at 12:13amReply to: Cannot connect
Wednesday, July 5, 2017 at 11:02amReply to: Cannot connect
Thursday, May 3, 2018 at 11:43amReply to: Cannot connect
Thursday, May 3, 2018 at 11:55amReply to: Cannot connect
Thursday, May 3, 2018 at 12:46pmReply to: Cannot connect
Thursday, May 3, 2018 at 12:49pmReply to: Cannot connect
Thursday, May 3, 2018 at 12:51pmReply to: Cannot connect
Tuesday, October 15, 2019 at 08:29pmReply to: Cannot connect
Wednesday, October 16, 2019 at 04:37am