List of Error codes, Error Messages, Error Name
Friday, July 1, 2016 at 12:06pmHi,
I have noticed that there are a bunch of different error messages under the EslServerException.
Where can I find a list of all these error messages with their corresponding error codes and error names.
Example:
com.silanis.esl.sdk.internal.EslServerException: Could not create a new package Exception: HTTP POST on URI https://sandbox.e-signlive.com/api/packages resulted in response with status code: [403, Forbidden]. Optional details: {"messageKey":"error.forbidden.accountNotAccessible","entity":null,"technical":null,"packageId":null,"code":403,"message":"The operation requested cannot be done by the user requesting it because there is an account access mismatch","name":"Access Denied"}
As seen above the message details have:
"code":403,"
message":"The operation requested cannot be done by the user requesting it because there is an account access mismatch",
"name":"Access Denied"
I would like to know a list of all these possible different messages.
Thanks a bunch.
Reply to: List of Error codes, Error Messages, Error Name
Thursday, July 7, 2016 at 06:46amReply to: List of Error codes, Error Messages, Error Name
Friday, July 1, 2016 at 12:13pmReply to: List of Error codes, Error Messages, Error Name
Friday, July 1, 2016 at 12:58pmReply to: List of Error codes, Error Messages, Error Name
Friday, July 1, 2016 at 06:03pmReply to: List of Error codes, Error Messages, Error Name
Wednesday, July 6, 2016 at 05:40amReply to: List of Error codes, Error Messages, Error Name
Wednesday, July 6, 2016 at 06:36amReply to: List of Error codes, Error Messages, Error Name
Wednesday, July 6, 2016 at 06:16pmReply to: List of Error codes, Error Messages, Error Name
Tuesday, July 12, 2016 at 09:07amReply to: List of Error codes, Error Messages, Error Name
Tuesday, July 12, 2016 at 11:15amReply to: List of Error codes, Error Messages, Error Name
Friday, January 27, 2017 at 11:17amtry { PackageId packageId = eslClient.CreatePackage(documentPackage); } catch (Silanis.ESL.SDK.ServerError ex) { //What caused the error? }Error returned as a string: Silanis.ESL.SDK.EslException: Could not create a new package. Exception: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Silanis.ESL.SDK.Internal.HttpMethods.PostHttp(String apiToken, String path, Byte[] content) at Silanis.ESL.SDK.RestClient.Post(String path, String jsonPayload) at Silanis.ESL.SDK.Services.PackageService.CreatePackage(Package package) --- End of inner exception stack trace --- at Silanis.ESL.SDK.Services.PackageService.CreatePackage(Package package) at Silanis.ESL.SDK.EslClient.CreatePackage(DocumentPackage package) OR this one: Silanis.ESL.SDK.EslException: Could not get application version. Exception: Unexpected character encountered while parsing value: . Path '', line 1, position 1. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 1, position 1. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.ReadInternal() at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Silanis.ESL.SDK.SystemService.GetApplicationVersion() --- End of inner exception stack trace --- at Silanis.ESL.SDK.SystemService.GetApplicationVersion() at SBA.ESign.ESignProvider.GetApplicationVersion() in C:\SBA\ela\Source\ESign\ESignProvider.cs:line 410 at SBA.PortalUI.Areas.SystemAdministration.Controllers.DiagnosticsController.ESignTests() in C:\SBA\ela\Source\PortalUI\Areas\SystemAdministration\Controllers\DiagnosticsController.cs:line 1062 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.Reply to: List of Error codes, Error Messages, Error Name
Tuesday, January 31, 2017 at 11:27amReply to: List of Error codes, Error Messages, Error Name
Thursday, February 2, 2017 at 10:47amReply to: List of Error codes, Error Messages, Error Name
Thursday, February 2, 2017 at 11:42amReply to: List of Error codes, Error Messages, Error Name
Friday, February 3, 2017 at 06:27amReply to: List of Error codes, Error Messages, Error Name
Friday, February 3, 2017 at 08:33amusing Silanis.ESL.SDK; using Silanis.ESL.SDK.Builder; using System; using System.Collections.Generic; using System.IO; public class ESignProvider { private EslClient eslClient = null; private ESignProviderPackageDefiner definer = new ESignProviderPackageDefiner(); private string apiKey = string.Empty; public string BaseUrl { get { return eslClient.BaseUrl; } } public ESignProvider(string apiKey, string baseUrl) { eslClient = new EslClient(apiKey, baseUrl); this.apiKey = apiKey; } public string CreatePackage(string packageName, DateTime expiryDate, string senderEmail, HandOverLinkBE handOverLink, LogoImageBE logoImage, string[] optOutReasons) { Silanis.ESL.SDK.DocumentPackage documentPackage = definer.DefinePackage(packageName, expiryDate, senderEmail, handOverLink, logoImage, optOutReasons).Build(); Silanis.ESL.SDK.PackageId packageId = eslClient.CreatePackage(documentPackage); return packageId.ToString(); } } public class HandOverLinkBE { public string Url { get; set; } = string.Empty; public string Text { get; set; } = string.Empty; public string ToolTip { get; set; } = string.Empty; public HandOverLinkBE(string url, string text) { Url = url; Text = ToolTip = text; } } public class LogoImageBE { public string Link { get; set; } = string.Empty; public string Source { get; set; } = string.Empty; public LogoImageBE(string logoImageLink) { Link = Source = logoImageLink; } }