Object error calling EslClient.ReportService.CompletionReport for date
Friday, February 3, 2017 at 03:49ameSginLive,
I'm getting an object reference error when executing EslClient.ReportService.DownloadCompletionReport() for certain dates.
The last couple of days I’ve received the following exception using the eSignLive api:
Silanis.ESL.SDK.EslException: Could not download the completion report. 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.GetHttpJson(String apiToken, String path, String acceptType)
at Silanis.ESL.SDK.RestClient.Get(String path)
at Silanis.ESL.SDK.Services.ReportService.DownloadCompletionReport(DocumentPackageStatus packageStatus, DateTime from, DateTime to) --- End of inner exception stack trace ---
at Silanis.ESL.SDK.Services.ReportService.DownloadCompletionReport(DocumentPackageStatus packageStatus, DateTime from, DateTime to)
This exception occurs when I execute the following api call (it take about 2-3 minutes for the exception to be thrown):
CompletionReport cr = esl.ReportService.DownloadCompletionReport(DocumentPackageStatus.COMPLETED, startDate, endDate);startDate = “01/29/2017†endDate = “02/03/2017†I also got the error when my process ran yesterday with the date parameter as follows: startDate = “01/28/2017†endDate = “02/02/2017†But when my process ran Monday with the following dates, below, it worked successful. startDate = “01/27/2017†endDate = “02/01/2017†This error seems to happen weekly, typically it happens when our process runs on Saturdays or Sundays. Can you please provide some insight into this and how to resolve it? Is there an updated APIs that I need to download that would resolve it? I using version “v2.0.50727†of the Silanis.ESL assembly. I go out to the web portal and run an advance search for completed packages for the same date range and it processes successfully, so I’m not sure how to resolve this. Any help would be much appreciated. Thanks Nathan
Reply to: Object error calling EslClient.ReportService.CompletionReport for date
Friday, February 3, 2017 at 05:26amReply to: Object error calling EslClient.ReportService.CompletionReport for date
Friday, February 3, 2017 at 09:26amReply to: Object error calling EslClient.ReportService.CompletionReport for date
Friday, February 3, 2017 at 09:51amReply to: Object error calling EslClient.ReportService.CompletionReport for date
Monday, February 6, 2017 at 09:19am