{ "timestamp": "2026-04-30 03:55:31.7534", "level": "Error", "severity": "ERROR", "message": "Nullable object must have a value.", "stackTrace": "System.InvalidOperationException: Nullable object must have a value.\r\n   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at IncidentReporter.API.BLL.PtwBLL.<GetWorkPermitDetailsByPermitId>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PtwBLL.cs:line 0" }
{ "timestamp": "2026-04-30 03:55:32.3924", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 03:57:42.3648", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 03:58:36.8931", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 03:59:43.5701", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:10:04.1627", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:17:08.7500", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:18:17.4157", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:19:41.4376", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:20:58.7119", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:21:36.0143", "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-04-30 04:21:36.0273", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:21:36.0949", "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-04-30 04:21:36.0949", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:23:02.8791", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:25:31.9973", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:25:58.7558", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:26:33.2132", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:26:46.5756", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:27:08.1558", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:28:08.6058", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:29:36.3273", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:36:22.7921", "level": "Error", "severity": "ERROR", "message": "ACTION_TRACKER_BASE_URL is not configured.", "stackTrace": "System.Exception: ACTION_TRACKER_BASE_URL is not configured.\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.GenerateAlertLink(Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 1954\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 303" }
{ "timestamp": "2026-04-30 04:36:22.7921", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:46:28.4691", "level": "Error", "severity": "ERROR", "message": "Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.AuditLogHistoryRepo.<InsertAuditLogRecordAsync>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\AuditLogHistoryRepo.cs:line 274\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.SafetyAlertsBll.<CreateSafetyAlertAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 270" }
{ "timestamp": "2026-04-30 04:46:28.4894", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:46:37.8204", "level": "Error", "severity": "ERROR", "message": "Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.AuditLogHistoryRepo.<InsertAuditLogRecordAsync>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\AuditLogHistoryRepo.cs:line 274\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.SafetyAlertsBll.<CreateSafetyAlertAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 270" }
{ "timestamp": "2026-04-30 04:46:37.8204", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:50:00.8016", "level": "Error", "severity": "ERROR", "message": "Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.AuditLogHistoryRepo.<InsertAuditLogRecordAsync>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\AuditLogHistoryRepo.cs:line 274\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.SafetyAlertsBll.<CreateSafetyAlertAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 270" }
{ "timestamp": "2026-04-30 04:50:00.8097", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:51:14.9763", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:55:37.7210", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:55:51.3709", "level": "Error", "severity": "ERROR", "message": "Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.AuditLogHistoryRepo.<InsertAuditLogRecordAsync>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\AuditLogHistoryRepo.cs:line 274\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.SafetyAlertsBll.<CreateSafetyAlertAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 270" }
{ "timestamp": "2026-04-30 04:55:51.3709", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:56:14.1544", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:57:36.1514", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:58:19.1291", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:59:12.3774", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:59:23.9340", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 04:59:29.8229", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:00:16.3568", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:03:18.7767", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:05:22.8797", "level": "Error", "severity": "ERROR", "message": "Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'qa_stg_oqsha_4.audit_log_records' doesn't exist\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.AuditLogHistoryRepo.<InsertAuditLogRecordAsync>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\AuditLogHistoryRepo.cs:line 274\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.SafetyAlertsBll.<CreateSafetyAlertAsync>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 270" }
{ "timestamp": "2026-04-30 05:05:22.8837", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.1733", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.2653", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.3403", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.4265", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.5034", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.5592", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.6220", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.6712", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.7130", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.7666", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:06:12.8687", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:14:18.3407", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:16:13.2215", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:17:52.3868", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:18:19.1885", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:18:26.0978", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:18:33.4209", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:19:16.6036", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:19:17.3328", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:21:32.5465", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:23:37.2862", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:25:03.2959", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:25:17.3139", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:25:47.3043", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:26:06.7624", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:28:45.7762", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 05:32:32.9983", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:09:44.2302", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:09:44.2302", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:15:31.3979", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:15:31.5317", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:19:16.4097", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.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.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 86\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.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 1166" }
{ "timestamp": "2026-04-30 06:19:16.4413", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:21:45.1718", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 06:21:45.1740", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:22:06.7307", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 06:22:06.7384", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:22:18.6087", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 06:22:18.6136", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:24:17.7367", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 06:24:17.7367", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:25:01.5833", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 06:25:01.5833", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:25:18.4381", "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): Parameter '@ActiveStatus' must be defined.\r\n   at MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName, Int32 parameterIndex)\r\n   at MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)\r\n   at MySql.Data.MySqlClient.Statement.BindParameters()\r\n   at MySql.Data.MySqlClient.PreparableStatement.Execute()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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.<ExecuteImplAsync>d__39.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.WorkPermitV2Repo.<UpdateWorkPermitV2ChecksAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\WorkPermitV2Repo.cs:line 281\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.<UpdateWorkPermitV2ByIdAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 379" }
{ "timestamp": "2026-04-30 06:25:18.4600", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:25:27.5394", "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): Parameter '@ActiveStatus' must be defined.\r\n   at MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName, Int32 parameterIndex)\r\n   at MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)\r\n   at MySql.Data.MySqlClient.Statement.BindParameters()\r\n   at MySql.Data.MySqlClient.PreparableStatement.Execute()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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.<ExecuteImplAsync>d__39.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.WorkPermitV2Repo.<UpdateWorkPermitV2ChecksAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\WorkPermitV2Repo.cs:line 281\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.<UpdateWorkPermitV2ByIdAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 379" }
{ "timestamp": "2026-04-30 06:25:27.5394", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:51:24.0763", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 06:59:49.3352", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:01:46.4284", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:04:03.4284", "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.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.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.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.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-04-30 07:04:03.4284", "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.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.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.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.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-04-30 07:04:03.4284", "level": "Error", "severity": "ERROR", "message": "A task was canceled.", "stackTrace": "System.Threading.Tasks.TaskCanceledException: A task was canceled.\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.ApiControllerActionInvoker.<InvokeActionAsyncCore>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.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.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.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.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.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.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-04-30 07:04:16.3147", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:04:22.8737", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:04:31.4194", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 07:04:31.4194", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:08:30.9873", "level": "Error", "severity": "ERROR", "message": "ACTION_TRACKER_BASE_URL is not configured.", "stackTrace": "System.Exception: ACTION_TRACKER_BASE_URL is not configured.\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.GenerateAlertLink(Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 1954\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 303" }
{ "timestamp": "2026-04-30 07:08:30.9985", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:08:38.7985", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:08:38.7985", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:08:38.7985", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:14:07.7350", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 07:14:07.7350", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:16:21.4060", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.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.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 86\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.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 1166" }
{ "timestamp": "2026-04-30 07:16:21.4099", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:21:22.7479", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:21:49.7097", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:33:01.5405", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:34:19.0292", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:39:00.5140", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:43:24.9009", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 07:44:42.3257", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:00:42.9642", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:02:05.1931", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:05:04.0071", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:06:55.5271", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:07:01.8521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:09:06.2362", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:09:56.8901", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:10:52.0076", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:12:22.2216", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:13:00.1024", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:13:35.7661", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:13:52.1006", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:16:23.9419", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:17:54.3655", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:18:05.1922", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 08:18:05.5564", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:18:17.4371", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:19:34.1447", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:19:36.5483", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:29:52.5750", "level": "Error", "severity": "ERROR", "message": "ACTION_TRACKER_BASE_URL is not configured.", "stackTrace": "System.Exception: ACTION_TRACKER_BASE_URL is not configured.\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.GenerateAlertLink(Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 1954\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 303" }
{ "timestamp": "2026-04-30 08:29:52.5809", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:36:09.2167", "level": "Error", "severity": "ERROR", "message": "ACTION_TRACKER_BASE_URL is not configured.", "stackTrace": "System.Exception: ACTION_TRACKER_BASE_URL is not configured.\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.GenerateAlertLink(Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 1954\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 303" }
{ "timestamp": "2026-04-30 08:36:09.2268", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 08:55:18.2137", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 09:11:51.5256", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 09:11:51.5494", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 09:12:19.8916", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 09:12:19.8916", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 09:16:43.4848", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 09:27:13.3573", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 09:34:10.3562", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 09:34:10.3562", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:10:48.0509", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:17:13.3812", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:22:11.0658", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:23:57.9684", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:31:33.9478", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:31:33.9478", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:46:10.3362", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:46:10.6634", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:55:11.2372", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:56:24.9412", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:56:29.2975", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 10:56:33.4065", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 11:07:42.9672", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:02:03.2441", "level": "Error", "severity": "ERROR", "message": "ACTION_TRACKER_BASE_URL is not configured.", "stackTrace": "System.Exception: ACTION_TRACKER_BASE_URL is not configured.\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.GenerateAlertLink(Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 1954\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 303" }
{ "timestamp": "2026-04-30 12:02:03.2699", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:02:44.5676", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:13:30.0758", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:26:14.8055", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 12:26:15.4430", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:31:22.7450", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 12:31:22.7541", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:38:52.2150", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "IncidentReporter.DAL.Exceptions.UpstreamServiceException: An unexpected error occurred.\r\n   at IncidentReporter.API.Handlers.EntityStateWorkflowHandler.<GetAvailableTransitionsAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\EntityStateWorkflowHandler.cs:line 92\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.OrganisationBLL.<GetEntityStateAvailableTransitionsAsync>d__81.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 11291" }
{ "timestamp": "2026-04-30 12:38:52.2680", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:39:07.7825", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:39:16.9748", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:39:59.0348", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:41:06.5615", "level": "Error", "severity": "ERROR", "message": "Column 'name' cannot be null", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'name' cannot be null\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.InspectionsRepo.<CreateInspection>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\InspectionsRepo.cs:line 844\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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at IncidentReporter.API.BLL.InspectionsBLL.<CreateInspection>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionsBLL.cs:line 316" }
{ "timestamp": "2026-04-30 12:41:06.5843", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:44:12.8955", "level": "Error", "severity": "ERROR", "message": "Cannot add or update a child row: a foreign key constraint fails (`qa_stg_oqsha_4`.`tasks`, CONSTRAINT `tasks_ibfk_4` FOREIGN KEY (`task_status`) REFERENCES `task_statuses` (`id`))", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot add or update a child row: a foreign key constraint fails (`qa_stg_oqsha_4`.`tasks`, CONSTRAINT `tasks_ibfk_4` FOREIGN KEY (`task_status`) REFERENCES `task_statuses` (`id`))\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at Dapper.SqlMapper.ExecuteScalarImpl[T](IDbConnection cnn, CommandDefinition& command)\r\n   at Dapper.SqlMapper.ExecuteScalar[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)\r\n   at IncidentReporter.DAL.Repositories.TaskRepo.CreateTask(TasksDBO task, MySqlTransaction transaction) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\TaskRepo.cs:line 269\r\n   at IncidentReporter.API.BLL.TaskBLL.<CreateTask>d__8.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\TaskBLL.cs:line 237" }
{ "timestamp": "2026-04-30 12:44:12.8955", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:48:03.9410", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:48:04.0297", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.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.ExportInvestigationsPdfHelper.<ExportInvestigationPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportInvestigationsPdfHelper.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.InvestigationsBll.<ExportInvestigationPDFAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InvestigationsBll.cs:line 937" }
{ "timestamp": "2026-04-30 12:48:04.0297", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:48:07.7956", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.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.ExportInvestigationsPdfHelper.<ExportInvestigationPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportInvestigationsPdfHelper.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.InvestigationsBll.<ExportInvestigationPDFAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InvestigationsBll.cs:line 937" }
{ "timestamp": "2026-04-30 12:48:07.7956", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:48:15.9884", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.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.ExportInvestigationsPdfHelper.<ExportInvestigationPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportInvestigationsPdfHelper.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.InvestigationsBll.<ExportInvestigationPDFAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InvestigationsBll.cs:line 937" }
{ "timestamp": "2026-04-30 12:48:15.9884", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:48:41.8064", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:49:36.2366", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportInvestigationV2PDFTemplate.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.ExportInvestigationsPdfHelper.<ExportInvestigationPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportInvestigationsPdfHelper.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.InvestigationsBll.<ExportInvestigationPDFAsync>d__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InvestigationsBll.cs:line 937" }
{ "timestamp": "2026-04-30 12:49:36.2366", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:52:02.0095", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:52:36.2482", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:52:49.3743", "level": "Error", "severity": "ERROR", "message": "Column 'name' cannot be null", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'name' cannot be null\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.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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.<ExecuteScalarImplAsync>d__66`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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.DAL.Repositories.InspectionsRepo.<CreateInspection>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\InspectionsRepo.cs:line 844\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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at IncidentReporter.API.BLL.InspectionsBLL.<CreateInspection>d__7.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionsBLL.cs:line 316" }
{ "timestamp": "2026-04-30 12:52:49.3743", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:53:26.5690", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 12:54:13.5664", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 13:22:57.4603", "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): Parameter '@ActiveStatus' must be defined.\r\n   at MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName, Int32 parameterIndex)\r\n   at MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)\r\n   at MySql.Data.MySqlClient.Statement.BindParameters()\r\n   at MySql.Data.MySqlClient.PreparableStatement.Execute()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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.<ExecuteImplAsync>d__39.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.WorkPermitV2Repo.<UpdateWorkPermitV2ChecksAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\WorkPermitV2Repo.cs:line 281\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.<UpdateWorkPermitV2ByIdAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 379" }
{ "timestamp": "2026-04-30 13:22:57.5288", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 13:29:05.4192", "level": "Error", "severity": "ERROR", "message": "ACTION_TRACKER_BASE_URL is not configured.", "stackTrace": "System.Exception: ACTION_TRACKER_BASE_URL is not configured.\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.GenerateAlertLink(Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 2067\r\n   at IncidentReporter.API.BLL.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\ActionTrackersBll.cs:line 303" }
{ "timestamp": "2026-04-30 13:29:05.4192", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 13:47:31.0742", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:07:43.3199", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:07:52.9198", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:15:51.0087", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:15:54.2288", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:29:40.9914", "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-04-30 14:32:13.7114", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:33:51.1649", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:37:21.6908", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:38:47.7249", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:38:47.7249", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:39:06.5587", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:39:55.5865", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:40:48.2201", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:43:04.4759", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:44:49.9199", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:45:00.2398", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:45:23.1585", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:47:04.3192", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:48:00.4341", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:48:40.0868", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:49:26.6621", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:49:26.6621", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:49:31.4342", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:53:21.4969", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:55:52.8966", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:55:56.2369", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:57:59.0328", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 14:58:59.5520", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:10:20.6763", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:10:25.6771", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:13:31.0399", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:17:10.0323", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:17:12.6853", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:18:45.8579", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:18:49.1661", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:20:25.7291", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:20:31.7186", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:24:34.2616", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:26:25.2568", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:26:29.6347", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:28:21.9523", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:28:24.6712", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:30:08.0563", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:30:10.5858", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:31:46.7425", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:31:49.9740", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:35:56.6709", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:36:00.1961", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:37:08.7299", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:37:08.7299", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:37:13.4150", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:37:45.1096", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:41:09.5055", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:41:14.7017", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:42:44.5970", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:42:44.5970", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:43:29.8729", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:43:29.8729", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:43:37.7875", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:43:52.4324", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:43:52.4324", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:43:55.1781", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:45:27.1673", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:45:54.6796", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:45:58.9081", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:46:38.5845", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:46:46.5192", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:48:48.2076", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:48:52.7708", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:50:29.1735", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:50:31.5014", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:50:59.8008", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:50:59.8008", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:51:06.6419", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:52:47.5853", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:52:56.2311", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 15:58:22.9901", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:00:15.7377", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:20:00.0720", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:22:45.4219", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:30:15.7804", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:30:43.4836", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:30:47.8071", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:31:14.5872", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:31:17.8356", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:32:37.2251", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:53:18.7491", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:53:27.6302", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:57:01.7575", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:57:38.8897", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 16:59:23.4048", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:00:03.3130", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:18:27.3562", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:18:34.2331", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:19:01.1448", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:19:07.0699", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:19:14.2494", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 17:37:23.3800", "level": "Error", "severity": "ERROR", "message": "Task Engine GET zip signed URL failed for batch a74236d7-ce0a-4a5b-a94a-d2c983a8abdc. Status: NotFound, Body: {\"type\":\"https:\/\/task-engine\/problems\/not-found\",\"title\":\"Resource not found\",\"status\":404,\"detail\":\"Batch a74236d7-ce0a-4a5b-a94a-d2c983a8abdc not found\",\"instance\":\"\/api\/v1\/batches\/a74236d7-ce0a-4a5b-a94a-d2c983a8abdc\/zip\",\"error_code\":\"BATCH_NOT_FOUND\",\"timestamp\":\"2026-04-30T17:37:23.382Z\"}", "stackTrace": "System.Exception: Task Engine GET zip signed URL failed for batch a74236d7-ce0a-4a5b-a94a-d2c983a8abdc. Status: NotFound, Body: {\"type\":\"https:\/\/task-engine\/problems\/not-found\",\"title\":\"Resource not found\",\"status\":404,\"detail\":\"Batch a74236d7-ce0a-4a5b-a94a-d2c983a8abdc not found\",\"instance\":\"\/api\/v1\/batches\/a74236d7-ce0a-4a5b-a94a-d2c983a8abdc\/zip\",\"error_code\":\"BATCH_NOT_FOUND\",\"timestamp\":\"2026-04-30T17:37:23.382Z\"}" }
{ "timestamp": "2026-04-30 17:37:24.0167", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-30 20:28:14.7643", "level": "Error", "severity": "ERROR" }
