{ "timestamp": "2026-06-27 09:30:45.4394", "level": "Error", "severity": "ERROR", "message": "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", "stackTrace": "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\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html'\r\n   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\r\n   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\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   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" }
{ "timestamp": "2026-06-27 09:30:45.7860", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-27 13:27:09.5991", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-27 13:27:09.6249", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-27 13:27:33.5015", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-27 13:27:33.5015", "level": "Error", "severity": "ERROR" }
