{ "timestamp": "2026-06-25 04:38:01.0169", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 04:38:50.3999", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 04:39:23.8879", "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-25 04:39:24.4003", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 04:55:01.9757", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 05:41:07.1581", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\ExportSafetyKaizenV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\ExportSafetyKaizenV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\ExportSafetyKaizenV2PDFTemplate.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.ExportSafetyKaizenV2PdfHelper.ExportSafetyKaizenV2PDF(SafetyKaizenV2ResponseDto safetyKaizen, String organisationBannerRelativePath, Dictionary`2 userIdNameMap, Dictionary`2 associationNameMapByModuleId, String outputAbsoluteFilePath, String submittedByName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportSafetyKaizenV2PdfHelper.cs:line 108\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<ExportSafetyKaizenV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 716" }
{ "timestamp": "2026-06-25 05:41:07.1705", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 05:41:08.7187", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\ExportSafetyKaizenV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\ExportSafetyKaizenV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\ExportSafetyKaizenV2PDFTemplate.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.ExportSafetyKaizenV2PdfHelper.ExportSafetyKaizenV2PDF(SafetyKaizenV2ResponseDto safetyKaizen, String organisationBannerRelativePath, Dictionary`2 userIdNameMap, Dictionary`2 associationNameMapByModuleId, String outputAbsoluteFilePath, String submittedByName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportSafetyKaizenV2PdfHelper.cs:line 108\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<ExportSafetyKaizenV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 716" }
{ "timestamp": "2026-06-25 05:41:08.7187", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 06:30:43.7604", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 06:31:20.1104", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 06:31:34.5527", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 06:37:38.0068", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:53:01.7612", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:53:01.7715", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:53:56.1910", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 07:53:56.2049", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:54:04.8551", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 07:54:04.8597", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:54:06.9924", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 07:54:07.0083", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:54:11.8898", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 07:54:11.8898", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:55:05.2564", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-25 07:55:24.2084", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:55:24.2482", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:55:46.5753", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:55:46.5753", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:56:14.9968", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:56:15.0135", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:56:36.1413", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 07:56:36.1413", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:56:42.2021", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 07:56:42.2021", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:57:22.2040", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:57:22.2040", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:59:22.5610", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:59:22.5705", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 07:59:24.9798", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 07:59:24.9798", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:00:43.6833", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 08:00:43.6969", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:00:50.8703", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 400. Response: {\"type\":\"about:blank\",\"title\":\"Bad Request\",\"status\":400,\"detail\":\"template_id must be a UUID\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"BAD_REQUEST\",\"errors\":{\"template_id\":[\"must be a UUID\"]}}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-25 08:00:50.8703", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:11:27.0604", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 08:11:27.0604", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:11:31.2393", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 08:11:31.2393", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:11:33.9990", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 08:11:33.9990", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:11:34.5994", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 08:11:34.5994", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 08:11:37.7513", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\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-25 08:11:37.7513", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:18:48.8662", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:19:44.2931", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:19:44.2931", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:25:34.7218", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:26:10.2367", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:32:29.1932", "level": "Error", "severity": "ERROR", "message": "The given header was not found.", "stackTrace": "System.InvalidOperationException: The given header was not found.\r\n   at System.Net.Http.Headers.HttpHeaders.GetValues(String name)\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.GetToken(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 214\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.OnActionExecuting(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 37\r\n   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken)\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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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 System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-25 09:33:56.1038", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:45:08.6060", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:45:36.1088", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:47:35.6870", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:49:56.5377", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:52:41.8187", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 09:53:07.7886", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:09:10.7189", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:10:08.2127", "level": "Error", "severity": "ERROR", "message": "Fatal error encountered during command execution.", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\r\n   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n   --- End of inner exception stack trace ---\r\n   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)\r\n   at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)\r\n   at MySql.Data.MySqlClient.MySqlStream.LoadPacket()\r\n   at MySql.Data.MySqlClient.MySqlStream.LoadPacket()\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)\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 Dapper.SqlMapper.<QueryMultipleAsync>d__57.MoveNext()\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.DAL.Repositories.PtwRepo.<>c__DisplayClass54_0.<<GetAllPermitToWork>b__1>d.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PtwRepo.cs:line 2418\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.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\BaseRepo.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.DAL.Repositories.PtwRepo.<GetAllPermitToWork>d__54.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PtwRepo.cs:line 2416\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.PtwBLL.<GetAllPermitToWork>d__25.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PtwBLL.cs:line 2556" }
{ "timestamp": "2026-06-25 10:10:08.7278", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:17:31.4075", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:29:01.7269", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:30:38.3907", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:31:04.0528", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:31:20.8988", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:32:08.3060", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:37:05.2220", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:37:05.4155", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:37:05.7263", "level": "Error", "severity": "ERROR", "message": "PreventiveMaintenanceUIDFormatOptions not found in PageFlags.", "stackTrace": "System.InvalidOperationException: PreventiveMaintenanceUIDFormatOptions not found in PageFlags.\r\n   at IncidentReporter.API.BLL.PreventiveMaintenanceBll.<GenerateMaintenanceUidAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PreventiveMaintenanceBll.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.PreventiveMaintenanceBll.<CreatePreventiveMaintenanceAsync>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PreventiveMaintenanceBll.cs:line 156" }
{ "timestamp": "2026-06-25 10:37:05.7366", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 10:42:01.7245", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299" }
{ "timestamp": "2026-06-25 10:42:01.7287", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 11:33:23.0082", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 11:33:56.6018", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 11:49:17.4896", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 11:51:33.8452", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 12:01:26.5214", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 12:08:03.7224", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 12:08:25.7643", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 13:04:35.7814", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 13:16:11.5703", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 13:23:13.1517", "level": "Error", "severity": "ERROR", "message": "The given header was not found.", "stackTrace": "System.InvalidOperationException: The given header was not found.\r\n   at System.Net.Http.Headers.HttpHeaders.GetValues(String name)\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.GetToken(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 214\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.OnActionExecuting(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 37\r\n   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken)\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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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 System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-25 13:31:45.4466", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 18:03:10.3802", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Net.Http.HttpContentExtensions.<ReadAsAsyncCore>d__0`1.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-25 18:53:46.8546", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-25 19:10:23.4937", "level": "Error", "severity": "ERROR" }
