Request URL : https://api-sandbox.oqsha.com/Organisations/259/WorkPermitV2/292/Export


System.IO.FileNotFoundException: HTML template missing for Excavation Work category. Expected HTML template path: D:\App-Data\iis\api.incidentreporter365.com\Templates/PDFs\259\WorkPermitV2\ExcavationWork\ExportWorkPermitV2.html
File name: 'D:\App-Data\iis\api.incidentreporter365.com\Templates/PDFs\259\WorkPermitV2\ExcavationWork\ExportWorkPermitV2.html'
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 89
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitV2Bll.cs:line 1527


Request URL : https://api-sandbox.oqsha.com/Organisations/259/WorkPermitV2/All


Request URL : https://api-sandbox.oqsha.com/Organisations/259/WorkPermitV2/249/Export