level: Info

severity: INFO

message: ### Start Event Execution ###


message: Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"}]}


message: ### Started process for Execution of Event : Update_USER ###


message: ### Started Event for Update User Email ###


message: Calling Send Email Function for Update User Email


message: *--- Sending Email Serice Initiated ---*


message: Reading and binding data to Email Template


message: Initializing Email Service Client


message: Generating Email Request


from: "OQSHA" <noreply@oqsha.com>

subject: Your OQSHA Access Has Been Updated

created_by: Oqsha Sandbox

updated_by: Oqsha Sandbox


message: --- Email created using Osmo-x ---


message: --- Email response from Osmo-x is 201


message: ### End Event Execution ###


message: Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserUid","Value":"9100999124"},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"},{"Key":"MobileNumber","Value":"+912000000713"}]}


message: ### Started process for Execution of Event : Update_APP_USER ###


message: ### Started Event for Update App User Email ###


message: ### Start Notification Sender Program.cs Execution ###


message: ### Calling ConfigureService.Configure() function ###


message: ### Start Event Execution ###


message: Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"394"},{"Key":"ApproverIds","Value":"[5530,5538]"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"MocUid","Value":"M/FBYDW/COI/LMM/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


message: ### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


message: # Calling SendNotificationForMocCreation function for email/WhatsApp #


message: Executing email and WhatsApp notifications to MOC approvers


message: Sending MOC creation email to: TTK_COB_SITE_EHS@oqsha.com


message: Initializing Email Service Client


message: Generating Email Request


from: "TTK DSMS" <ttk_dsms@oqsha.com>

subject: New MOC Assigned


message: --- Email created using Osmo-x ---


message: --- Email response from Osmo-x is 201


message: Sending MOC creation WhatsApp message to: 912000001716


level: Warn

severity: WARN

message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001716","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Curley Benedict"},{"type":"text","text":"M/FBYDW/COI/LMM/26/00001"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://oqsha.com/#/moc/view/248/394?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


level: Debug

severity: DEBUG

message: Osmo-x WhatsApp Message has been Sent


message: Sending MOC creation email to: TTK_EHS@oqsha.com


message: Sending MOC creation WhatsApp message to: 912000002528


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"M/FBYDW/COI/LMM/26/00001"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://oqsha.com/#/moc/view/248/394?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


message: # Preparing notification body #


message: ### End Event Execution ###


message: ### Start Event Execution ###


message: Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":76116},{"Key":"AssignedToID","Value":13064}]}


message: ### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###


message: ### Started processing Assigned to Notification Event ###


message: # Calling SendNotificationToAssignedId function for all types of assigned to notification #


message: Generating report.


message: Converted to byte file


message: PDF generation successfull


message: Stopped Assigned To SMS as Org Level setting is set to false


message: Sending Assigned To Whatsapp for IncidentId:76116


message: # Checking for device existence #


message: # User device exists #


message: Sending Assigned To Notification for IncidentId:76116


message: Inside SendAppNotification Device Type: GCM


message: Generating AWS SNS Request


message: Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c34ebfd0-852a-3ba6-9d2b-5072e233617a


title: Unauthorized

detail: Invalid API key

instance: /notifications


message: --- AWS SNS Push Notification created using Osmo-x ---


message: --- Push notification response from Osmo-x is Unauthorized


message: Push notification failed to send to a device 20204.


message: # Push notification did not send #


message: ### Ended processing Assigned to Notification Event ###


message: ### End Event Execution ###


message: ### Start Event Execution ###


message: Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1709}]}


message: ### Started process for Execution of Event : COMPLETED_BATCH ###


message: # Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


message: Executing completed notification function to batch participants


message: Sending completed batch notification to batch participant267


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Test Purpose"},{"type":"text","text":"Shivganga Test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"June 29, 2026  03:19:59 PM"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/307/1709?dlType=viewBatch"}]}]}}}


message: Osmo-x WhatsApp Message has been Sent


message: Generating certificate.


level: Error

severity: ERROR

MethodName: HandleMessage

EntryPoint: NotificationSender

stackTrace:
System.ArgumentNullException: Value cannot be null.
Parameter name: path4
   at System.IO.Path.Combine(String path1, String path2, String path3, String path4)
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 25
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificatePDFAsByteArray(TrainingCertificateDTO participant, Int32 orgId, Int32 batchId, Int32 participantId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 115
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToBatchParticipantsForCompletedStatus(Int64 batchId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 3426
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 515


message: Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1710}]}


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Testing Purpose"},{"type":"text","text":"Task Test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"June 29, 2026  03:24:11 PM"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/308/1710?dlType=viewBatch"}]}]}}}


Message:
Value cannot be null.
Parameter name: path4


message: ### Start Notification Sender Program.cs Execution ###


message: ### Calling ConfigureService.Configure() function ###


message: ### Started process for Execution of Event : SAFETY_ALERT_ESCALATION_NOTIFICATION ###


message: ### Started processing Safety Alert Escalation Notification ###


message: # Calling SendSafetyAlertEscalationNotification for incident QTW6TT#


message: [SafetyAlertEscalation] Starting notification for incident QTW6TT


message: [SafetyAlertEscalation] Sending email to Annis Baron


message: *--- Sending Email Serice Initiated ---*


message: Reading and binding data to Email Template


message: Initializing Email Service Client


message: Generating Email Request


subject: Ticket Escalation - QTW6TT

result: This is a test mode notification. Notification was not delivered to recipient.


message: --- Email created using Osmo-x ---


message: --- Email response from Osmo-x is 201


message: [SafetyAlertEscalation] Email sent successfully to osm02769@osmosys.co


message: [SafetyAlertEscalation] Sending WhatsApp to Annis Baron, Number: 912000002657


message: Osmo-x WhatsApp Message has been Sent


message: [SafetyAlertEscalation] WhatsApp sent successfully to 912000002657


message: ### Ended processing Safety Alert Escalation Notification ###


message: ### End Event Execution ###


message: ### Start Event Execution ###


message: Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1711}]}


message: ### Started process for Execution of Event : COMPLETED_BATCH ###


message: # Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


message: Executing completed notification function to batch participants


message: Sending completed batch notification to batch participant267


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Certificate test"},{"type":"text","text":"Shivganga Test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"June 29, 2026  09:41:16 PM"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/307/1711?dlType=viewBatch"}]}]}}}


message: Generating certificate.


Message:
Value cannot be null.
Parameter name: path4


message: ### Start Notification Sender Program.cs Execution ###


message: ### Calling ConfigureService.Configure() function ###