Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Notification event with message ID 1830834f58ec3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1195","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830834f58ec3000


Looking up the notification handler for message ID 1830834f58ec3000


Event handling in process for message ID 1830834f58ec3000


Sending message ID 1830834f58ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T04:39:41.1839701Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1195 not found for message ID 1830834f58ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1195\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830834f58ec3000 to DLQ


Notification event with message ID 1830834f5d2c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1195","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830834f5d2c3000


Looking up the notification handler for message ID 1830834f5d2c3000


Event handling in process for message ID 1830834f5d2c3000


Sending message ID 1830834f5d2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T04:39:41.2609276Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1195 not found for message ID 1830834f5d2c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1195\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830834f5d2c3000 to DLQ


Notification event with message ID 183083500fac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1196","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 183083500fac3000


Looking up the notification handler for message ID 183083500fac3000


Event handling in process for message ID 183083500fac3000


Sending message ID 183083500fac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T04:39:41.3229977Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1196 not found for message ID 183083500fac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1196\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 183083500fac3000 to DLQ


Notification event with message ID 18308350102c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1196","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18308350102c3000


Looking up the notification handler for message ID 18308350102c3000


Event handling in process for message ID 18308350102c3000


Sending message ID 18308350102c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T04:39:41.3338296Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1196 not found for message ID 18308350102c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1196\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18308350102c3000 to DLQ


Notification event with message ID 18308c9064ec3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1197","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18308c9064ec3000


Looking up the notification handler for message ID 18308c9064ec3000


Event handling in process for message ID 18308c9064ec3000


Sending message ID 18308c9064ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T05:22:03.9069928Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1197 not found for message ID 18308c9064ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1197\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18308c9064ec3000 to DLQ


Notification event with message ID 18308c90656c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1197","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18308c90656c3000


Looking up the notification handler for message ID 18308c90656c3000


Event handling in process for message ID 18308c90656c3000


Sending message ID 18308c90656c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T05:22:03.9604299Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1197 not found for message ID 18308c90656c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1197\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18308c90656c3000 to DLQ


Started processing notification for message ID 18308f8356ec3000


Looking up the notification handler for message ID 18308f8356ec3000


Event handling in process for message ID 18308f8356ec3000


Dispatching the notifications for message ID 18308f8356ec3000


Successfully processed notification for message ID 18308f8356ec3000


Started processing notification for message ID 18308f83572c3000


Looking up the notification handler for message ID 18308f83572c3000


Event handling in process for message ID 18308f83572c3000


Dispatching the notifications for message ID 18308f83572c3000


Successfully processed notification for message ID 18308f83572c3000


Started processing notification for message ID 18308f98366c3000


Looking up the notification handler for message ID 18308f98366c3000


Event handling in process for message ID 18308f98366c3000


Dispatching the notifications for message ID 18308f98366c3000


Successfully processed notification for message ID 18308f98366c3000


Started processing notification for message ID 18308f98372c3000


Looking up the notification handler for message ID 18308f98372c3000


Event handling in process for message ID 18308f98372c3000


Dispatching the notifications for message ID 18308f98372c3000


Successfully processed notification for message ID 18308f98372c3000


Started processing notification for message ID 18309acadb6c3000


Looking up the notification handler for message ID 18309acadb6c3000


Event handling in process for message ID 18309acadb6c3000


Sending message ID 18309acadb6c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:27:14.9682705Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 571 not found for message ID 18309acadb6c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309acadb6c3000 to DLQ


Started processing notification for message ID 18309acadbac3000


Looking up the notification handler for message ID 18309acadbac3000


Event handling in process for message ID 18309acadbac3000


Sending message ID 18309acadbac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:27:15.1580306Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 571 not found for message ID 18309acadbac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309acadbac3000 to DLQ


Started processing notification for message ID 18309ad6f4ac3000


Looking up the notification handler for message ID 18309ad6f4ac3000


Event handling in process for message ID 18309ad6f4ac3000


Sending message ID 18309ad6f4ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:27:27.9598141Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 571 not found for message ID 18309ad6f4ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309ad6f4ac3000 to DLQ


Started processing notification for message ID 18309ad6f4ac3001


Looking up the notification handler for message ID 18309ad6f4ac3001


Event handling in process for message ID 18309ad6f4ac3001


Sending message ID 18309ad6f4ac3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:27:28.1427308Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 571 not found for message ID 18309ad6f4ac3001","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309ad6f4ac3001 to DLQ


Started processing notification for message ID 18309c3929ac3000


Looking up the notification handler for message ID 18309c3929ac3000


Event handling in process for message ID 18309c3929ac3000


Sending message ID 18309c3929ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:33:48.2964181Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 572 not found for message ID 18309c3929ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"572\",\"workPermitV2Id\":\"572\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309c3929ac3000 to DLQ


Started processing notification for message ID 18309c392d2c3000


Looking up the notification handler for message ID 18309c392d2c3000


Event handling in process for message ID 18309c392d2c3000


Sending message ID 18309c392d2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:33:48.3985048Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 572 not found for message ID 18309c392d2c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"572\",\"workPermitV2Id\":\"572\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309c392d2c3000 to DLQ


Started processing notification for message ID 18309c49196c3000


Looking up the notification handler for message ID 18309c49196c3000


Event handling in process for message ID 18309c49196c3000


Sending message ID 18309c49196c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:34:05.395513Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 572 not found for message ID 18309c49196c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"572\",\"workPermitV2Id\":\"572\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309c49196c3000 to DLQ


Started processing notification for message ID 18309c4919ec3000


Looking up the notification handler for message ID 18309c4919ec3000


Event handling in process for message ID 18309c4919ec3000


Sending message ID 18309c4919ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T06:34:05.6345981Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 572 not found for message ID 18309c4919ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"572\",\"workPermitV2Id\":\"572\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/572?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18309c4919ec3000 to DLQ


Notification event with message ID 1830a87d232c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1198","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830a87d232c3000


Looking up the notification handler for message ID 1830a87d232c3000


Event handling in process for message ID 1830a87d232c3000


Sending message ID 1830a87d232c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T07:29:59.809233Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1198 not found for message ID 1830a87d232c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1198\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830a87d232c3000 to DLQ


Notification event with message ID 1830a87d236c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1198","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830a87d236c3000


Looking up the notification handler for message ID 1830a87d236c3000


Event handling in process for message ID 1830a87d236c3000


Sending message ID 1830a87d236c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T07:29:59.8266336Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1198 not found for message ID 1830a87d236c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1198\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830a87d236c3000 to DLQ


Notification event with message ID 1830aa33706c3000 received: {"TemplateId":26,"EntityType":"inspection_v2","EventType":null,"NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"2613","orgId":"262","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2613","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":{},"Metadata":null}


Started processing notification for message ID 1830aa33706c3000


Looking up the notification handler for message ID 1830aa33706c3000


Event handling in process for message ID 1830aa33706c3000


Sending message ID 1830aa33706c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T07:37:50.4395119Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipient addresses found for message ID 1830aa33706c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 89\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":26,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2613\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2613\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}


Sent message ID 1830aa33706c3000 to DLQ


Notification event with message ID 1830aa33712c3000 received: {"TemplateId":29,"EntityType":"inspection_v2","EventType":null,"NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"2613","orgId":"262","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2613","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":{},"Metadata":null}


Started processing notification for message ID 1830aa33712c3000


Looking up the notification handler for message ID 1830aa33712c3000


Event handling in process for message ID 1830aa33712c3000


Sending message ID 1830aa33712c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T07:37:50.5745952Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipient addresses found for message ID 1830aa33712c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 89\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":29,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2613\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2613\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}


Sent message ID 1830aa33712c3000 to DLQ


Started processing notification for message ID 1830c1b9e4ac3000


Looking up the notification handler for message ID 1830c1b9e4ac3000


Event handling in process for message ID 1830c1b9e4ac3000


Sending message ID 1830c1b9e4ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:25:36.9896927Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 573 not found for message ID 1830c1b9e4ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"573\",\"workPermitV2Id\":\"573\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[14788],\"Work_Permit_Authorization_Area_Owner\":[14788],\"Work_Permit_Authorization_Plant_Head\":[14788]},\"Metadata\":null}"}


Sent message ID 1830c1b9e4ac3000 to DLQ


Started processing notification for message ID 1830c1b9e52c3000


Looking up the notification handler for message ID 1830c1b9e52c3000


Event handling in process for message ID 1830c1b9e52c3000


Sending message ID 1830c1b9e52c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:25:37.2317048Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 573 not found for message ID 1830c1b9e52c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"573\",\"workPermitV2Id\":\"573\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[14788],\"Work_Permit_Authorization_Area_Owner\":[14788],\"Work_Permit_Authorization_Plant_Head\":[14788]},\"Metadata\":null}"}


Sent message ID 1830c1b9e52c3000 to DLQ


Notification event with message ID 1830c3b40cac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1199","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":"Test"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c3b40cac3000


Looking up the notification handler for message ID 1830c3b40cac3000


Event handling in process for message ID 1830c3b40cac3000


Sending message ID 1830c3b40cac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:34:40.4764488Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1199 not found for message ID 1830c3b40cac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1199\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c3b40cac3000 to DLQ


Notification event with message ID 1830c3b40d2c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1199","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":"Test"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c3b40d2c3000


Looking up the notification handler for message ID 1830c3b40d2c3000


Event handling in process for message ID 1830c3b40d2c3000


Sending message ID 1830c3b40d2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:34:40.7148348Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1199 not found for message ID 1830c3b40d2c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1199\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c3b40d2c3000 to DLQ


Notification event with message ID 1830c3f48bac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1200","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c3f48bac3000


Looking up the notification handler for message ID 1830c3f48bac3000


Event handling in process for message ID 1830c3f48bac3000


Sending message ID 1830c3f48bac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:35:49.7232875Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1200 not found for message ID 1830c3f48bac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1200\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c3f48bac3000 to DLQ


Notification event with message ID 1830c3f48bec3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1200","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c3f48bec3000


Looking up the notification handler for message ID 1830c3f48bec3000


Event handling in process for message ID 1830c3f48bec3000


Sending message ID 1830c3f48bec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:35:49.9650198Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1200 not found for message ID 1830c3f48bec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1200\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c3f48bec3000 to DLQ


Notification event with message ID 1830c421382c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1201","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c421382c3000


Looking up the notification handler for message ID 1830c421382c3000


Event handling in process for message ID 1830c421382c3000


Sending message ID 1830c421382c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:36:37.6915875Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1201 not found for message ID 1830c421382c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1201\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c421382c3000 to DLQ


Notification event with message ID 1830c421386c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1201","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c421386c3000


Looking up the notification handler for message ID 1830c421386c3000


Event handling in process for message ID 1830c421386c3000


Sending message ID 1830c421386c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:36:37.7157129Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1201 not found for message ID 1830c421386c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1201\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c421386c3000 to DLQ


Notification event with message ID 1830c459e16c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1202","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c459e16c3000


Looking up the notification handler for message ID 1830c459e16c3000


Event handling in process for message ID 1830c459e16c3000


Sending message ID 1830c459e16c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:37:38.5328017Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1202 not found for message ID 1830c459e16c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1202\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c459e16c3000 to DLQ


Notification event with message ID 1830c459e1ec3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1202","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c459e1ec3000


Looking up the notification handler for message ID 1830c459e1ec3000


Event handling in process for message ID 1830c459e1ec3000


Sending message ID 1830c459e1ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:37:38.7177432Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1202 not found for message ID 1830c459e1ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1202\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c459e1ec3000 to DLQ


Notification event with message ID 1830c476142c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1203","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":"test"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c476142c3000


Looking up the notification handler for message ID 1830c476142c3000


Event handling in process for message ID 1830c476142c3000


Sending message ID 1830c476142c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:38:08.8093091Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1203 not found for message ID 1830c476142c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1203\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c476142c3000 to DLQ


Notification event with message ID 1830c476146c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1203","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":"test"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c476146c3000


Looking up the notification handler for message ID 1830c476146c3000


Event handling in process for message ID 1830c476146c3000


Sending message ID 1830c476146c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:38:08.9703107Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1203 not found for message ID 1830c476146c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1203\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c476146c3000 to DLQ


Notification event with message ID 1830c5b744ac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1204","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c5b744ac3000


Looking up the notification handler for message ID 1830c5b744ac3000


Event handling in process for message ID 1830c5b744ac3000


Sending message ID 1830c5b744ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-20T09:43:53.6877624Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 1204 not found for message ID 1830c5b744ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1830c5b744ac3000 to DLQ


Notification event with message ID 1830c5b744ec3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"1204","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1830c5b744ec3000