{ "timestamp": "2026-07-21 04:51:15.8286", "level": "Error", "severity": "ERROR", "TraceId": "4e966d0b-42db-4425-a4af-8c5818057584", "message": "Failed to send audit log: BadRequest\nRequest Payload: {\"EntityTypeId\":43,\"EntityId\":264,\"ChangedBy\":{\"UserId\":678,\"Name\":null},\"ChangeType\":\"Updated\",\"OldValue\":{\"OrganisationId\":\"5682F8\",\"OrganisationName\":\"Neveu\",\"OrganisationType\":\"Warehouse\",\"Packages\":[{\"PackageId\":1,\"InvoiceId\":425,\"StartDate\":\"2026-03-30T00:00:00\",\"EndDate\":\"2027-06-28T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":null}],\"EnabledPayments\":\"No\",\"EnableSMSNotifications\":\"No\",\"EnableCallOut\":\"No\",\"OrganisationModules\":{\"Action Trackers IsVisible\":1,\"Appointments IsVisible\":0,\"Areas IsVisible\":0,\"Assets IsVisible\":0,\"Attendance IsVisible\":0,\"Audit Management IsVisible\":1,\"Audit V2 IsVisible\":0,\"Breakdown Maintenance IsVisible\":0,\"Bulk Export IsVisible\":0,\"Companies IsVisible\":1,\"Consequence Management IsVisible\":0,\"Courses IsVisible\":1,\"Customer Complaints IsVisible\":0,\"Dashboard IsVisible\":1,\"Dashboard V2 IsVisible\":1,\"Departments IsVisible\":1,\"Employee Recognition IsVisible\":0,\"Environment Management IsVisible\":0,\"Esg IsVisible\":0,\"FIR IsVisible\":1,\"Health IsVisible\":0,\"Health V2 IsVisible\":0,\"Heatmap IsVisible\":0,\"HIRA IsVisible\":0,\"HIRA V2 IsVisible\":0,\"Incident Management IsVisible\":0,\"Inspection V2 IsVisible\":0,\"Inspections IsVisible\":0,\"Inventory IsVisible\":0,\"Investigations IsVisible\":1,\"IoT Device Types IsVisible\":0,\"IoT Devices IsVisible\":0,\"Kiken Yochi Training IsVisible\":1,\"KPI IsVisible\":0,\"Library IsVisible\":0,\"Library V2 IsVisible\":1,\"MOC IsVisible\":0,\"Moc V2 IsVisible\":0,\"My training IsVisible\":1,\"Nominations IsVisible\":1,\"Notifications IsVisible\":0,\"Oqo Chatbot IsVisible\":0,\"Organisations IsVisible\":1,\"OsmoVision IsVisible\":0,\"Periodic Health Checkup IsVisible\":0,\"Permit to work IsVisible\":0,\"PMC V2 IsVisible\":0,\"PPE Issuance IsVisible\":0,\"Pre Startup Safety Review IsVisible\":0,\"Preventive Maintenance IsVisible\":0,\"Processes IsVisible\":0,\"Projects IsVisible\":0,\"PSSR IsVisible\":0,\"Quality Management IsVisible\":0,\"r4 IsVisible\":0,\"r5 IsVisible\":0,\"r6 IsVisible\":0,\"Reports IsVisible\":0,\"Roles IsVisible\":1,\"Safety Alerts IsVisible\":1,\"Safety Kaizen IsVisible\":0,\"Safety Kaizen V2 IsVisible\":0,\"Sections IsVisible\":1,\"Setup IsVisible\":1,\"Sites IsVisible\":1,\"Support IsVisible\":0,\"Tasks IsVisible\":0,\"Tickets IsVisible\":0,\"TNI IsVisible\":1,\"TNI Progress IsVisible\":1,\"TNI V2 IsVisible\":0,\"Toolbox Talk IsVisible\":1,\"Training register IsVisible\":1,\"Training report IsVisible\":1,\"Users IsVisible\":1,\"Visitor Management IsVisible\":0,\"Work Permit IsVisible\":0,\"Work Permit V2 IsVisible\":1,\"Zones IsVisible\":0},\"PtwPreferences\":null},\"NewValue\":{\"OrganisationId\":\"5682F8\",\"OrganisationName\":\"Neveu\",\"OrganisationType\":\"Warehouse\",\"Packages\":[{\"PackageId\":1,\"InvoiceId\":425,\"StartDate\":\"2026-03-30T00:00:00\",\"EndDate\":\"2027-06-28T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":null}],\"EnabledPayments\":\"No\",\"EnableSMSNotifications\":\"No\",\"EnableCallOut\":\"No\",\"OrganisationModules\":{\"Action Trackers IsVisible\":1,\"Appointments IsVisible\":0,\"Areas IsVisible\":0,\"Assets IsVisible\":0,\"Attendance IsVisible\":0,\"Audit Management IsVisible\":1,\"Audit V2 IsVisible\":0,\"Breakdown Maintenance IsVisible\":0,\"Bulk Export IsVisible\":0,\"Companies IsVisible\":1,\"Consequence Management IsVisible\":0,\"Courses IsVisible\":1,\"Customer Complaints IsVisible\":0,\"Dashboard IsVisible\":1,\"Dashboard V2 IsVisible\":1,\"Departments IsVisible\":1,\"Employee Recognition IsVisible\":0,\"Environment Management IsVisible\":0,\"Esg IsVisible\":0,\"FIR IsVisible\":1,\"Health IsVisible\":0,\"Health V2 IsVisible\":0,\"Heatmap IsVisible\":0,\"HIRA IsVisible\":0,\"HIRA V2 IsVisible\":0,\"Incident Management IsVisible\":0,\"Inspection V2 IsVisible\":0,\"Inspections IsVisible\":0,\"Inventory IsVisible\":0,\"Investigations IsVisible\":1,\"IoT Device Types IsVisible\":0,\"IoT Devices IsVisible\":0,\"Kiken Yochi Training IsVisible\":1,\"KPI IsVisible\":0,\"Library IsVisible\":0,\"Library V2 IsVisible\":1,\"MOC IsVisible\":0,\"Moc V2 IsVisible\":0,\"My training IsVisible\":1,\"Nominations IsVisible\":1,\"Notifications IsVisible\":0,\"Oqo Chatbot IsVisible\":0,\"Organisations IsVisible\":1,\"OsmoVision IsVisible\":0,\"Periodic Health Checkup IsVisible\":0,\"Permit to work IsVisible\":0,\"PMC V2 IsVisible\":0,\"PPE Issuance IsVisible\":0,\"Pre Startup Safety Review IsVisible\":0,\"Preventive Maintenance IsVisible\":0,\"Processes IsVisible\":0,\"Projects IsVisible\":0,\"PSSR IsVisible\":0,\"Quality Management IsVisible\":0,\"r4 IsVisible\":0,\"r5 IsVisible\":0,\"r6 IsVisible\":0,\"Reports IsVisible\":0,\"Roles IsVisible\":1,\"Safety Alerts IsVisible\":1,\"Safety Kaizen IsVisible\":0,\"Safety Kaizen V2 IsVisible\":0,\"Sections IsVisible\":1,\"Setup IsVisible\":1,\"Sites IsVisible\":1,\"Support IsVisible\":0,\"Tasks IsVisible\":0,\"Tickets IsVisible\":0,\"TNI IsVisible\":1,\"TNI Progress IsVisible\":1,\"TNI V2 IsVisible\":0,\"Toolbox Talk IsVisible\":1,\"Training register IsVisible\":1,\"Training report IsVisible\":1,\"Users IsVisible\":1,\"Visitor Management IsVisible\":0,\"Work Permit IsVisible\":0,\"Work Permit V2 IsVisible\":1,\"Zones IsVisible\":0},\"PtwPreferences\":null}}\nAPI Response: {\"type\":\"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\"title\":\"One or more validation errors occurred.\",\"status\":400,\"errors\":{\"ChangedBy.Name\":[\"The Name field is required.\"]},\"traceId\":\"00-440dcf259ef1a3f3d9b307779f572cdb-62095b3d83c17072-00\"}", "ApiInput": {"Method":"PUT","Url":"https://api-sandbox.oqsha.com/Dashboard/UpdateOrganisation/264","Route":"/Dashboard/UpdateOrganisation/264","Query":"","Body":{"Id":264,"FirstName":"Giselle","Lastname":"Angle","DisplayName":"GiselleAngle","OrganisationIcon":"","OrganisationName":"Neveu","OrganisationShortCode":"NEV","TimezoneId":1,"IsCloseOrganisation":true,"Email":"TITAGARH_BHA_SH@oqsha.com","OrganisationUid":"5682F8","UserId":678,"Address":"Garcon Point","AllowPortalUserCreation":true,"NotificationTimeWindow":{"NotificationTimeRestrictionEnabled":false,"StartTime":"","EndTime":""},"OwnerIds":[678]}} }
{ "timestamp": "2026-07-21 05:34:35.0889", "level": "Error", "severity": "ERROR", "TraceId": "10e9aea3-0f5a-432f-aebd-590ace2866f2", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportPreStartupSafetyReviewPdfHelper.ExportPssrPdf(PreStartupSafetyReviewResponseDto pssr, MocDBO associatedMoc, List`1 associatedTasks, List`1 pssrHistory, String organisationBannerRelativePath, String outputAbsoluteFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportPreStartupSafetyReviewPdfHelper.cs:line 191\r\n   at IncidentReporter.API.BLL.PreStartupSafetyReviewBLL.<ExportPreStartupSafetyReviewPdfAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PreStartupSafetyReviewBLL.cs:line 1020", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/PreStartupSafetyReviews/1/ExportPdf","Route":"/Organisations/262/PreStartupSafetyReviews/1/ExportPdf","Query":"","Body":""}, "MethodName": "ExportPreStartupSafetyReviewPdfAsync", "EntryPoint": "API", "InputData": null, "TraceId": "10e9aea3-0f5a-432f-aebd-590ace2866f2", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/PreStartupSafetyReviews\/1\/ExportPdf\",\"Route\":\"\/Organisations\/262\/PreStartupSafetyReviews\/1\/ExportPdf\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 05:45:05.7457", "level": "Error", "severity": "ERROR", "TraceId": "74d9ab54-bb90-461d-b9cd-89f6e1c11cf1", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportWorkPermitPDFHelper.ExportWorkPermitPDF(WorkPermitExportDTO workPermit, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String timeZone, Boolean EnableTwoColumnsBasicDetails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportWorkPermitPDFHelper.cs:line 837\r\n   at IncidentReporter.API.BLL.WorkPermitBLL.<ExportWorkPermitPdfAsync>d__52.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitBLL.cs:line 4215", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/WorkPermit/1369/Export","Route":"/Organisations/262/WorkPermit/1369/Export","Query":"","Body":""}, "MethodName": "ExportWorkPermitPdfAsync", "EntryPoint": "API", "InputData": null, "TraceId": "74d9ab54-bb90-461d-b9cd-89f6e1c11cf1", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/WorkPermit\/1369\/Export\",\"Route\":\"\/Organisations\/262\/WorkPermit\/1369\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 05:47:04.6481", "level": "Error", "severity": "ERROR", "TraceId": "39d1b2c8-d8c4-42cb-ac38-d73154fd56ff", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportPreStartupSafetyReviewPdfHelper.ExportPssrPdf(PreStartupSafetyReviewResponseDto pssr, MocDBO associatedMoc, List`1 associatedTasks, List`1 pssrHistory, String organisationBannerRelativePath, String outputAbsoluteFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportPreStartupSafetyReviewPdfHelper.cs:line 191\r\n   at IncidentReporter.API.BLL.PreStartupSafetyReviewBLL.<ExportPreStartupSafetyReviewPdfAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PreStartupSafetyReviewBLL.cs:line 1020", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/PreStartupSafetyReviews/1/ExportPdf","Route":"/Organisations/262/PreStartupSafetyReviews/1/ExportPdf","Query":"","Body":""}, "MethodName": "ExportPreStartupSafetyReviewPdfAsync", "EntryPoint": "API", "InputData": null, "TraceId": "39d1b2c8-d8c4-42cb-ac38-d73154fd56ff", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/PreStartupSafetyReviews\/1\/ExportPdf\",\"Route\":\"\/Organisations\/262\/PreStartupSafetyReviews\/1\/ExportPdf\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 05:53:50.8846", "level": "Error", "severity": "ERROR", "TraceId": "1a6c39da-be0b-465b-9f3b-6b6fe8d1adba", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportQualityManagementV2PDFHelper.ExportQualityManagementV2PDF(QualityManagementV2ResponseDto qmMgmt, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportQualityManagementV2PDFHelper.cs:line 214", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportQualityManagementV2PDFHelper.ExportQualityManagementV2PDF(QualityManagementV2ResponseDto qmMgmt, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportQualityManagementV2PDFHelper.cs:line 214", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/QualityManagementV2/5/Export","Route":"/Organisations/262/QualityManagementV2/5/Export","Query":"","Body":""} }
{ "timestamp": "2026-07-21 05:54:43.5558", "level": "Error", "severity": "ERROR", "TraceId": "55cdece0-118c-47c4-8991-2c74f50d715d", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportEnvironmentManagementV2PDFHelper.ExportEnvironmentManagementV2PDF(EnvironmentManagementV2ResponseDto envMgmt, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportEnvironmentManagementV2PDFHelper.cs:line 214", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportEnvironmentManagementV2PDFHelper.ExportEnvironmentManagementV2PDF(EnvironmentManagementV2ResponseDto envMgmt, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportEnvironmentManagementV2PDFHelper.cs:line 214", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/EnvironmentManagementV2/7/Export","Route":"/Organisations/262/EnvironmentManagementV2/7/Export","Query":"","Body":""} }
{ "timestamp": "2026-07-21 05:59:20.8072", "level": "Error", "severity": "ERROR", "TraceId": "7ad42e8b-b692-4394-8c06-39a840d5836a", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportMocV2PDFHelper.ExportMocV2PDF(MocV2ResponseDto mocV2, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportMocV2PDFHelper.cs:line 202", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportMocV2PDFHelper.ExportMocV2PDF(MocV2ResponseDto mocV2, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportMocV2PDFHelper.cs:line 202", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/MocV2/1/ExportPdf","Route":"/Organisations/262/MocV2/1/ExportPdf","Query":"","Body":""} }
{ "timestamp": "2026-07-21 06:08:50.2536", "level": "Error", "severity": "ERROR", "TraceId": "6c7e0682-e8bf-43f2-a467-6414f0bf6ab7", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/Users/0","Route":"/Organisations/255/Users/0","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "6c7e0682-e8bf-43f2-a467-6414f0bf6ab7", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/255\/Users\/0\",\"Route\":\"\/Organisations\/255\/Users\/0\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 06:09:19.8351", "level": "Error", "severity": "ERROR", "TraceId": "46217129-d3b9-4acf-b58a-3f44d252115b", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/Users/0","Route":"/Organisations/262/Users/0","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "46217129-d3b9-4acf-b58a-3f44d252115b", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/Users\/0\",\"Route\":\"\/Organisations\/262\/Users\/0\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 06:09:35.5584", "level": "Error", "severity": "ERROR", "TraceId": "1b937970-bb20-4c5f-8b2a-cf9e36c1d4f8", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/Users/0","Route":"/Organisations/262/Users/0","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "1b937970-bb20-4c5f-8b2a-cf9e36c1d4f8", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/Users\/0\",\"Route\":\"\/Organisations\/262\/Users\/0\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 06:10:42.4493", "level": "Error", "severity": "ERROR", "TraceId": "3c33823f-9863-41c7-8c43-221451eab0ad", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=779&SiteId=776&SiteId=774&SiteId=787&SiteId=777&SiteId=773&SiteId=778&SiteId=775","Route":"/Organisations/255/Departments","Query":"?SortingColumn=Name&SortingOrder=Asc&SiteId=779&SiteId=776&SiteId=774&SiteId=787&SiteId=777&SiteId=773&SiteId=778&SiteId=775","Body":""} }
{ "timestamp": "2026-07-21 06:10:42.4493", "level": "Error", "severity": "ERROR", "TraceId": "43feff86-4ad1-4252-a7e1-ef5d55afdf07", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisation/255/Users/DropDown?siteId=779&siteId=776&siteId=774&siteId=787&siteId=777&siteId=773&siteId=778&siteId=775","Route":"/Organisation/255/Users/DropDown","Query":"?siteId=779&siteId=776&siteId=774&siteId=787&siteId=777&siteId=773&siteId=778&siteId=775","Body":""} }
{ "timestamp": "2026-07-21 07:34:59.1334", "level": "Error", "severity": "ERROR", "TraceId": "ef2a2c20-8f64-4216-b0ce-6394bcf47333", "message": "The file path you provided is not Valid", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportWorkPermitPDFHelper.ExportWorkPermitPDF(WorkPermitExportDTO workPermit, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String timeZone, Boolean EnableTwoColumnsBasicDetails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportWorkPermitPDFHelper.cs:line 837\r\n   at IncidentReporter.API.BLL.WorkPermitBLL.<ExportWorkPermitPdfAsync>d__52.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitBLL.cs:line 4215", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/WorkPermit/1366/Export","Route":"/Organisations/262/WorkPermit/1366/Export","Query":"","Body":""}, "MethodName": "ExportWorkPermitPdfAsync", "EntryPoint": "API", "InputData": null, "TraceId": "ef2a2c20-8f64-4216-b0ce-6394bcf47333", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/WorkPermit\/1366\/Export\",\"Route\":\"\/Organisations\/262\/WorkPermit\/1366\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 08:28:32.6459", "level": "Error", "severity": "ERROR", "TraceId": "de63f937-42da-45ff-93c1-b03c6666c3a8", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/AccessControl/Modules/262","Route":"/AccessControl/Modules/262","Query":"","Body":""} }
{ "timestamp": "2026-07-21 09:39:41.2375", "level": "Error", "severity": "ERROR", "TraceId": "4b2c6c9e-847f-41b1-8af0-e24980933b58", "message": "Response status code does not indicate success: 400 (BAD REQUEST).", "stackTrace": "System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   at IncidentReporter.API.Helpers.SupersetClient.<PostGuestTokenAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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.SupersetClient.<MintGuestTokenAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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.EmbedBll.<GetGuestTokenAsync>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\EmbedBll.cs:line 120", "ApiInput": {"Method":"POST","Url":"https://api-sandbox.oqsha.com/Organisation/262/Embed/GuestToken","Route":"/Organisation/262/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"3"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "4b2c6c9e-847f-41b1-8af0-e24980933b58", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisation\/262\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/262\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"3\"}}" }
{ "timestamp": "2026-07-21 10:37:37.5163", "level": "Error", "severity": "ERROR", "TraceId": "d140a0bf-9de3-4a93-986c-bb911350d8d3", "message": "Response status code does not indicate success: 400 (BAD REQUEST).", "stackTrace": "System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   at IncidentReporter.API.Helpers.SupersetClient.<PostGuestTokenAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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.SupersetClient.<MintGuestTokenAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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.EmbedBll.<GetGuestTokenAsync>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\EmbedBll.cs:line 120", "ApiInput": {"Method":"POST","Url":"https://api-sandbox.oqsha.com/Organisation/256/Embed/GuestToken","Route":"/Organisation/256/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"1"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "d140a0bf-9de3-4a93-986c-bb911350d8d3", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisation\/256\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/256\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"1\"}}" }
{ "timestamp": "2026-07-21 10:40:57.1187", "level": "Error", "severity": "ERROR", "TraceId": "f4510d48-f8f9-4f13-9907-d4b53e0f7fcb", "message": "JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template 77ee5787-26e0-4143-af71-16ee1d0954a8 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template 77ee5787-26e0-4143-af71-16ee1d0954a8 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}\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.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 881", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/793/Export","Route":"/Organisations/256/InspectionV2/793/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "f4510d48-f8f9-4f13-9907-d4b53e0f7fcb", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/793\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/793\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 10:40:57.1247", "level": "Error", "severity": "ERROR", "TraceId": "f4510d48-f8f9-4f13-9907-d4b53e0f7fcb", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.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 InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\InspectionV2PDFHelper.cs:line 82\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.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 900", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/793/Export","Route":"/Organisations/256/InspectionV2/793/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "f4510d48-f8f9-4f13-9907-d4b53e0f7fcb", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/793\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/793\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 10:40:59.9499", "level": "Error", "severity": "ERROR", "TraceId": "265e3b43-c9dc-468c-8ea7-e7ef40f9e8e9", "message": "JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template 77ee5787-26e0-4143-af71-16ee1d0954a8 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template 77ee5787-26e0-4143-af71-16ee1d0954a8 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}\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.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 881", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/793/Export","Route":"/Organisations/256/InspectionV2/793/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "265e3b43-c9dc-468c-8ea7-e7ef40f9e8e9", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/793\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/793\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 10:40:59.9499", "level": "Error", "severity": "ERROR", "TraceId": "265e3b43-c9dc-468c-8ea7-e7ef40f9e8e9", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.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 InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\InspectionV2PDFHelper.cs:line 82\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.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 900", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/793/Export","Route":"/Organisations/256/InspectionV2/793/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "265e3b43-c9dc-468c-8ea7-e7ef40f9e8e9", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/793\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/793\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 10:59:45.7591", "level": "Error", "severity": "ERROR", "TraceId": "bfdc43c2-b590-47d8-89c2-de6ddb80ed16", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.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 InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\InspectionV2PDFHelper.cs:line 82\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.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 900", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/794/Export","Route":"/Organisations/262/InspectionV2/794/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "bfdc43c2-b590-47d8-89c2-de6ddb80ed16", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/InspectionV2\/794\/Export\",\"Route\":\"\/Organisations\/262\/InspectionV2\/794\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 11:14:44.3872", "level": "Error", "severity": "ERROR", "TraceId": "f88c623a-7aa3-4ef9-a545-3de019d88927", "message": "JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template 77ee5787-26e0-4143-af71-16ee1d0954a8 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template 77ee5787-26e0-4143-af71-16ee1d0954a8 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}\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.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 881", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/793/Export","Route":"/Organisations/256/InspectionV2/793/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "f88c623a-7aa3-4ef9-a545-3de019d88927", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/793\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/793\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 11:14:44.3872", "level": "Error", "severity": "ERROR", "TraceId": "f88c623a-7aa3-4ef9-a545-3de019d88927", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.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 InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\InspectionV2PDFHelper.cs:line 82\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.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 900", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/793/Export","Route":"/Organisations/256/InspectionV2/793/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "f88c623a-7aa3-4ef9-a545-3de019d88927", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/793\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/793\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 11:57:47.6800", "level": "Error", "severity": "ERROR", "TraceId": "b5a60fa8-a416-4cad-9221-e88dd31f5fb1", "message": "JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template dc9e756b-c209-4743-8c06-9ed3a1d47933 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template dc9e756b-c209-4743-8c06-9ed3a1d47933 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}\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.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 881", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/796/Export","Route":"/Organisations/256/InspectionV2/796/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "b5a60fa8-a416-4cad-9221-e88dd31f5fb1", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/796\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/796\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 11:57:47.6800", "level": "Error", "severity": "ERROR", "TraceId": "b5a60fa8-a416-4cad-9221-e88dd31f5fb1", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInspectionV2PDFTemplate.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 InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\InspectionV2PDFHelper.cs:line 82\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.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionV2Bll.cs:line 900", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/InspectionV2/796/Export","Route":"/Organisations/256/InspectionV2/796/Export","Query":"","Body":""}, "MethodName": "ExportInspectionV2PDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "b5a60fa8-a416-4cad-9221-e88dd31f5fb1", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/InspectionV2\/796\/Export\",\"Route\":\"\/Organisations\/256\/InspectionV2\/796\/Export\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:18:12.1924", "level": "Error", "severity": "ERROR", "TraceId": "bd90aa9f-5eb2-4d23-ae9f-76ff117fcfb3", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/Users/1","Route":"/Organisations/262/Users/1","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "bd90aa9f-5eb2-4d23-ae9f-76ff117fcfb3", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/Users\/1\",\"Route\":\"\/Organisations\/262\/Users\/1\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:26:48.7231", "level": "Error", "severity": "ERROR", "TraceId": "14556370-d944-42d1-81e4-490215359411", "message": "JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template a1725a9a-850f-4a3a-a4ba-95b8d71fcd08 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template a1725a9a-850f-4a3a-a4ba-95b8d71fcd08 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}\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 64", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/BreakdownMaintenance/61/Export?sectionId=1","Route":"/Organisations/255/BreakdownMaintenance/61/Export","Query":"?sectionId=1","Body":""}, "MethodName": "ExportBreakdownMaintenancePDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "14556370-d944-42d1-81e4-490215359411", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/255\/BreakdownMaintenance\/61\/Export?sectionId=1\",\"Route\":\"\/Organisations\/255\/BreakdownMaintenance\/61\/Export\",\"Query\":\"?sectionId=1\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:26:48.7759", "level": "Error", "severity": "ERROR", "TraceId": "14556370-d944-42d1-81e4-490215359411", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportBreakdownMaintenancePDFHelper.ExportBreakdownMaintenancePDF(BreakdownMaintenanceResponseDto breakdownMaintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportBreakdownMaintenancePDFHelper.cs:line 217", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportBreakdownMaintenancePDFHelper.ExportBreakdownMaintenancePDF(BreakdownMaintenanceResponseDto breakdownMaintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportBreakdownMaintenancePDFHelper.cs:line 217", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/BreakdownMaintenance/61/Export?sectionId=1","Route":"/Organisations/255/BreakdownMaintenance/61/Export","Query":"?sectionId=1","Body":""} }
{ "timestamp": "2026-07-21 12:29:40.0001", "level": "Error", "severity": "ERROR", "TraceId": "2eec1f98-8d1d-4519-a950-9b245af44430", "message": "JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template a1725a9a-850f-4a3a-a4ba-95b8d71fcd08 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 404. Response: {\"type\":\"about:blank\",\"title\":\"Not Found\",\"status\":404,\"detail\":\"Template a1725a9a-850f-4a3a-a4ba-95b8d71fcd08 not found\",\"instance\":\"/api/v1/render\",\"error_code\":\"NOT_FOUND\"}\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 64", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/BreakdownMaintenance/61/Export?sectionId=1","Route":"/Organisations/255/BreakdownMaintenance/61/Export","Query":"?sectionId=1","Body":""}, "MethodName": "ExportBreakdownMaintenancePDFAsync", "EntryPoint": "API", "InputData": null, "TraceId": "2eec1f98-8d1d-4519-a950-9b245af44430", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/255\/BreakdownMaintenance\/61\/Export?sectionId=1\",\"Route\":\"\/Organisations\/255\/BreakdownMaintenance\/61\/Export\",\"Query\":\"?sectionId=1\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:29:40.0001", "level": "Error", "severity": "ERROR", "TraceId": "2eec1f98-8d1d-4519-a950-9b245af44430", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportBreakdownMaintenancePDFHelper.ExportBreakdownMaintenancePDF(BreakdownMaintenanceResponseDto breakdownMaintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportBreakdownMaintenancePDFHelper.cs:line 217", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportBreakdownMaintenancePDFHelper.ExportBreakdownMaintenancePDF(BreakdownMaintenanceResponseDto breakdownMaintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportBreakdownMaintenancePDFHelper.cs:line 217", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/BreakdownMaintenance/61/Export?sectionId=1","Route":"/Organisations/255/BreakdownMaintenance/61/Export","Query":"?sectionId=1","Body":""} }
{ "timestamp": "2026-07-21 12:34:36.9086", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (&).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-07-21 12:36:39.8366", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (&).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-07-21 12:40:30.3117", "level": "Error", "severity": "ERROR", "TraceId": "b0891f38-6a56-4e96-ab60-64326151ce36", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/260/Users/881","Route":"/Organisations/260/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "b0891f38-6a56-4e96-ab60-64326151ce36", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/260\/Users\/881\",\"Route\":\"\/Organisations\/260\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:30.4830", "level": "Error", "severity": "ERROR", "TraceId": "8474c148-c97b-4a10-ab38-f46985e7bb3a", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/260/Users/881","Route":"/Organisations/260/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "8474c148-c97b-4a10-ab38-f46985e7bb3a", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/260\/Users\/881\",\"Route\":\"\/Organisations\/260\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:37.9626", "level": "Error", "severity": "ERROR", "TraceId": "c9a69fcf-62e9-4c94-b4e5-ba286ce15fc6", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "c9a69fcf-62e9-4c94-b4e5-ba286ce15fc6", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:38.1361", "level": "Error", "severity": "ERROR", "TraceId": "4310ad99-3f6c-4ae6-bfb9-0dd10617cdad", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "4310ad99-3f6c-4ae6-bfb9-0dd10617cdad", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:39.1735", "level": "Error", "severity": "ERROR", "TraceId": "426e6598-ff27-4ef4-9d8d-563aa2d749f1", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "426e6598-ff27-4ef4-9d8d-563aa2d749f1", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:39.3784", "level": "Error", "severity": "ERROR", "TraceId": "8dbf385d-087a-4fbd-b444-fbc72c9680bb", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "8dbf385d-087a-4fbd-b444-fbc72c9680bb", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:40.5476", "level": "Error", "severity": "ERROR", "TraceId": "4868c231-7255-42f8-b709-8f639902d196", "message": "Response status code does not indicate success: 400 (BAD REQUEST).", "stackTrace": "System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   at IncidentReporter.API.Helpers.SupersetClient.<PostGuestTokenAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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.SupersetClient.<MintGuestTokenAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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.EmbedBll.<GetGuestTokenAsync>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\EmbedBll.cs:line 120", "ApiInput": {"Method":"POST","Url":"https://api-sandbox.oqsha.com/Organisation/264/Embed/GuestToken","Route":"/Organisation/264/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"4"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "4868c231-7255-42f8-b709-8f639902d196", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisation\/264\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/264\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"4\"}}" }
{ "timestamp": "2026-07-21 12:40:44.8476", "level": "Error", "severity": "ERROR", "TraceId": "c7bec245-f003-4716-8515-623ba2687a0a", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "c7bec245-f003-4716-8515-623ba2687a0a", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:45.3675", "level": "Error", "severity": "ERROR", "TraceId": "31c7b4e3-1ff3-4c43-a983-44c2329c557d", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "31c7b4e3-1ff3-4c43-a983-44c2329c557d", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:59.7074", "level": "Error", "severity": "ERROR", "TraceId": "71ed8a89-44f7-4630-a7e9-e37eb60176c3", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "71ed8a89-44f7-4630-a7e9-e37eb60176c3", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:40:59.8546", "level": "Error", "severity": "ERROR", "TraceId": "79ee530b-f2c3-4aae-8912-4332cfa717f1", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "79ee530b-f2c3-4aae-8912-4332cfa717f1", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:41:00.3240", "level": "Error", "severity": "ERROR", "TraceId": "a83a4afa-8abc-44f0-96f9-668901eafdb0", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "a83a4afa-8abc-44f0-96f9-668901eafdb0", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 12:41:00.5028", "level": "Error", "severity": "ERROR", "TraceId": "e345a3f0-0476-4db9-bcad-3884214f10bb", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/264/Users/881","Route":"/Organisations/264/Users/881","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "e345a3f0-0476-4db9-bcad-3884214f10bb", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/264\/Users\/881\",\"Route\":\"\/Organisations\/264\/Users\/881\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 13:52:49.2128", "level": "Error", "severity": "ERROR", "TraceId": "462f577d-87e4-459e-be1e-e7c1a4310382", "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", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/Device/Unassociated","Route":"/Organisations/262/Device/Unassociated","Query":"","Body":""}, "MethodName": "GetUnassociatedIotDeviceById", "EntryPoint": "API", "InputData": null, "TraceId": "462f577d-87e4-459e-be1e-e7c1a4310382", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/Device\/Unassociated\",\"Route\":\"\/Organisations\/262\/Device\/Unassociated\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 13:53:28.6206", "level": "Error", "severity": "ERROR", "TraceId": "b5e05a84-2872-48eb-82a9-291b9f7ba668", "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", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/262/Device/Unassociated","Route":"/Organisations/262/Device/Unassociated","Query":"","Body":""}, "MethodName": "GetUnassociatedIotDeviceById", "EntryPoint": "API", "InputData": null, "TraceId": "b5e05a84-2872-48eb-82a9-291b9f7ba668", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/262\/Device\/Unassociated\",\"Route\":\"\/Organisations\/262\/Device\/Unassociated\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-21 14:38:12.5161", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
