Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 05:09amHi,
I am receiving the error [401, Unauthorized] response when creating a package with JavaSDK. Here is the error message:
com.silanis.esl.sdk.internal.EslServerException: Could not create a new package Exception: HTTP POST on URI https://sandbox.esignlive.com/api/packages resulted in response with status code: [401, Unauthorized]. Optional details: {"messageKey":"error.unauthorised.noSession","code":401,"name":"Unauthorized","message":"Failed to retrieve Session"}
at com.silanis.esl.sdk.service.PackageService.createPackage(PackageService.java:92)
at com.silanis.esl.sdk.EslClient.createPackage(EslClient.java:260)
at com.silanis.esl.sdk.EslClient$createPackage.call(Unknown Source)
at createPackage_script_New_operation.run(createPackage_script_New_operation:180)
Caused by: com.silanis.esl.sdk.internal.RequestException: HTTP POST on URI https://sandbox.esignlive.com/api/packages resulted in response with status code: [401, Unauthorized]. Optional details: {"messageKey":"error.unauthorised.noSession","code":401,"name":"Unauthorized","message":"Failed to retrieve Session"}
at com.silanis.esl.sdk.internal.RestClient.execute(RestClient.java:214)
at com.silanis.esl.sdk.internal.RestClient.post(RestClient.java:120)
at com.silanis.esl.sdk.service.PackageService.createPackage(PackageService.java:89)
... 3 more
Exception was thrown from script:
This has been working before but it start giving the above response since Nov 8, 2018.
Thanks,
Kayson
Reply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 05:17amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 05:57amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 06:01amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 06:11amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 06:23amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 07:26amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 08:04amReply to: Received [401, Unauthorized] response
Tuesday, November 13, 2018 at 08:10am