level: Info

severity: INFO

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


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


message: ### Start Event Execution ###


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


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 #


level: Debug

severity: DEBUG

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:76007


message: Osmo-x WhatsApp Message has been Sent


message: # Preparing notification body #


message: # Checking for device existence #


message: # User device exists #


message: Sending Assigned To Notification for IncidentId:76007


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/75592e0e-dffd-3b77-9095-36a6f52a71cb


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 16160.


message: # Push notification did not send #


message: Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f5e8d178-4364-377e-8f30-2e559f730e1d


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


message: Inside SendAppNotification Device Type: APNS


message: Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/1a74432d-d583-3fda-9276-089b835371c7


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


message: Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/92dc567b-f8c0-3d5b-9cf2-1b5a36b40899


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


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


message: ### End Event Execution ###


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


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


message: ### Start Event Execution ###


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


message: # Calling SendNotificationForValidationIssued function for  whatsapp and push notification #


message: Message payload: { FacultyUserName = Sincere Kidwell, CourseName = ttt, BatchName = TEE_LAL_Sincere Kidwell_25-07-2025_01, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


message: ## Sending whatsapp notification to:+912000007341 ##


message: Osmo-x WhatsApp Message has been Sent


message: # Preparing notification body #


message: Message payload: { FacultyUserName = Sincere Kidwell, CourseName = ttt, BatchName = TEE_LAL_Sincere Kidwell_25-07-2025_02, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


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


message: # Calling SendNotificationToTaskAssignees function for WhatsApp notification #


message: Sending WhatsApp notification for task assignment to user ID: 267


level: Warn

severity: WARN

message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"TJTHGQ"},{"type":"text","text":"Tool rack loading capacity marking not available"},{"type":"text","text":"Safety Walkthrough"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14621?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


message: Sending Task Assignment Email for TaskId: 14621, UserId: 267


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


message: Reading and binding data to Email Template


message: Initializing Email Service Client


message: Generating Email Request


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

subject: New Action Tracker Assigned - TJTHGQ

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: ### Start Event Execution ###


message: Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":14621},{"Key":"OrgId","Value":248}]}


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


message: ### Started processing for Task Closure Validation Level 1 Event ###


message: ## Sending notification to Site EHS user ##


message: ## Notification to be send for these users: []


message: ### Ended processing Incident Closure Validation Level 1 Event ###


message: Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":14622},{"Key":"OrgId","Value":248}]}