Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"2982"},{"Key":"OrgId","Value":"387"},{"Key":"IncidentId","Value":"1540"}]}


### Started process for Execution of Event : SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT ###


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


### Ended processing supervisor alert workplace injury  ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Rupam Vallecha"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Asset Related Category, Dancing Category\"\", demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;., new ticket category after the datatable issue, hNear Miss Reportfshbu, hNear Miss Reportfs, Bug Checks, check, Ticket TestingCategory1, AAA site test, Explosion, Laila majnu, New Ticket, New tickettype edit, test ticket category 45, testt"},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, Coimbatore -1, daa, Dehradun WERE, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, Haryana, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site For Testing, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Thiruvananathpuram, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rupam.v@gmail.com"}]}


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


### Started Event for Update User Email ###


Calling Send Email Function for Update User Email


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Rupam Vallecha"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Asset Related Category, Dancing Category\"\", demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;., new ticket category after the datatable issue, hNear Miss Reportfshbu, hNear Miss Reportfs, Bug Checks, check, Ticket TestingCategory1, AAA site test, Explosion, Laila majnu, New Ticket, New tickettype edit, test ticket category 45, testt"},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, Coimbatore -1, daa, Dehradun WERE, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, Haryana, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site For Testing, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Thiruvananathpuram, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"Email","Value":"rupam.v@gmail.com"},{"Key":"MobileNumber","Value":"+9181062450444"}]}


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"InformToUserId","Value":1761}]}


### Started process for Execution of Event : INFORM_TO_INCIDENT_CREATION_NOTIFICATION ###


### Started processing Inform-To Incident Creation Notification ###


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at IncidentReporter.NotificationSender.Helpers.WhatsappHelper.SendOsmoXMessage(String apiBody) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\WhatsappHelper.cs:line 250


Generating Safety Alert report.


## Safety Alert Email Sent to Abhinav Srivastava##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 48052


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


### Ended processing Inform-To Incident Creation Notification ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":48052},{"Key":"AssignedToID","Value":2213}]}


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


### Started processing Assigned to Notification Event ###


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


Generating report.


PDF generation successfull


## Sending email to Rupam Vallecha, UserId : 2213 for assigned to notification ##


Sending Assigned To Email for IncidentId:48052


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


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


Sending Assigned To Whatsapp for IncidentId:48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9181062450444","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


# Preparing notification body #


### Ended processing Assigned to Notification Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00217#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00217


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'notification_body' cannot be null
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)
   at IncidentReporter.DAL.Repositories.NotificationsRepo.BulkInsertUserModuleNotification(IEnumerable`1 userNotifications) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\NotificationsRepo.cs:line 802
   at IncidentReporter.NotificationSender.Helpers.AddUserModuleNotificationHelper.AddUserModuleNotification(Int32 orgId, Int32 entityId, List`1 userIds, Dictionary`2 userTemplateContent, Int32 acmModuleId, UserModuleNotificationType notificationType, Int32 createdById, String conn, String viewLink) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\AddUserModuleNotificationHelper.cs:line 125
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.<SendSafetyAlertEscalationNotification>d__234.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 0


### Ended processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00062#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00062


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


--- Email response from Osmo-x is Unauthorized


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/EEE/26/00009#


[SafetyAlertEscalation] Starting notification for incident T/TTK/EEE/26/00009


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/LCC/26/00003#


[SafetyAlertEscalation] Starting notification for incident T/TTK/LCC/26/00003


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00274#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00274


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00271#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00271


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00267#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00267


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00254#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00254


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TTA/25/00069#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TTA/25/00069


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00225#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00225


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00208#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00208


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00231#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00231


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentHistoryId","Value":62694},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:48052


Sending Assigned To Whatsapp for IncidentId:48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9181062450444","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91963094878","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar 500"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919998887775","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sagar Approver 2"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9172239641788","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhi Consent"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918143571809","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bhavana Arni"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919309948450","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shubam Jha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91498454386468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raju Kumar"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912323432342","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"plant head ttk ttk"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919876543111","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Ram Singh"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"910987654321234","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Multiple reporting Manager's"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as THis is closure comment"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendUpdateIncidentNotification(Int64 incidentId, Int64 incidentHistoryId, Boolean isTicketAssigned) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 3034
   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 456


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentStatus","Value":null}]}


### Started process for Execution of Event : ALTERNATIVE_INCIDENT_NOTIFICATION ###


### Started processing for Alternative incident notification Event ###


### Ended processing Alternative incident notification Event ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentHistoryId","Value":62695},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:48052


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Sending Assigned To Whatsapp for IncidentId:48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9181062450444","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91963094878","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar 500"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919998887775","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sagar Approver 2"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9172239641788","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhi Consent"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918143571809","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bhavana Arni"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919309948450","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shubam Jha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91498454386468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raju Kumar"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912323432342","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"plant head ttk ttk"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919876543111","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Ram Singh"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"910987654321234","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Multiple reporting Manager's"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Open"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentStatus","Value":"Reopened"}]}


### Started process for Execution of Event : ALTERNATIVE_INCIDENT_NOTIFICATION ###


### Started processing for Alternative incident notification Event ###


Sending Inform-To Update WhatsApp for IncidentId:48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9181062450444","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket is Reopened"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Reopened"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.Format(String format, Object arg0, Object arg1, Object arg2)
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendAlternativeIncidentNotification(Int64 incidentId, String incidentStatus) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 17479
   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 1176


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentHistoryId","Value":62696},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:48052


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Sending Assigned To Whatsapp for IncidentId:48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9181062450444","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91963094878","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar 500"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919998887775","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sagar Approver 2"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9172239641788","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhi Consent"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918143571809","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bhavana Arni"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919309948450","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shubam Jha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91498454386468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raju Kumar"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912323432342","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"plant head ttk ttk"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919876543111","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Ram Singh"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"910987654321234","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Multiple reporting Manager's"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentStatus","Value":null}]}


### Started process for Execution of Event : ALTERNATIVE_INCIDENT_NOTIFICATION ###


### Started processing for Alternative incident notification Event ###


### Ended processing Alternative incident notification Event ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentHistoryId","Value":62697},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:48052


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Sending Assigned To Whatsapp for IncidentId:48052


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9181062450444","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91963094878","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar 500"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919998887775","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sagar Approver 2"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9172239641788","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhi Consent"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918143571809","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bhavana Arni"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919309948450","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shubam Jha"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91498454386468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raju Kumar"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912323432342","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"plant head ttk ttk"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919876543111","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Ram Singh"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"910987654321234","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Multiple reporting Manager's"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/16J/BCC/26/00002"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as Closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"This is ticket"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Bug Checks"},{"type":"text","text":"Rupam Vallecha"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/48052?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":48052},{"Key":"IncidentStatus","Value":""}]}


### Started process for Execution of Event : ALTERNATIVE_INCIDENT_NOTIFICATION ###


### Started processing for Alternative incident notification Event ###


### Ended processing Alternative incident notification Event ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00018#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00018


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00029#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00029


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00030#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00030


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00031#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00031


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00046#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00046


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00030#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00030


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00099#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00099


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/AAA/26/00034#


[SafetyAlertEscalation] Starting notification for incident T/TTK/AAA/26/00034


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/26/00017#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/26/00017


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/LCC/26/00019#


[SafetyAlertEscalation] Starting notification for incident T/TTK/LCC/26/00019


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00058#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00058


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/LCC/26/00004#


[SafetyAlertEscalation] Starting notification for incident T/TTK/LCC/26/00004


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 1


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_ROLES_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2060"},{"Key":"WorkPermitId","Value":"1015"},{"Key":"WorkPermitUid","Value":"WP/APS/APP/HWT/26/00001"},{"Key":"SiteName","Value":"Apas"},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"ApprovedOn","Value":"11-Mar-2026 09:59:44 AM"},{"Key":"OrgId","Value":297}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_ROLES_NOTIFICATION ###


Executing email notifications to Role Based User about the approval of Work Permit by an Approver


Sending WorkPermit Approver Clarification email to Role Based user: harshit.k2@gmail.com


Executing whatsapp notifications to Role based User about the approval of Work Permit by an Approver


Sending WhatsApp for WorkPermit to user: 2060


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"1015"},{"Key":"WorkPermitUid","Value":"WP/APS/APP/HWT/26/00001"},{"Key":"SiteName","Value":"Apas"},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"ApprovedOn","Value":"11-Mar-2026 09:59:44 AM"},{"Key":"OrgId","Value":297}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to Contractor Supervisor about the approval of Work Permit by all Approver


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 1


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_ROLES_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2060"},{"Key":"WorkPermitId","Value":"1014"},{"Key":"WorkPermitUid","Value":"WP/APS/APP/CST/26/00003"},{"Key":"SiteName","Value":"Apas"},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"ApprovedOn","Value":"11-Mar-2026 09:59:53 AM"},{"Key":"OrgId","Value":297}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_ROLES_NOTIFICATION ###


Executing email notifications to Role Based User about the approval of Work Permit by an Approver


Sending WorkPermit Approver Clarification email to Role Based user: harshit.k2@gmail.com


Executing whatsapp notifications to Role based User about the approval of Work Permit by an Approver


Sending WhatsApp for WorkPermit to user: 2060


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"1014"},{"Key":"WorkPermitUid","Value":"WP/APS/APP/CST/26/00003"},{"Key":"SiteName","Value":"Apas"},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"ApprovedOn","Value":"11-Mar-2026 09:59:53 AM"},{"Key":"OrgId","Value":297}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to Contractor Supervisor about the approval of Work Permit by all Approver


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started process for Execution of Event : NOTIFICATION_FOR_WORK_PERMIT_CREATION ###


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


Sending WorkPermit creation WhatsApp message to: 919160948627


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION ###


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


### Started process for Execution of Event : INFORM_TO_USERS_FOR_HIRA_CREATION_ALL_SITES ###


# Calling SendNotificationToInformUsersForHiraCreationForAllSites function for email/WhatsApp #


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00111#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00111


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00163#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00163


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


--- Email response from Osmo-x is Unauthorized


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TTA/25/00066#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TTA/25/00066


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00220#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00220


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00177#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00177


[SafetyAlertEscalation] Sending email to Abhinav Srivastava


[SafetyAlertEscalation] Failed to send email to as9801233442@gmail.com


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00201#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00201


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00243#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00243


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started process for Execution of Event : INFORM_TO_USERS_FOR_HIRA_CREATION_ALL_SITES ###


# Calling SendNotificationToInformUsersForHiraCreationForAllSites function for email/WhatsApp #


Error occurred while sending Osmo-x Whatsapp message.


The remote server returned an error: (401) Unauthorized.


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/AAA/25/00070#


[SafetyAlertEscalation] Starting notification for incident T/TTK/AAA/25/00070


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00149#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00149


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to lalit.a@osmosys.co


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00154#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00154


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00164#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00164


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00166#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00166


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00175#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00175


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to lalit.a@osmosys.co


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TTA/25/00063#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TTA/25/00063


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00178#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00178


[SafetyAlertEscalation] Sending email to Abhinav Srivastava


[SafetyAlertEscalation] Failed to send email to as9801233442@gmail.com


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00184#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00184


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TCL/25/00024#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TCL/25/00024


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to lalit.a@osmosys.co


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00053#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00053


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00186#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00186


[SafetyAlertEscalation] Sending email to Abhinav Srivastava


[SafetyAlertEscalation] Failed to send email to as9801233442@gmail.com


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00188#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00188


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00196#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00196


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/AAA/25/00020#


[SafetyAlertEscalation] Starting notification for incident T/TTK/AAA/25/00020


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00279#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00279


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00073#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00073


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


Column 'notification_body' cannot be null


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/AAA/25/00064#


[SafetyAlertEscalation] Starting notification for incident T/TTK/AAA/25/00064


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


--- Email response from Osmo-x is Unauthorized


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/AAA/25/00068#


[SafetyAlertEscalation] Starting notification for incident T/TTK/AAA/25/00068


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/LCC/25/00010#


[SafetyAlertEscalation] Starting notification for incident T/TTK/LCC/25/00010


[SafetyAlertEscalation] Sending email to Rajkumar Pativada


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Unauthorized


--- Email created using Osmo-x ---


--- Email response from Osmo-x is Unauthorized


[SafetyAlertEscalation] Failed to send email to rajkumar.p@osmosys.co


MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'notification_body' cannot be null
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)
   at IncidentReporter.DAL.Repositories.NotificationsRepo.BulkInsertUserModuleNotification(IEnumerable`1 userNotifications) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\NotificationsRepo.cs:line 811
   at IncidentReporter.NotificationSender.Helpers.AddUserModuleNotificationHelper.AddUserModuleNotification(Int32 orgId, Int32 entityId, List`1 userIds, Dictionary`2 userTemplateContent, Int32 acmModuleId, UserModuleNotificationType notificationType, Int32 createdById, String conn, String viewLink) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\AddUserModuleNotificationHelper.cs:line 125
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.<SendSafetyAlertEscalationNotification>d__240.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 0


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #