{ "timestamp": "2026-08-31 00:27:21.9913", "level": "Info", "severity": "INFO", "message": "### Start Notification Sender Program.cs Execution ###" }
{ "timestamp": "2026-08-31 00:27:22.0108", "level": "Info", "severity": "INFO", "message": "### Calling ConfigureService.Configure() function ###" }
{ "timestamp": "2026-08-31 00:27:26.1349", "level": "Info", "severity": "INFO", "message": "### Start Notification Sender Program.cs Execution ###" }
{ "timestamp": "2026-08-31 00:27:26.1523", "level": "Info", "severity": "INFO", "message": "### Calling ConfigureService.Configure() function ###" }
{ "timestamp": "2026-08-31 00:27:26.3977", "level": "Info", "severity": "INFO", "message": "### Start Notification Sender Program.cs Execution ###" }
{ "timestamp": "2026-08-31 00:27:26.4165", "level": "Info", "severity": "INFO", "message": "### Calling ConfigureService.Configure() function ###" }
{ "timestamp": "2026-08-31 05:03:49.0691", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:03:49.0691", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"CompanyId\",\"Value\":2469},{\"Key\":\"StringIssuerIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 10:33:48 AM\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 05:03:49.3238", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 05:03:49.3238", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:03:49.3678", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:03:49.3763", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 05:03:49.3763", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:03:49.4054", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Mario Mattern at 31-Aug-2026 10:33:48 AM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:03:49.4738", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:03:49.4738", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 05:03:49.4738", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:03:49.4738", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:03:49.4738", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:17.3589", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:17.3589", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:34:17 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 05:04:17.3729", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 05:04:17.3729", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:04:17.4303", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:04:17.4326", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 05:04:17.4326", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 05:04:17.4326", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:17.4326", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Issued by Mario Mattern at 31-Aug-2026 10:34:17 AM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:17.4838", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:17.4838", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:04:17.4838", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:04:17.4838", "level": "Info", "severity": "INFO", "message": " # string body 31-Aug-2026, Mario Mattern, " }
{ "timestamp": "2026-08-31 05:04:17.4956", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 05:04:17.4956", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:25.3980", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:25.3980", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Approved\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[5125,5125]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:34:25 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"[]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 05:04:25.3980", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 05:04:25.3980", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:04:25.4083", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:04:25.4205", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 05:04:25.4205", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 05:04:25.4205", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:25.4205", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Mario Mattern at 31-Aug-2026 10:34:25 AM\"},{\"type\":\"text\",\"text\":\"Authorize\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:25.4700", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:25.4700", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:04:25.4700", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:04:25.4700", "level": "Info", "severity": "INFO", "message": " # string body 31-Aug-2026, Mario Mattern, " }
{ "timestamp": "2026-08-31 05:04:25.4700", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:29.4311", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:29.4311", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER\",\"EventArgs\":[{\"Key\":\"StringUserIds\",\"Value\":\"[5125,5928,5939,5993,6901,6918,7102,7216,7708]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[5125,5125]\"},{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:34:29 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 05:04:29.4311", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER ###" }
{ "timestamp": "2026-08-31 05:04:29.4311", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:04:29.4311", "level": "Info", "severity": "INFO", "message": "User Ids for notification: [5125,5928,5939,5993,6901,6918,7102,7216,7708]" }
{ "timestamp": "2026-08-31 05:04:29.4311", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:04:29.4485", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 05:04:29.4485", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.4485", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.4955", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.4955", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.4955", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000009518\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.5427", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.5427", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.5427", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000005578\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.5943", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.5943", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.5943", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444441\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.6420", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.6420", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.6420", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008846\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.6924", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.6924", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.6924", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008253\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.7419", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.7419", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.7419", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008300\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.7892", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.7892", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.7892", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000002430\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.8357", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.8357", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:29.8357", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008369\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:29.8850", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:29.8850", "level": "Info", "severity": "INFO", "message": "Starting Execution for push notification for all" }
{ "timestamp": "2026-08-31 05:04:29.8850", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:04:29.8850", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:04:29.8850", "level": "Info", "severity": "INFO", "message": " # string body 31-Aug-2026, Mario Mattern, P\/NTSK\/VWH\/MOBER\/HO\/26\/00001, 31-Aug-2026" }
{ "timestamp": "2026-08-31 05:04:29.8850", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"DurationInHours\",\"Value\":\"5 hour(s)\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:34:44 AM\"},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers for extended PTW through whatsapp" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:04:44.8999", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Requested by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:34:44 AM\"},{\"type\":\"text\",\"text\":\"Extension Issue\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:04:44.9605", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:04:44.9605", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers for extended PTW" }
{ "timestamp": "2026-08-31 05:04:44.9605", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:04:44.9605", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:04:44.9605", "level": "Info", "severity": "INFO", "message": " # string body Mario Mattern, 5 hour(s), P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:04:44.9605", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"DurationInHours\",\"Value\":\"5 hour(s)\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:35:06 AM\"},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"RequestedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"IssuerUserDisplayName\",\"Value\":\"\"},{\"Key\":\"ApproverUserDisplayName\",\"Value\":\"\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtApproved\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:06.1341", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Issued by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:06 AM\"},{\"type\":\"text\",\"text\":\"Extension Approve\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:06.1939", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:06.1939", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:05:06.1995", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:05:06.1995", "level": "Info", "severity": "INFO", "message": " # string body Mario Mattern, 5 hour(s), P\/NTSK\/VWH\/MOBER\/HO\/26\/00001,," }
{ "timestamp": "2026-08-31 05:05:06.1995", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:10.9605", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:10.9605", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"ExtApproved\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[5125,5125]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"DurationInHours\",\"Value\":\"5 hour(s)\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:35:10 AM\"},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"RequestedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"IssuerUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"ApproverUserDisplayName\",\"Value\":\"\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtReviewed\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:10.9618", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Approved by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:10 AM\"},{\"type\":\"text\",\"text\":\"Extension Authorize\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:11.0176", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:11.0176", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:05:11.0176", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:05:11.0176", "level": "Info", "severity": "INFO", "message": " # string body Mario Mattern, 5 hour(s), P\/NTSK\/VWH\/MOBER\/HO\/26\/00001,Mario Mattern," }
{ "timestamp": "2026-08-31 05:05:11.0176", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:13.3384", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:13.3384", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER_FOR_EXTENSION_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125,5928,5939,5993,6901,6918,7102,7216,7708]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[5125,5125]\"},{\"Key\":\"DurationInHours\",\"Value\":\"5 hour(s)\"},{\"Key\":\"ApprovedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:35:13 AM\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 05:05:13.3384", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER_FOR_EXTENSION_PTW ###" }
{ "timestamp": "2026-08-31 05:05:13.3384", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:05:13.3384", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:05:13.3554", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 05:05:13.3554", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.3554", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.4032", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.4032", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.4032", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000009518\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.4556", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.4556", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.4556", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000005578\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.5043", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.5043", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.5043", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444441\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.5506", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.5506", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.5506", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008846\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.6012", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.6012", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.6012", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008253\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.6476", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.6476", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.6476", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008300\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.7009", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.7009", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.7009", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000002430\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.7485", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.7485", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:13.7485", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008369\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:13.8047", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:13.8047", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:05:13.8047", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:05:13.8047", "level": "Info", "severity": "INFO", "message": " # string body Mario Mattern, 5 hour(s), P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:05:13.8047", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:37.9244", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:05:37.9244", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441109},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"Key\":\"DurationInHours\",\"Value\":\"4 hour(s)\"},{\"Key\":\"StringUserIds\",\"Value\":\"[5125]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[5928,5993,6901,6918,7102,5125,5939,7708,7216]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 10:35:37 AM\"},{\"Key\":\"JobType\",\"Value\":\"Hot Work\"},{\"Key\":\"SiteName\",\"Value\":\"Archer Lodge\"},{\"Key\":\"OrganisationId\",\"Value\":249},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Mario Mattern\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 05:05:37.9244", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 05:05:37.9244", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 05:05:37.9326", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:05:37.9326", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers for extended PTW through whatsapp" }
{ "timestamp": "2026-08-31 05:05:37.9326", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441109" }
{ "timestamp": "2026-08-31 05:05:37.9326", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"914444444443\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/NTSK\/VWH\/MOBER\/HO\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Hot Work\"},{\"type\":\"text\",\"text\":\"Archer Lodge\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Requested by Mario Mattern for 4 hour(s) at 31-Aug-2026 10:35:37 AM\"},{\"type\":\"text\",\"text\":\"Extension Issue\"},{\"type\":\"text\",\"text\":\"Mario Mattern\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/249\/441109\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:05:37.9827", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:05:37.9827", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers for extended PTW" }
{ "timestamp": "2026-08-31 05:05:37.9827", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:05:37.9827", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:05:37.9827", "level": "Info", "severity": "INFO", "message": " # string body Mario Mattern, 4 hour(s), P\/NTSK\/VWH\/MOBER\/HO\/26\/00001" }
{ "timestamp": "2026-08-31 05:05:37.9827", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:21:04.0039", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:21:04.0039", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ASSIGNED_TO_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"AssignedIncidentID\",\"Value\":79329},{\"Key\":\"AssignedToID\",\"Value\":1955}]}" }
{ "timestamp": "2026-08-31 05:21:04.0154", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 05:21:04.0154", "level": "Info", "severity": "INFO", "message": "### Started processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 05:21:04.0154", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAssignedId function for all types of assigned to notification #" }
{ "timestamp": "2026-08-31 05:21:04.0496", "level": "Debug", "severity": "DEBUG", "message": "Generating report." }
{ "timestamp": "2026-08-31 05:21:05.2218", "level": "Info", "severity": "INFO", "message": "Converted to byte file" }
{ "timestamp": "2026-08-31 05:21:05.2218", "level": "Debug", "severity": "DEBUG", "message": "PDF generation successfull" }
{ "timestamp": "2026-08-31 05:21:05.2282", "level": "Info", "severity": "INFO", "message": "## Sending email to Renard Whatley, UserId : 1955 for assigned to notification ##" }
{ "timestamp": "2026-08-31 05:21:05.2282", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Email for IncidentId:79329" }
{ "timestamp": "2026-08-31 05:21:05.2282", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 05:21:05.2282", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 05:21:05.2282", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 05:21:05.2282", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 05:21:05.3257", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"MH_Admin_HO@oqsha.com\",\"cc\":null,\"bcc\":null,\"subject\":\"A Ticket V0XLP6 is assigned to you related to 'Near miss'\",\"text\":null,\"html\":\"<html>\\n<head>\\n<\/head>\\n<body>\\n    Dear Renard Whatley,\\n    <br>\\n    <br>\\n    Ticket V0XLP6 is assigned to you in the organisation: Galecto Inc. reported by Renard Whatley\\n    <br>\\n    <br>\\n    Description: mfvjnjd\\n    <br>\\n    <br>\\n    Site: Alanreed\\n    <br>\\n    <br>\\n    Category: Near miss\\n    <br>\\n    <br>\\n    Map Link: <a href = \\\"https:\/\/www.google.com\/maps\/place\/17.448583500,78.390803500\\\">Click here<\/a>\\n    <br>\\n    <br>\\n    You can view ticket details by clicking on the link below,\\n    <br>\\n    <a href = \\\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/211\/79329\\\">Click to open<\/a>\\n    <br>\\n    <br>\\n    Regards,<br>\\n    <br \/>\\n    Oqsha Team\\n    <br>\\n    -----------------------------------------------\\n    <br>\\n    OQSHA - Powered by Osmosys\\n<\/body>\\n<\/html>\",\"attachments\":[{\"filename\":\"Ticket_V0XLP6.pdf\",\"content\":\"JVBERi0xLjQKMSAwIG9iago8PAovVGl0bGUgKP7\/AEkAbgBjAGkAZABlAG4AdABSAGUAcABvAHIAdCkKL0NyZWF0b3IgKP7\/AHcAawBoAHQAbQBsAHQAbwBwAGQAZgAgADAALgAxADIALgA2KQovUHJvZHVjZXIgKP7\/AFEAdAAgADQALgA4AC4ANykKL0NyZWF0aW9uRGF0ZSAoRDoyMDI2MDgzMTA1MjEwNFopCj4+CmVuZG9iagozIDAgb2JqCjw8Ci9UeXBlIC9FeHRHU3RhdGUKL1NBIHRydWUKL1NNIDAuMDIKL2NhIDEuMAovQ0EgMS4wCi9BSVMgZmFsc2UKL1NNYXNrIC9Ob25lPj4KZW5kb2JqCjQgMCBvYmoKWy9QYXR0ZXJuIC9EZXZpY2VSR0JdCmVuZG9iago3IDAgb2JqCjw8Ci9UeXBlIC9YT2JqZWN0Ci9TdWJ0eXBlIC9JbWFnZQovV2lkdGggMTQ4Ci9IZWlnaHQgNzgKL0JpdHNQZXJDb21wb25lbnQgOAovQ29sb3JTcGFjZSAvRGV2aWNlR3JheQovTGVuZ3RoIDggMCBSCi9GaWx0ZXIgL0ZsYXRlRGVjb2RlCj4+CnN0cmVhbQp4nM2aeVgURxbAXyB4H4hHWBPzrVcQWEniESOfUfyMGkUlH3666BLjEVFAs4oHKFnBVQFZomKMJuqugscmayKQLBONaFRE3RVBjBeu9yJROdaghkOht96r7qF7ZnroaQbI+6PrVdV7b34z011Vr6oBrEmnEaGJ32bfKCorK76V+93mhWO6WjVveBm+JuuJYCJVZ9eNbdZUQP0SrpvySFK4ZVhTEPl9rwbE5fT7jU50yjoRyqVGpeqbXjcRysm3Gg3pT9qIUBIdGoWoR5Z2JEG4PLARkPzKbUFisrzBkRbbSCScmxISG8Mkbji6D4yjStjqtTExsbGdKGRQXEzsJmf9SH+xkag8DOAxV8+ifwrXC7ZRsR+belOD\/lH2ExuR9r3MnHK5XtmK6QVczwc+lrixJnqGu+lG+tg2opsTyUtkEsYAuIvqA+hF5Q9sXMFym26kpbYhJYj\/h8S0HmCeqBY6wH5SXoej7FrTVi\/SeJuITrwh+TGmZ9hyEeBrBEAmJ+hAVnt+h9eVepG62kJUNr\/WkTE9ycHGtlAiCLkPkOl5gEhsqnmExroH1h9tQNrlKnNkTDWxhax1iKMgVMcXi0xwT7KeoxcpWjtR\/jiFJ95PfmnsssiX\/YF+NRLTWNG8QC9Sd+1Iq59TuiJT34XsknNcEP7aQ5CY4AS3H6+X6aRWosOvmroik0cfsTuwdS1T919Qz9SLNFIjUelsc19k8gHRwLVTLRNcRv0jvUxXtSHt6GTBF5kmiaPUL+AhY8pHfa1OpHc0EZ0fZdEZaQJhLZlkgLeMib5pvE6mf2tBUvsTONMoslkGw+zE5K7KUSuGPmreyPQHaEHrrsEw1E5MdS8H7k1T9+ZMcIgVDx3sxlRUF9KWdla8y5hBCJ9Ljkm3phP1kJqkC+mtOohyfKy6r0pOTvYG6MmK0QBurEjeyGe4eNQDdDHFWyV6Gq4raD3lrDWk\/T2aAsn5mTrRnclNQWR1XlnfQoP\/nOioqOhApjiFo8YXDS+GJB89kR4\/kipdokiiaYUTEE36RBgVHSWTzoqYH6oRnRqs6TvRTHuNKW3Iy4BtMRVijBP9Wa2\/WInALlHPgr2KD+uniLnJMtHNKZqIxPX4Qaa0KkXtc6YdlMXxA\/AU1QOsa4Co74UExcd5KGJ+ZxHpSH9o1UUhLpqZdioi9YFXRa2c3QpLVJheN49pJtdvlVcopPKcNqZtMJhHWPn+t1SeFxMrJm8DHFAyPf5KlJcUMW9bZDKXu9aY8C56rgS1zZBB5sGsJZu0bg5SiHho9ljJlG85ZolGpkvWmNKNkaL5XVyCDdNIDcOWaxfYJRfeZJNibt1Mj+zB9HN2dnYODXQLupH1P7FrEP9JXNgli5Js+EAQTibKmB7vQ\/lqRkMw1Uro21RsxS6+Sj\/Um8HmjUP1zQ0sfw6SMYnyRUP8d7US8i4VidjlRupRjypBuN8BE8jD7OI7yZwp0SSm1ntc6+80hopN2MUHgYM9q9k4ABtFg5bTzZn2msQ8Zw+mgu3bt++kwftDvmrdjV20wBOS2rNLJUzgYR5CuIypaCbKrEEmMQ8I2sQqUwpqtDaM5E\/+ZWwIJHUePncV0JqHSYM1MqYrlmNutgcTThstaMxMhEtkPgCkOaarIzK1hP9QbSFPcayPBQvswSQfxwPI\/CffAXyPLY\/G8YrOsIWqXhAnY3q0W5QXFTFH25eJzXfKQwgP8EKmLuCPtfugYDKKcr5zqbY3U5t8mdtUvi5gv1Obp6z8UoVJuS7Q+uCpMf2MnXhL8\/XTN0j3heR0A3PnfqixBd15AW94+BtWj8EuK7+T1q1VNaZ1qSkpqVFMab4LtWBqHLLpzN37+WmzHbHyMmv+R3uAyampKd0A3ktj9TCYzopaMdkZ9qkfk5o4NrfRQSGlDcJUP9nyK2TqW28mj0U70w3JEV5UGRERLsqiQC+jyZj4fYaUDf608dhiEeuM8EPVmxmHwmvcJSL8jwFSsmB5+auZqY3xEdrdklW\/lHud4ptWY6Vt5euYenQm9SR20MwMy+SfM508NG3XqzI536g1usLSgA1KP0xbQ2X1NQAdKf+iRdNHTCmEOQqPGAp7sz5MZ+RWBjMmoSsMV9SDoMMTBdNdEybBB3t868E0g3rzAqbSlqowCGht+3RJ0NzVNJwKM8Vl4zfBIm1zB+XvJDEdTk3\/LynHKHC2fiY6HytxAmhLW3Wn+KRRgV0TyTGYxnEhA6QtnPlgmckZoFkmKmUU+BXdTG9Q53pUk6ru5H6fwNcixDSQ+havo2Ioa+iApwxCplOxRabuIOakVTx0nF4mflr7e1kLbUVWDXHzmMBXUkso4aukAzN6HIo8r1lkegGgB7ncFyPlC3WICtOn1DkM3CMjQ2aFLlg623SPrciT5olbZP0v4h35o0Wms5ln+Bpltxj7tzqZ+PaIN2ZuXGCl0m+Ag8ydmGp88ywyGcWYqE\/Sx7SHOofCZNHsCqySexle46fU4sqbDvoqR1wwMkWaM5X51EaP0sXEn29\/mKlkqj7Cj5XY+NeO8plimlVuofrAnd4Y2oMNy02YKi4lyA8H68gWVJiCqTMWugfNWCNjYs8dPVzVHaWpC5+qdpS+H3ue7rBd6I6H0PeAUmNhau9XenUxjb9dBxMd2AlFLuJ3lpgqXcTF7QqA1dIvBrNIWwzl3JIJ7gfdgbnU7mbxA1T27EguWGYSjw4L5gUkC3ImV3HbiT3XrjxAiNcUvtPjDHy4\/trv3b9jmQlhVFd5TcjKOz0XLTo0+42n0kxiekGaHMaZviWwzPQ0ZT5EWGOCANUspjLfXK6WFYyH2WpM\/LY\/zqImyQxw8Gn\/UNZw1YGn66pM4G51C99UnrFUCaZJ20UbR+G88BnpLIlsyVvx7ZoVRo8\/06f0PG1syOgozYOj1ZgAYrUjbeUb6K4rsgpLbxumsRHUsBXeM6SnG9LwTZ6lTEs\/FIQmvVZlFZQWno41Hrn578j96X\/38nZMwMokdDF4qjPBwCPaiHJkB59OrawE5OLY2knZ4NTaltd9AjTkoTfm2hDQLhJw3DrRubmOjY3ExPvTAjWgkqR3mgCIxGns+hzzQ6uLn03U\/e6QfeQl38XbMs7fLi4rK75z4ejO5f6Ncp73f7C+axoKZW5kc3RyZWFtCmVuZG9iago4IDAgb2JqCjIzNDYKZW5kb2JqCjkgMCBvYmoKPDwKL1R5cGUgL1hPYmplY3QKL1N1YnR5cGUgL0ltYWdlCi9XaWR0aCAxNDgKL0hlaWdodCA3OAovQml0c1BlckNvbXBvbmVudCA4Ci9Db2xvclNwYWNlIC9EZXZpY2VSR0IKL1NNYXNrIDcgMCBSCi9MZW5ndGggMTAgMCBSCi9GaWx0ZXIgL0ZsYXRlRGVjb2RlCj4+CnN0cmVhbQp4nO1dS3OsuhFmlSyTexyfMUJCr6lKKvv8\/21+RvbzsHPvXWQVRw\/QSGoJBAiPx3GX6tQcEJjRR79bPU2zF\/3atickTkhekDx38tKpf8UwsP1gjiB+xurD8dKJEyG7Pc43zdOrgglpdBRYF3yMBwFHvHFG6iqusFY4vt\/7i\/z\/0GtrmUikcZmELD0Mt17x8d7f7CvTtZVXy2LEw2gFWBnEr1i\/Evf+ll+NFGpavm3AJX0khfu1+0awDl0UL7RyHosV3DetEDG\/En7vb\/\/AdFNq6yTkxOTC+6DjtyWzlN5+9tqArMREW4YyY04v3wxYSlntVs59hVCSokuUCfrfTt57VR6ALrjYJkmuNqnMhid8fEfyn1i8YPzCmOh7N3hPZUf9h+cYq4OiD6cR6v41Q51lbdtGX1yaGw4TqKYPXPUKpBy3GVC2AFpyVWj2nJH8Dxo5jvZ\/pUyGg+NghdWySzhHIUJofDAM7Iiuiy75sDWvQpduTsGVMFqZGCy5\/7UVarjHO5IULqT3OUhzIpijWEmdEuByhpi7kPV9cBahD1z4rXSeBW4dx6263MQ\/Y\/sELv4AzSg2lZRLTzDYSYwB7my4c3hKMekHLvxWumDgC1QcE5yY+nPnTIQzhx3vmZ3AI94BWCg5GZ2ySk14F4qePj09fcyyb6cr2gGvVeBqdsNZd8BhJ0LByB00IQQQux6Aqy2TkOn44zDd6YmsZ59FrvdkCNRki2a8AB+7iMUspzi81MyAlTw4eChXza2oB1y\/73JXpbPz4yaijnn5NoVd8Xz1DL8\/z7\/tPnbajCc+Z2mj8cZxJEAk0l+CpEWrBX2nda5O6bzbWok3z6dwdPKKSmMmvr5jJJCKipscoymhF52NscuYNA\/kF7we+k3oTLgGJaxKjkuzrj52Sklxj++4dqidwCSRXoN2IwPungQe32cmZRUkpFw972zqOJLXji19YB87hQ5tc+zTHw6Haex6D2snaess6\/50bvlWRJbOMUMZJJe1kUkfO2p8uiR2yuxX3vo0dg3wOKwP+BA0k0jNWYmFnJXXbr+CKGI5+avNM6ESyz6zMrMJfboHcg0uL3JxcHJb4kA7bptNOIgdh1FKE96UBdjF0bMHwW7KL1g0yi6vVcAAsWMgTmLZh2H2JbE7v9D1\/LWwtkFpt1NbbU0gdlS7BrGyazR28\/HJR8RuPlmwcZBBtZ1rZ0shdo0XSzEYDQe\/KnZF+YJtERWt3X7UL7bkXjzEpe38GJezFSmO9SC8G\/AsPjt2V1LgGqx2Cgxqr7sVJyjWEOOQI0yEEHdQqTl7kCEmvMlJvpPhBPHps+RnVxm7Bbi0ahNKGt\/7+31l0lsAppFaFNpyx5F8+\/kwvu0j0uuf6Hk6+Lyc6TS7oe8Krt3pFgebNvXLEUTyvfk4NSEYM7VeusqL6yxPX35WEcZYWTjCVIsxokOiOlUE4s\/icLA38Ye6YVQ2JjA1yYtgjvM6hydh41nmffbG8eWl8LunLcx15ehmq92ypd9Mcbrcswyfn5\/jwGZUBtb3ubQd8yyfBsRkco5Geo6xfuOypfzoi4OoWe+gRMeNGR8tddv72CQT0eO2bSNkpYesKFhMNobsJIjVwD8nMnOYjbLugR3iK3d8uKta8dZqdntv298OonC8YbwZN7tia7DL8REc1ISAWJc+q0ScE5s5dJZiV16+q\/lunYR0lgnSu4\/1Vkc3TPzkjCaGOFeSrouwsyIuWfWnlREJSibGG5o4NigFvF14C+YswE70NHI23ei6rhi7uZ3FJeGUiSojEv5LbojvgR3QaFEu1SQaQIDFV1sSFuKaktospxCa\/Ftz2FXwnmYchIoj5O5rJZ89wo5Fdmaq8C\/JWY5yaQiP0WgYL2XqLO1ccUWffKQ9sCuNQue4r1zYRqXp+2Cn7Ua1sGZwWMOgRCJCMXbh5gWo2tTiY09mqvkREI1XBcrN\/pQimYnDQWj0JFuxm83+rGXDnbCbHnphYSVtaOfDihe9zl13K1sCN1FMx72zkSFUbqssZcZqMnMhjvfBTmk6oOyiwgaGEkvaa25y5YL6v8zjaGUasjyy5dgtLbHIYrfTltXxtvfiO9EBtqIzMlMtu05M3NBh5u+mLRMlXUWBzEwOtpTvyjdFVh07YacNCToMCcImagGhgxDJTAZ3Bql7\/iI87khXVsgxzxtl7ZPYqXsqIRAMxcuMLcMO7hlZtKUxOphzE8DxvWyVcfuPpSgPzmnKziTRJTGDWA8uAiiq9hz\/eryBKIedqLHHIZaZS3OsS\/cj7I7dbU1M4UrCR4DiS3heITxLvH0NdtmxCQpBh87ev8zOrIKdgI7zPB8tROou2OXiKgL65nYrulZqif1cTRhXUdjZUD8HW6G5CYlEzJ6Tmbm4Ci6OFl7aeo2Jlsy8C3Yunllu4djIMPc2nmvv+3BowPYTt9WrBLuJUR7PfMN4gZsQMebn8+8KsXt+fi5yuMZl9PMIju\/UTYJNYePNN2JXnkdo\/KraWdRWF0IDoOthF9kAzJ2C+Ts\/\/GWQze+5o1rPuclRPbyXOwi2HdmDPKXacj7FFr5rqjQEmIQpiW817IwvPCSpzQd36tgcBaHBWeD8ah1HqQ1RKqFn+qhQ6GcJDbT7E9plsMd1Nnx8ANcFgtk543xr3JrUPIVZcjgWdZN43SMcPQdfLewqksL63o+whubF5uptd5kg9ifE7kFJmytrPbX543vamd90me7Ol\/PUSMqGKXsH9sCuN8pF6kBxL8fSaA7S0MaVC1WPV6\/Ftfrr4VXBHajuPKD9RO0SDoG4aI4yOYKaMbPh3Z8gvce47YJRR6LiMTuHaPMpZ4JOWSzrfIHJisG62GmbP2\/IRQ5vLsENrmIMFvt5KYNo8DABp\/yIeEKUFw4fuEntHEw8VcriuqL8roQVmdYP5DtqI88zQPTO9k62F8sNn1lyLZKgR6AIIZSsuLhhB5q9lEcMorBtAzcmJEXiaq7cx79bgMXIRIuwky6eCZJH2WEwSnUeyGPXL8NOjpvrHV0nei1WkZZ7xDMTwclelxBo3QGYyPSRiESTbY85ap9Eta3dGgYlra31Sr4J1t3Yjh0zypfZpqAZBnd0KTQ4N0vRWtjxeH1ub+PT01OUSrNRl+l0TLIoAvYc81t0SqinhjjYVuz8GAvIicTY\/XtC65WAWAxlFex4Ik\/KQiDGaIlpaiRSzQRi7MA9TZwkxo55xk+uMQt4rxZj5xuWoAdFwuYsCm9CBO9Rr5Io8i9oHBEZeBpcQhjSC8UyaaCopFNdErVkjHMKun0Z2Y4d\/zn05urB+5PrUHdrKbZH1Qqp5iOk2IE1o2+lh6kl4KMus4HKhIjLD4sCyAOCgCdYWK7eh+3YYWqbCia0baYw6fVAi7DbECjbi++sVMwb802ZG+UtUZA0T6IAsRNDe\/CpXPlGO3Oi9P3SFQOxAscd+U6roWQhkOOXUr4jhCKzpGHH7yTfccB3Ys5HCBsaLMCOe75qjs5JXCpxYh1bBUoS86XgjoMJ7IypTxLm5bjUxx8\/IscB9n9IFqTFRlGEHVmGnRjeh3ngBvhgeqhKyLoSdsfEth3W2FSp9fJS7kCMXaZWQa0nGlNp0xagBjfFYslqGUdhXMU8GHx\/qC7J5ghJjG2hxSJa0wq1YO9zFez+2Mc\/jqDW3w9dJt0BCezMse4ry3oTp5qUeh3rHKYkbdBiN5Nb9xv+r6P5xPryuqNae7j+QMnfAHzcMh3kygx2Vgql+u2PfXWSW\/awTlIY7o7P2htCka6DJIqFtfUbvQmJ4kBZqfOq\/u2tWv6Cvc\/mbjnvzd\/\/9Zf+H4T8eS4QPYudc6Pg5rvZrZEJTN2OvHKDNsN3tbrm6t+8q6X+iP1pV1k6cPhBb60Vp068I1OloLisEnaJbZWeWVISxPaVmvhFTLQQ914PV7kEX4NqHY91u7+6jXTWjqg7AQNBDH8xnctgZSBUT05F4uTe5M4PKk5hATfykFSgJrgE3ywi6Ly4hlrVEPSDZnUFaSFwWLyn8tRiVHPG7Nepc5c8dZl095m59HpPw5Dv7ayt+JKhba\/Vokmz2nDHkH3oh64CSTKlaPYHGmwq3P5eWJzb5eGD2bERLEinF65e+7qsVMhu55bNPh78KbSd6LDcbl9xyR50Me0a1nt8ZZWcI2ri8v1bvbXpglI2TD35qXcIou+fqt+Rhp+Sz3W4mlBqGdbTv+iK+eXlu6fcB9G7bT4wtsdZxF\/D0BpN\/87d6XF+s+zr0bk7GjbUvtjQ6aizn72hNaZ29K7m1He\/zUX0P\/HA4TkKZW5kc3RyZWFtCmVuZG9iagoxMCAwIG9iagozMjA3CmVuZG9iagoxMSAwIG9iago8PAovVHlwZSAvQW5ub3QKL1N1YnR5cGUgL0xpbmsKL1JlY3QgWzI4LjUwMDAwMDAgIDgxMy41MDAwMDAgIDI4LjUwMDAwMDAgIDgxMy41MDAwMDAgXQovQm9yZGVyIFswIDAgMF0KL0EgPDwKL1R5cGUgL0FjdGlvbgovUyAvVVJJCi9VUkkgKGh0dHBzOi8vYXBpLm9xc2hhLmluL2F0dGFjaG1lbnRzJTVDb3JnYW5pc2F0aW9ucyU1Q2xvZ28yXzY4ZjNlOTZjLTY0YzktNDk0NC05MWVmLTVkZjdjM2Q1YzkyNS5wbmcpCj4+Cj4+CmVuZG9iagoxMiAwIG9iago8PAovVHlwZSAvQW5ub3QKL1N1YnR5cGUgL0xpbmsKL1JlY3QgWzM0LjUwMDAwMDAgIDEwOS4yNTAwMDAgIDM5My43NTAwMDAgIDEyMy41MDAwMDAgXQovQm9yZGVyIFswIDAgMF0KL0EgPDwKL1R5cGUgL0FjdGlvbgovUyAvVVJJCi9VUkkgKGZpbGU6Ly8vRDovQXBwLURhdGEvaWlzL2FwaS5pbmNpZGVudHJlcG9ydGVyMzY1LmNvbS9hdHRhY2htZW50cy9pbmNpZGVudHMvZXhwb3J0cy9UZW1wL05BLyMvaW5jaWRlbnRzL3ZpZXcvMjExLzc5MzI5KQo+Pgo+PgplbmRvYmoKMTMgMCBvYmoKPDwKL1R5cGUgL0Fubm90Ci9TdWJ0eXBlIC9MaW5rCi9SZWN0IFszNzMuNTAwMDAwICA5NSAgNDgzICAxMDkuMjUwMDAwIF0KL0JvcmRlciBbMCAwIDBdCi9BIDw8Ci9UeXBlIC9BY3Rpb24KL1MgL1VSSQovVVJJIChtYWlsdG86Y29udGFjdEBvcXNoYS5jb20pCj4+Cj4+CmVuZG9iagoxNCAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjUgMCBvYmoKPDwKL1R5cGUgL1BhZ2UKL1BhcmVudCAyIDAgUgovQ29udGVudHMgMTUgMCBSCi9SZXNvdXJjZXMgMTcgMCBSCi9Bbm5vdHMgMTggMCBSCi9NZWRpYUJveCBbMCAwIDU5NSA4NDJdCj4+CmVuZG9iagoxNyAwIG9iago8PAovQ29sb3JTcGFjZSA8PAovUENTcCA0IDAgUgovQ1NwIC9EZXZpY2VSR0IKL0NTcGcgL0RldmljZUdyYXkKPj4KL0V4dEdTdGF0ZSA8PAovR1NhIDMgMCBSCj4+Ci9QYXR0ZXJuIDw8Cj4+Ci9Gb250IDw8Ci9GNiA2IDAgUgo+PgovWE9iamVjdCA8PAovSW05IDkgMCBSCj4+Cj4+CmVuZG9iagoxOCAwIG9iagpbIDExIDAgUiAxMiAwIFIgMTMgMCBSIF0KZW5kb2JqCjE1IDAgb2JqCjw8Ci9MZW5ndGggMTYgMCBSCi9GaWx0ZXIgL0ZsYXRlRGVjb2RlCj4+CnN0cmVhbQp4nO1dwW7cNhC96yt0LuC1SEqUBBQFnLVdtIcChg30UPRQOE2LIE7r5tDfLylpJVmPkmbXy7d24wSxdycSh\/NmOByOONT597e\/pX98Sc+3t3+n993v7W2Sbcoia\/+k\/u\/ZmKCrTfc5rZTpPqf3D8lj+pjcJDfu5+63v\/chKVW58deown39NP6qstxubK3qytGz6Vd\/8Z\/Jz9+knxPfZLapskxro41qOjX97nqwk6Pt9Zf7z8l5K2Hy7i45v7apztO7D2l7\/Vn76+4hUf6Lyov07n36re\/Zd+ndx0Rp\/78tRbcUNVBMQykGQt5ekg2UYnqJhVbKllIstFvBTfX0EiBAIxdtI2agvINmt0ABARCGy4ZSDoQrgOF6conKGkI1EBT0Djhj5xDMSL3T094ps85a5VPWkXpXrGsNzAOhO6QrbSv5vNVJ9Ip8ppcAkqodNFd3zsnE9wq2ntU69gwIOHhB4E6cYkHHU0LAbQgoCuwAoL4AEd+tezXB0Aw0DFBtpyaIrSCaOO6mzeBAxHbhnku45Aoo10CZ4hsAD\/qrW92qBW1rmI7QIF6SJgMmDv09zmSJUCG+MGqRgs3kcBO4WbSRAPMinqfamJGrMrbcVLX\/411WbWYDmcDUJXDJEE4ccg8OXpgvDhsv2DDENoc4AeieRosUDA8JJ5BA0N\/AYAU8WS4VZxboCoYp63xQA+W6qiV4C3zNukEHoBMEWoKAIHAXAAGjINDwehwIIgmCVkNyabUxIZcm8RGSOQqHHDQMN+kKUEf\/hCaK0yE6YezOM4KJRjlHXoBXm16xo48uSLbua26rshrTP43ptd64mdCWyjr66KI5+pN2+vV\/tMTCzfEbPTlYj\/0gU5usUqbSZd4MLPe1LN31xZMejD66Eavyqrn2rPS\/3Y\/7h\/T8h4c6TS\/\/6g3rTRFvVvvKwBJNVz7RqetcqdKmc59vtz85Dv+mOv3R\/fuY\/vKru\/d9YivrepFqnyI16T+\/J7cN034C3BTOq9usrPLZz+PpUdRdz89UqbbG9cSx\/OBYRmWoS9NwtIrFkS6iZ1iq\/zWmDUcnI1eLVFAdQ5PlbC1SMfUcvYxULXJB9QxNSdYiF9OGo5ORq0UqqJ5hmbG1SMW04ehk5GqRCqpjmGeGrUUqpp6jl5GqRS6onqGxZC1yMW04Ohm5WqSC6hnamq1FKqYNRycjV4tUUB3DItNsLVIx9Ry9jFQtckH1DE1B1iIX04ajk5GrRSqonqFlZ1K4mDYcLTl3wwXVMbQZO3fDxdRz9DJStcgF1TM07NwNF9OGoyHnbrigeoaWnbvhYtpwtOTcDRdUx7DM2LkbLqaeo5eRqkUuqJ6hYeduuJg2HA05d8MF1TO07NwNF9OGoyXnbrigeoY1O3fDxbThWJNzN1xQHcPKsHM3XEw9Ry8jVYtcUD1Dy87dcDFtOFpy7oYLqmdYs3M3XEwbjjU5d8MF1TGsDTt3w8XUc\/QyUrXIBVX5rXg1O3nDBdVzbIR8wvLZG+JbyszuwseFG7ud9KYMlTGaot50NdpnQzXjrjQIashGVR3djnPbU3Q9rcDa1SoM1ygs7TLTffQXwBub6XbEYy0ClAyOWHXMmw3wz0UzXBSq3RevzE6SDqJ82qeRsIIakEDVkKDCSlA1tF7A3bGOiVhlnkC2nUImqXDHop71cg1B0b6+nFZZCOomu9KM2EZm89kqPiz3hE7uhmq2hCEgBvh0VmfmEdPXHAPq4cCqcpNNJTN4DVo+1vVfURRbl7s+maliJXVKcAmWwMWXo1FJL0jADeKYnquVjAy3MRNLXT4EA3oZuEtcrhlbA4NsOASwPtm0vRzmWLQ\/SYEoNIN1z9gbvIYz2Iw1ewgbKEs\/oJoUrMEUHGsYZMWZDyklBf\/azuO\/ChxrGPWdDJyTA6GIIHoTFF7PFnRHVkiudyuAgGOTlIej+Kvl4YFqZfm5ErGVPwBiLESmlBkqt3qyMNrPIR\/nEBTBeQKmnHaP5Nn2RAhXU+tGKxEfyr9FhdwA\/frihgCrt7t6d+CZ6RYLS2snI1ijCs4\/AFBx0EFQhv4j0Jm5iTq6bQ4oYsfh1As8fAbXXIJwKh4lcPQNnpdzyTDPQlfzyws4gQRxFURu64d8CBIEgaARgy0YGYJIkxAQeAMecD7VBFjYXXLIbA9fbI1NVnA2IFgDaS4bCYtwS3KF66fkYLglyCZSlmNFvcviSKLPwMkpmIxbX469pjzpCCCc9OCQRnAi5mrVXcElnHWH1X3W60hh1DEOJTtoHkHO4N3RfPD0ntdkloP2As4FI2cAHrPR2I4oY42zL3AHA4dx0ykjtsXbvo8nTOBDul5wcpjkoDv5ibHRbbPH+VTxi104cJGm6RdwiHJ0Tfc4n0rTpban1\/QLOMw7tqYHnE+m6WK6U+IUY5p8uHd0tRanzrWW9S6TiEtNSdb+GSe1Rge3Fy1wNDGEtfAUT+JVMDA47sPAxbQYioDPPOEodTikO5DNmt4keZYqcMqGsk2k0vskcQXTAq4yBaflcix8kPXNwr8iCy\/6\/CQ+QsbdCWC+6\/Nul\/mr95FdskVt\/SkcPA3BSUmS2JaEH6svfwhk2zhPYEcKPlFUUNVqXtFzqdIxZYoluhHJwfCCZ5CzryaKrqQeordHsMczvFrne6AaMLyjPmlanJzwGRwn9ThAdCrvoNx0Pj\/8WGtBcw3Siz34Ukh4qudgdbFLKb8Fc0cO5nKgyIM5tWSCoASQ+muaG+p5nUgCSEj2SCKE9fcFSl76InmHxgEaCPRu7nUn0b1LpWaFjZznWRqrggILSdYegBe8Q0aQbTyggCZvJ8RRVBC7OmPs56bM0Sccvun4leD9AnYs76WR17rFdSk5ILeG2G5POfs+pnV9pfO5wLGcfqPacSwytn96iZvcRpR1Tb\/ajNDpJrD4Xq6v2XjzWM8Ihcj1b6\/EYclr59RSXAYO66DqU0kzB61VXrIG6LWs8R1Wsdu5dKyEU4fa6FWPj8sS3KQ3yX9vYqbWCmVuZHN0cmVhbQplbmRvYmoKMTYgMCBvYmoKMjI0OAplbmRvYmoKMTkgMCBvYmoKPDwgL1R5cGUgL0ZvbnREZXNjcmlwdG9yCi9Gb250TmFtZSAvUVRBQUFBK1JvYm90b1JlZ3VsYXIKL0ZsYWdzIDQgCi9Gb250QkJveCBbLTYxNC4yNTc4MTIgLTIyNS41ODU5MzcgOTU3LjAzMTI1MCA4NzkuODgyODEyIF0KL0l0YWxpY0FuZ2xlIDAgCi9Bc2NlbnQgNjI1IAovRGVzY2VudCAtMjA4LjQ5NjA5MyAKL0NhcEhlaWdodCAwIAovU3RlbVYgNDAuNTI3MzQzNyAKL0ZvbnRGaWxlMiAyMCAwIFIKPj4KZW5kb2JqCjIwIDAgb2JqCjw8Ci9MZW5ndGgxIDEwMDY0IAovTGVuZ3RoIDIzIDAgUgovRmlsdGVyIC9GbGF0ZURlY29kZQo+PgpzdHJlYW0KeJylegl4G9d953szAx4iQeIGiHtwDa4BQAwO4iIu3uB9iCIpUaQokZJMiYp1WD5iSZZUW06krGPHccjYFh07TtvUblLHjpuqTrzrZJ3UXqdNdl27203ruslmnWjbNOm3FjHa\/wAgRdKbON+3M5zBm\/fevPf+v\/e\/hwgjhGrQWUQiNDDiD37+\/NcuQc2n4ZpZWLxz\/p9eeFUN5Q8Qov\/14IHZ\/ftXu\/4KIctPoC5yECrqDOIDCFk18Gw7eOTE6Z+9qsrCcxIhXLO4NDdrcKnE0NQG7X9wZPb0MdSNnoFnGAOZj84eORC5Mv0QPMP4xD5EUffj\/4BECImWRRyMYCr\/kj9E8wS8IFzl4yeIuDmIzFPCKMJz58BAJ8ogdLNYhXiE5quXCWjATwptVFz0p6V+JKpCIzDKKnUNyjVIjGRIjXQwj5IOc1KrlKOFGwlPtBRbMUdiDhP3F99TsSxBs6y2+B5h4GUB\/MtAoPRDXWPZG3nqWuk6xrLUHTdOUp8qX7BYN6z8b0pzVcMcMDQNIxN9TxC2tfHySxcuCET13rxOniMfRTTKIyQPO6KR0qlSl06lUlFdJZxWC+MQzqiyqtwSVZV7hsOhcovVUu7Zhw36SKivsHe6rzcSNuj1hnCk0Lt3b6EvHNEbVrC00UwHAplMwEebpBKJ1ET7m9NZv582N0rxy\/LZ0ZF0ymrB2GJNpUdGZ+Vzw6OtrRar1dLaOjp8St6eSPj8TTqMdU1+XyLRLs8lE36fTqvV+fyJpEARYErqyYuIQrUI2eUctpJytRXjB37zBP+thRd56QL\/8qeID9fuJi8WifuhI7xzCjBiqTcALXkZLSZUBkGgn6liHNiwUq9W+bwaOLw+lZq8KLx\/3a5twrhJa7c3aTHWNiGM+m7+kuwBPNPARxXMAKIyVlxwHVXY5PAW1ADochsXhJ7qUh3+X9O9fZGo3kibW6JdHb2zne0+r1pZ3EtUkyqlzzcQ9rAms1Qmk1ktwebMUCzmnjaybDYnNZuSsaGBGeuR8Z3JpMlEW+OpgaG97ffWJWMtDptK5fG2poes2ZYWt1etoemWHq\/TpdECYjbg2HcAEhGqQ1LgTwG\/arIMIIcFLKNCmWTw5E\/nFR\/M\/cFrjYf4G8vEd699gf9wQf2997T7fqW4Srz\/cLEB0JU\/BjcN8bO1ux8nflZkvkr86rOA9SQglAeEHGgUxpeW2MdaIlhtXWe\/ElBKqYCJ0grtMGdVBaiqDZTWcYIdKiEdrbzNEZeUKrc7nfB4NVq8DPvi9+Vzw3OFgsdTUy1dra+q0eMv5jjOZpXJsELOOGId0YjZTOaqm7QeTzzRvbu93c7gEiP3FnYv47ciDKNSYbmCpu3N\/oCDUaswbc3l5vk9LMfZxTovi59bxDvqFEqT2eWx2BQKo8HrcfVY3V67E3jDZksmC10tUYdNITAYug9uBlA1ZJnbgLtE6Iage6AGtBkF4gm7sQM1QLugDDBmBD4WRLifP\/o0fvMwhl\/yMH7rGWVxnBq68XxJpocWb+Txd0CwCXQ7oNxSkgKHgDJoGHm0IssCP5f4EmrXua4kzcTjK4+oMnKZ251vm8lFBaKVyw1ijcaop\/fFY9qmt4hvrN2NrxBTvb0tLSYzBvCczkxmimgvvtzKOFXq2lrM2LMZoGIA5u8GgijEoM7KCvB2QVArKxtoXV9SdF0OouUdLksJnJWOxHMrV4qPaDUBXy43NJrJsB5dU12tTudhM9mxwWzOF9BoVxrERr2Pbe3lmo1GaZ1MoTfCrqZ9Pr1R3PA8gIXwy9KFsdFUiqaNxmhsYHCub25gMBrTGzGomdTo6JxU2h5Pen2wc2Y6HE6\/znrdFotCDrKuY9lkEnZwiT9NMKIJZN2sNdf5Ub2uJdXVlfUfwy5XprWzI2EOcJzbXVZgbjfHBcyJjs7WjMuF36\/5xiMPLx3t6aLnHdnczMy9Zx+vf\/LeszOzbW3OPXRX99KRzz0s8E4\/aGw9yM8QoLqOTlk3r6NbVjLW0C0Fs45qRf9sUepRbjML3IfFEo9vVyGVdHtUaqxRez3pZN9iX6\/LtaxSu9ypLMPIZLXVGpXLmVnq6rRaNVrWn84M3DE84vbiFdJCB5r9aY9HrbpOG\/QajaxRpTQb3a5YqNnnsCmV2M6ks312m02tliuMRlorV0gkDY1ircUW5LqSzUGLTa5wu9vyvRmbo7ERSyVGA1Bt5k\/jt8t44\/X1VzORbUaIWTdc+G2nO53u6IzTzVyzxw3mweBmm4NeOt7ZkU67nfgXNS89\/LkjS91d9B57W37f7LkzT9Y\/fu7Mvtm2nGOa7uo5uvTwIwLakpuPEVdKdrQkicQVvuoC\/pC69uG7IrtgOQRpdZakVbA2IKlgaUBZEgo8\/xyfvod\/F+\/z3sNnvkmJSob6xjehL0aXQdB\/AyUTjAq2oMTrZRqsghtAl6koc3wv\/xe4bToR0+t0+lhimv\/HVfzKpZnpYADjQHB6Bv\/deaMxHG5PtUSs9I3vUdewLzA6snhS2A5Y30mYKV7SNPayrpEzoc1KVlCzVukWW4QlK6cyOl0g0JYbzofDDodCsYLlKsYVj\/v8FotMUdZVa+8Tuwf7EzHahGUyxplK7yp+jRjs9LgVCo3G445GYfaam7\/Ev6JmYPaKpxPlpFVbzFxZ8sP4Ot\/09ApuFKtVOplKWYdlRqMr7gvowZKfOvXu2hm\/SlNdQ1HEJ6uqRFitioSmBJoEHO+peFT1FV0qGFc53LBvlXi8+A+Eabj4mbLHU\/wfFy4QtOD3YKS5KcYYvQR+GLKX+KnCS2GMHY72XTqZbEctfumevtHRWMrmcLic7Bmg5+jN6zhAPoAahZ0T7E1Jk1VESb7teQlrNX5fkwZjTZPPr9ES254LjA4Oxtmk0zWRNZseBMpO8s+QSyDlFf0pUMbhdXW5rsGZcGSbQq3erjCrlVvcNdjby8QRrGry+DLZ0Z25HOvX6mtr9XqWzWXGxuCZBeFZweJGgxHEOu7xGI0yRY3EaAxyhTTLGg2NYuLtG29QP+HbpXOjoylwzQRDGQ33FWb2zA0OxKIg03QqNTq2IJXmk0mW1YGLJFdYLG4v+3aC4wSzUfbdYBfuADxb0FcAz4+gefp3oLXO1yV8HBV0yN+HsT+r\/52cTbxWTJAX+ZmP42zBz7tOtsP8CeCfMrbcFkd5u9Nn3ebuVQwE\/vuo32c0ij4rag4ODM7MF3qbg5qmJk2wubcwf2iw3++FJh34tqnOQEBnqKvH9XUGXbP\/KMiA08kNtre73TYbeHODu61TQ0PplN3m8Xb37In6WFAXuoA\/Fo9bEwJ5OkMZNcJVQs1YQc1evZlZqh23Fg1oPYqNWC6VqiJOl94gaazygDa20pFQj0SlIv69WEteFH2GwnBIpCCuruamoa7OlqjZRFEwl+ABDFJvIhcah7m4zTqubJOsoU34rJskqzK84SZvdw44xS3PoDIS7jg6GA5rdRq139+ZbQ7q9ct+39josSOjQ34Wg6fr6+icO3\/+RG\/B6wVnT28IhTo6hgG2SNhoXNbrwqHOjhCn15vNsUQf8cc6bcCX7AgA2zVpff70nkIvyzJMb98xPxf2+vQGerdOz\/phekFS\/Go17IIX7MxQOhAAk65pCjb3FYIBjUbQMEeB\/iOgm0YE6pUf2fmKCxvZJrDrJm2diTeAWQdh3dkgXmhouHsYgmaFEtww2uJ2+UMep1EvacRisc7gdLdkoy0Wm2hoB20OBJKJ\/GQ+63Er5VijCQQ6OqfmunsCsFKQxUzmE5+grp1nXNn80MjY14dSabdbBU6C3c5xyQjX7GQ0KoxN5mYugXe35dwucIQs1pZ4R1fPzkJvNAYS7XK25UeGx7rP3HPXgf2JOFB\/FuTjbqBeiMUZOQSf5Oawcn1nK8LCbHZB1ve2zCfYeU+KWOIVdgsXbBtpy\/kDmias0gT8Xd2zPZkcFzLRNQ\/vMBqCgWzE6zYYGxsbpSYTy8b7GSeRNRO7r\/AvyqQSDFsfDhcKe3Z19URaDEaFEgKE1p3toFnUAJ\/NFgxmY83NdrtCqVQK+vcExG\/7K\/q3e0PDbN8cqA1tkWt79fZYb10JrcsYblz5rLoLa1R+tj0\/lY6EnOBl42VQLN54m8+vBRknuhY0GtaXy+\/sikWdYJ5WgGJo5hjQgeIG4q+Lvq1KSm5nEqnR4rPEUMctJZUcM\/e05yNhs0muACXWOlb8U2K41+0WwJDIjGaHU\/DO5+Am2shJSBHi5BwpXFbBMVGScPvZB6c\/ePcXd3xwGn9\/7XFyLi3cKnmHPHH9xAl+4XjJLwXYzoC8ewWLCua3jJTjIwIf3SLw1Zg8s\/ZTfLnbxQgLE5gzPxQJ63TLLDsxft\/tI0NeDxBoNLvcPv5bZ84s4T8fjrX42UAy0GwwmMzRlq75sTGuGTtd3d2zEWH8UDjIXxVWdAW03V6graq8f6Kwndi7zL+OXxZWTvKfePDLQq8srPtkpZcSC2STJ\/nap\/Cvi8eoa+M3lqnWM9Br5OZNsh+oA10W3eDTDbdzS3B6S7aj3Lb0SXi7idpwZasYKy+5ODLKeqVSuYym3W5fxO3WGxsacYNYr3M7Y5yPtVlUSqpbMGC5bO9kLuf2yJWAmL+zY89CT7efVSvr6y2WdHb+4KOS89hhz6QHB0b\/fCibEdxxjJUqO8OFQKQ5l0utUcrtFp832J5vi7SYaaslEe8Cge4rxOPAUm53e+fOiamWvTP7xifaO5wuDBwyxH+R7AaZ0KIU2iNoNaliE3HRW1Gb9PeK9NYzSb8l0rv26UBgfOcxfzqdTDmHovDTHQmZ9Lj4lAYcg1xuBMI\/L6sVwj8t64XwbziT8\/mbNMvgRRpuxX87ZAqD0e0txX8GcSN5ce3K6ZExj7dRbLMkptp0OqzTRSL9xAv8h\/+fQSEg1A9eW9dmrw383Y\/HIvrbot51tUL8ifhKsVogO58bG8um\/axOu2NHk87ny+TGRnN5FvwjvNLQYDSybLo3FDQbpbUKhdHkYYFs1mhsaOCfobg\/uWEmFR9PYyXBRptbIgKNHqtFqShl11JCvDPJ3y\/6KvUVtIC+BPRt0+NR0BvbRSDCbNvYUoCs2pbt2rAE66H0JmuhVom2ssqtQHtj4o2XuI2ou4Kd6MuUXMm40pnJmMer1e2or3Hf7RHVVMskYOLAtul0jQ2iKpnU6crkJqaOH9410dEZ5PQGUZVC5nXnM7t23tbdW+DMifHxvrMLhweGwhGNtlpks6RTO8duu+3es4cWBvrDnEaz9qWqKkom0WsdGq1O26RWSaKwBXaHy+NJsX69vq6+plqjtlq8nmAgPMmF\/J0ahon4nAxtVqrxl\/p7+9NZB6NQOphIuA2\/yQdbHYxcWV2j1fp9qVTn3YcWhgfBu9aDKaYTydGxQ4fv\/OTBQ8PDsbjeKJOY9jqEPGAut3f6zjs\/88Bdp+dmuzoZu5BHhbq9p0\/\/KMH6TWaJFNfXa5vc7niyLRSy2KQyLWiTfH5kvNCdiLudYIqadNYRdclP8AXyHaVYBG4zpRiynJESoixczUSFJHUUjMkK8Sp\/x9+Jn8Cav7jMvzKIny0HiPxFfuqfnr6GnWt34+cuFV8H7hHitSLoWrMQjcrp4KZsRDXNlOPgaNmiWqVWGkZXXsYPPbB3mmu20On0Lpa\/n8CG8VjcoMc6fSKx+3+vEq\/xf\/ss9lDX3K6hkZMj7e3+ZpUMQuJQqLUjzBn1N75HOHDxvR0w+9zNX1Ic6PBSrvsjwdRH0rTV21PbW5O0cFIctlgy2YmJpcWJyWzWZrNZcpnJyduWJnflMlbLkyqV25Nq7SskU26vSqNRse7WZKE\/lXK71EriYt+lxSOFPsaFsYvpKxxZvNT3wOJiX8HldLoKfYuLPx5YHBltiRngiLVARD9wdGQU9tpg0Mdjo4JTiQ7cvE6JgZ60sCdb5SHs2ELLb4k+KnRI6TAlVjeDtn1gac+efLvNgTFtSrfunrjjwb17wiHJap3ZnEjsGUu1Op1yBQRmPjab7h8TfGgJ\/1NiN99mcblMRsZR6Fk8fGn6\/sXDhR6GCQRGRxdzkQgoG3MsPjRyYObw8EgsYQCbplDKsERIgqLH4Bar5FcEvoqtll0Loe0E+JDvQdFQsjWbU1bSzWmESJTMX8XJ1rkDJ++Z2x9L4CexzZJpHR1Nt9osmLq29oNLk7tZOHZPXiLDaz\/Y29pqMBoNra17BY4Eu34D5rBDnIJoa5TbpoGF7Mw2W11a54+LeO2+8THWAz6LNhBo75zgr2Ppqbl9XR0Mwzi6uvfP8++uno9E5\/Zd7FkYHgLJNVxwMoWew4cudF04dAgAclF\/WaaUQDMQK0zDTtpRYTNnbijFW7y5oRPJDefDsZEbv5XmW9eU5DRu0jdz7Z27OuNJv5+mZVKdLtjc2bGrIxUP+OBZslxbJ5XrDDYb2+LyGAwNjbW1CplBB88xt9ugb2wgXnn5cwvz6Va9AcskTke6dXLX6Zc\/d2A+mQLjKZHZHKnUrgn+pQ8g+oRoXycWY7nS6+3qmoeaUsqgoQErlX5fdzfsaQD8TdgTVAfyj4XEtrX092u42b7Fn8OXrvE\/4n98DV\/iz1LXeD\/+YfHZ4hfxO7yD2E9MVDTI4vp3LcHPlMNukIvFp8yr58+fp+LrvJMH3vkGIDoBDxtAbXXCyrKxNU+6YZn+X5lSIQTdYolIubiepqOxscmuHo7T6wz6lkhv754HZvYGg08aDYnE1M5oTKsTomZLJFKY7+0RgkOjKdrSPzA9NjSUyzPOqyBObncklBxJxE1GHPTQNISzmiad4AO2RDs7UkmvV9sUCo+MTbeFI0Zjk87jizIms1an0shNFhvLtsQ6epJJj0elVqv9vo62qbSXNYCvg9Vqr0fIneL\/hF8k8iUZEzzzF\/nDRP6MkM+S8SukjLwIHp2p\/K1sM+cxt\/iIlKurMT7+4TP85+uVShPtYVtlekMdrmpsrOIcNq1GcfrnziX+hTnScuM3NNheG5g0EUV9EmMC\/FezqYV8q9i9GiMfQuXsJxWEbaotyXw5tSWlgk8Vn1hdJQ6UnPOvrO0Cwd1J\/hGqyOh3ob9F8NXxR+2EdENEy9tF0tEtKVVrlN7cTqT4NwisbgtzYEWatKHwwAer+PKenm6O0+kYR1vbZJZ\/ZApLS58vNZoQN\/w+gWOW8VTKbG4OTk4S0XNqNetJ5d1uhVzIuMrljCuZGu1NJhlmR\/Gp81ptEExqMKDTnfPXuDyZbP\/tfQNOF3iFHESVrwElG9\/XMHhMwgdK+fr3NTmGMkniv\/qXE3m+eOLpV+LH+Xeuko9+a5V\/93iSf+fnYyc+bMNLZD\/\/0tqnAaJX+XNw\/49k6kYenyVTa1\/nHyJP4O5yblTUVopr6oW4DgYvZac5QWBo4Yvzt1fwFfzpx3n5XcV\/vKS+SrEPXoWhrOR\/L+VK9Twj7AT+25IHAPrp2K2vOXJOWm3dSMNvqKnt2Ujlx2UjT640XCZuAJhCMnI8k\/WwWvBrtVrWk03vHMvlvKxavYzrxTpwsHMJt9dgkilqxCYjFyqkWY9B1yAGT+P55\/H3N1KRRn0sOjgAbu3HZCJfT4QjQuZS2+TzJuPAY1l0F3mW\/EXle7kgJYJeObv2HfyLZeJTDz2E961dJktxruBF1IJmSQhWaasf\/\/tZ3YruOHS1PhKZ3ffQbePjrWlaUIN0JjM58YlLM9ORkPhqvckcT0wPgcl1CxkeGWNPJobmUymTCZ87MTkVCmOXs6f74MGzd545uFDodjlDoandd4y2pixgblvAt5+5a7J\/IJ6Ekc10svRlHLiPGBVV\/u+AtkpvhePVG+tUqwXap5Ztlrbcbp1Oq6uVKdXKoNUqU+Bv8xry\/dm2nNWCSZHoXooANO2O6MypUzDwzdf5FWym3oDRmRKHKDaguRUZhsnKd3V1xfG6a0UHAtiv1BtkuFEpl9AatbheAhzhFXJOKo3AARCyqUZaYkYDaJSqeyhMggur1\/qpt7d\/fS\/xPNW86XtAxT6U\/reCfKZ4rGl1lSSvEi+cP0\/Urv\/zhICMF5j8MShWC3aptPsc6DvhpcfWHiFM997Pf4FQLOMvnJkiu35V\/C+krfQiRuPk7ehHwr+MAMVK0ioN\/0h2mwjt5t\/EtsPCv3\/g8uUk36b3NiZ\/Lfyzy\/YDcDstek00Af2qNiqxMCQ\/hsYaYc9uLoteK420+cgR\/4ZGyA+Rm3wD9eFnhWw40uEn0SnyEuoTEchGXkVT8HwfNYE05FfR7eSraIDoQsfIY\/A7jMzEt5GEakUaKoQuQ\/tJwoeqyefRZTyINPhxtET+JTqJX0WnyefQSfKTqI\/Iwe8raACuJbjOit5GJygtmoNyP1xX4MrCNQLvDZHfRwOiNTRFzqKTlA5dph5Fc9SDaB6\/hR6jhqFuBuZ8Bc1QPhQgPw\/lX6M8\/m\/ITDJIRn0H+jPosujniBP9ENpgHeR\/RllqJ9pPDCEOP3bzdaEPvO\/FbiEfgyKoB\/0ZnG+gf8VD+DwhIuREhDhF\/DNpJZ8g3yF\/TomoOHUn9YfUd6l\/EKlEl0RfFv1zVbbqjqp\/rz5V\/V9remqWar5Z84Oav6+dqf2XHfvqdtedq\/t2vbP+wfrH6r8vFovvEz8lfrEh2dDdcKHhi424Mdq4p\/HNxvckGcmS5GuSNyT\/U\/J\/KnudQ09XdnH7fgmHGD0FnIkpsHvo67ihUsaoHhOVMgHx1b9VyiQKolcrZQrp0ZcrZRFylP5jSihXQf3+SrkBcPCVy9gOkZqtUmZAEjSVshPK9ZWy99ZcOChIC+pGJ9AsWkSH0BzgegB+F9BBqOtHS+h2dKTUNg61+6HuYKnlBDqGjqM48sO5BOUD6Ciah9JRaCmPI9Qch7uvNMYCGobffXCdgIuFpwNQdxL6zkLrTni6HXofKo1gBn0F\/IGaURh0rRnQCMAV2TKCedsIm9\/oRANwdkLpd825\/elWz3yJojuhdh2H8hqa4TSjUag5UJp\/82oGofcSOgwtc6X+WRhZwGqpRJcZOT+C2gKMLvQ4CaP44K0lwFmoXYJzAVZ1YAPP41B\/+xZK5kqrPl5CbE6IX\/4vI4PAIAplbmRzdHJlYW0KZW5kb2JqCjIzIDAgb2JqCjY3OTAKZW5kb2JqCjIxIDAgb2JqCjw8IC9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9DSURGb250VHlwZTIKL0Jhc2VGb250IC9Sb2JvdG9SZWd1bGFyCi9DSURTeXN0ZW1JbmZvIDw8IC9SZWdpc3RyeSAoQWRvYmUpIC9PcmRlcmluZyAoSWRlbnRpdHkpIC9TdXBwbGVtZW50IDAgPj4KL0ZvbnREZXNjcmlwdG9yIDE5IDAgUgovQ0lEVG9HSURNYXAgL0lkZW50aXR5Ci9XIFswIFszNjYgNDkzIDQ3MSAyMDUgNDAwIDIwMSA0MzggNjIxIDQ1MCAyMDEgNTM5IDQ1NSA0NjYgMjgzIDQyNiAyODggMzQxIDUyNiA1MjEgNDU1IDI3MCA0NTcgMTYzIDIwMCA0NjQgMjE4IDQ1NiA0MzMgMjgwIDQ2NSA0NjUgNDY1IDcyNSA1MDkgNDY1IDQ2NSA0NjUgNDY1IDQ2NCA0NzAgNzQyIDQxOSA1MDkgNTY5IDU2MyAyMjUgNTM2IDU0MyA0NjUgNTE4IDQ0NSA0OTEgMjI4IDM5MSA1ODkgNTE1IDczMyA3MjEgNDY0IDQ2OSA1MzggMjg3IDE5OCA1ODkgNDY1IDE0NCBdCl0KPj4KZW5kb2JqCjIyIDAgb2JqCjw8IC9MZW5ndGggODE5ID4+CnN0cmVhbQovQ0lESW5pdCAvUHJvY1NldCBmaW5kcmVzb3VyY2UgYmVnaW4KMTIgZGljdCBiZWdpbgpiZWdpbmNtYXAKL0NJRFN5c3RlbUluZm8gPDwgL1JlZ2lzdHJ5IChBZG9iZSkgL09yZGVyaW5nIChVQ1MpIC9TdXBwbGVtZW50IDAgPj4gZGVmCi9DTWFwTmFtZSAvQWRvYmUtSWRlbnRpdHktVUNTIGRlZgovQ01hcFR5cGUgMiBkZWYKMSBiZWdpbmNvZGVzcGFjZXJhbmdlCjwwMDAwPiA8RkZGRj4KZW5kY29kZXNwYWNlcmFuZ2UKMiBiZWdpbmJmcmFuZ2UKPDAwMDA+IDwwMDAwPiA8MDAwMD4KPDAwMDE+IDwwMDQxPiBbPDAwNTQ+IDwwMDZGPiA8MDAyMD4gPDAwNzY+IDwwMDY5PiA8MDA2NT4gPDAwNzc+IDwwMDYxPiA8MDA2Qz4gPDAwNDE+IDwwMDc1PiA8MDA2ND4gPDAwMjg+IDwwMDczPiA8MDAyOT4gPDAwMkY+IDwwMDU2PiA8MDA1MD4gPDAwNjg+IDwwMDc0PiA8MDA0Nj4gPDAwMkM+IDwwMDNBPiA8MDA3MD4gPDAwMkU+IDwwMDZFPiA8MDA2Mz4gPDAwNzI+IDwwMDMzPiA8MDAzNj4gPDAwMzU+IDwwMDZEPiA8MDAyMz4gPDAwMzI+IDwwMDMxPiA8MDAzNz4gPDAwMzk+IDwwMDY3PiA8MDA3MT4gPDAwNDA+IDwwMDZCPiA8MDA1Mj4gPDAwNEY+IDwwMDQ3PiA8MDA0OT4gPDAwNTU+IDwwMDQ0PiA8MDAzMD4gPDAwNTg+IDwwMDRDPiA8MDA1Mz4gPDAwMkQ+IDwwMDc5PiA8MDA0RT4gPDAwNDI+IDwwMDU3PiA8MDA0RD4gPDAwNjI+IDwwMDJCPiA8MDA0Mz4gPDAwNjY+IDwwMDZBPiA8MDA0OD4gPDAwMzQ+IDwwMDI3PiBdCmVuZGJmcmFuZ2UKZW5kY21hcApDTWFwTmFtZSBjdXJyZW50ZGljdCAvQ01hcCBkZWZpbmVyZXNvdXJjZSBwb3AKZW5kCmVuZAoKZW5kc3RyZWFtCmVuZG9iago2IDAgb2JqCjw8IC9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMAovQmFzZUZvbnQgL1JvYm90b1JlZ3VsYXIKL0VuY29kaW5nIC9JZGVudGl0eS1ICi9EZXNjZW5kYW50Rm9udHMgWzIxIDAgUl0KL1RvVW5pY29kZSAyMiAwIFI+PgplbmRvYmoKMiAwIG9iago8PAovVHlwZSAvUGFnZXMKL0tpZHMgClsKNSAwIFIKXQovQ291bnQgMQovUHJvY1NldCBbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUNdCj4+CmVuZG9iagp4cmVmCjAgMjQKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMTgzNDIgMDAwMDAgbiAKMDAwMDAwMDE4NSAwMDAwMCBuIAowMDAwMDAwMjgwIDAwMDAwIG4gCjAwMDAwMDcwMjEgMDAwMDAgbiAKMDAwMDAxODIwMyAwMDAwMCBuIAowMDAwMDAwMzE3IDAwMDAwIG4gCjAwMDAwMDI4MzQgMDAwMDAgbiAKMDAwMDAwMjg1NCAwMDAwMCBuIAowMDAwMDA2MjQ1IDAwMDAwIG4gCjAwMDAwMDYyNjYgMDAwMDAgbiAKMDAwMDAwNjUyNCAwMDAwMCBuIAowMDAwMDA2ODAxIDAwMDAwIG4gCjAwMDAwMDY5NzEgMDAwMDAgbiAKMDAwMDAwNzM2MCAwMDAwMCBuIAowMDAwMDA5Njg0IDAwMDAwIG4gCjAwMDAwMDcxNDIgMDAwMDAgbiAKMDAwMDAwNzMxOSAwMDAwMCBuIAowMDAwMDA5NzA1IDAwMDAwIG4gCjAwMDAwMDk5NTIgMDAwMDAgbiAKMDAwMDAxNjg1NSAwMDAwMCBuIAowMDAwMDE3MzMyIDAwMDAwIG4gCjAwMDAwMTY4MzQgMDAwMDAgbiAKdHJhaWxlcgo8PAovU2l6ZSAyNAovSW5mbyAxIDAgUgovUm9vdCAxNCAwIFIKPj4Kc3RhcnR4cmVmCjE4NDQwCiUlRU9GCg==\"}]},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"result\":null,\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954591,\"delivery_status\":1,\"created_on\":\"2026-08-31T05:21:05.312Z\",\"updated_on\":\"2026-08-31T05:21:05.312Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 05:21:05.3257", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 05:21:05.3257", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 05:21:05.3383", "level": "Debug", "severity": "DEBUG", "message": "Stopped Assigned To SMS as Org Level setting is set to false " }
{ "timestamp": "2026-08-31 05:21:05.3383", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79329" }
{ "timestamp": "2026-08-31 05:21:05.3383", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000000713\",\"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\":\"Renard Whatley\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"V0XLP6\"},{\"type\":\"text\",\"text\":\"mfvjnjd\"},{\"type\":\"text\",\"text\":\"Alanreed\"},{\"type\":\"text\",\"text\":\"Near miss\"},{\"type\":\"text\",\"text\":\"Renard Whatley\"},{\"type\":\"text\",\"text\":\"Galecto Inc.\"},{\"type\":\"text\",\"text\":\"Open\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/211\/79329\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:21:05.4289", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:21:05.4289", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:21:05.4289", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 05:21:05.4454", "level": "Info", "severity": "INFO", "message": "### Ended processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 05:21:05.4454", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 05:21:45.8030", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 05:21:45.8030", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"UPDATE_INCIDENT_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"IncidentId\",\"Value\":79329},{\"Key\":\"OrgId\",\"Value\":211},{\"Key\":\"IncidentHistoryId\",\"Value\":117030},{\"Key\":\"IsTicketAssigned\",\"Value\":false}]}" }
{ "timestamp": "2026-08-31 05:21:45.8030", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 05:21:45.8030", "level": "Info", "severity": "INFO", "message": "### Started processing for Update incident Event ###" }
{ "timestamp": "2026-08-31 05:21:45.8030", "level": "Info", "severity": "INFO", "message": "# Calling  SendNotification function for  all types of notification #" }
{ "timestamp": "2026-08-31 05:21:45.8727", "level": "Debug", "severity": "DEBUG", "message": "Sending Email for IncidentId:79329" }
{ "timestamp": "2026-08-31 05:21:45.8727", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 05:21:45.8727", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 05:21:45.8727", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 05:21:45.8727", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 05:21:45.9273", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"MH_Admin_HO@oqsha.com\",\"cc\":null,\"bcc\":null,\"subject\":\"Ticket V0XLP6 has been updated\",\"text\":null,\"html\":\"<html>\\n<head>\\n    <style>\\n        body {\\n            font-family: Arial, sans-serif;\\n            color: #333333;\\n        }\\n\\n        .content {\\n            margin-bottom: 20px;\\n        }\\n\\n        .ticket-details {\\n            margin-bottom: 20px;\\n        }\\n\\n        .ticket-detail-point {\\n            margin: 0 0 10px 0;\\n        }\\n\\n        a {\\n            color: #007BFF;\\n            text-decoration: none;\\n            font-weight: bold;\\n        }\\n\\n        .button-container {\\n            margin-top: 20px;\\n        }\\n\\n        .open-button {\\n            display: inline-block;\\n            padding: 10px 16px;\\n            background-color: #007BFF;\\n            color: white;\\n            text-decoration: none;\\n            border-radius: 4px;\\n            font-weight: bold;\\n        }\\n\\n        .footer {\\n            margin-top: 30px;\\n        }\\n    <\/style>\\n<\/head>\\n<body>\\n    <p>Dear Renard Whatley,<\/p>\\n\\n    <div class=\\\"content\\\">\\n        <p>The ticket <strong>V0XLP6<\/strong> reported by <strong>Renard Whatley<\/strong> in organisation: <strong>Galecto Inc.<\/strong> has been updated.<\/p>\\n\\n        <div class=\\\"ticket-details\\\">\\n            <div class=\\\"ticket-detail-point\\\"><strong>Description:<\/strong> mfvjnjd<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Site:<\/strong> Alanreed<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Category:<\/strong> Near miss<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Ticket Time:<\/strong> 31-Aug-2026 10:51:03 AM<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Reported By:<\/strong> Renard Whatley<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Mobile Number:<\/strong> +912000000713<\/div>\\n            <div class=\\\"ticket-detail-point\\\">Checklist:<ul><li>Description - mfvjnjd<\/li><li>What is the location - mdskmkendjfc<\/li><li>Mention other categories of near miss, if any - frmkdkrcmk<\/li><li>Preventive action taken to prevent reoccurrence - rfmdkcmr<\/li><li>Cause of occurrence - Find out root cause by using \\\"5 why\\\" method - kmfrkdmkfe<\/li><li>Immediate action taken - kfrdkm<\/li><li>Category of the Near miss - Falling objects from height<\/li><\/ul><\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Location:<\/strong> <a href = \\\"https:\/\/www.google.com\/maps\/place\/17.448583500,78.390803500\\\">Click here<\/a><\/div>\\n        <\/div>\\n\\n        <p><strong>The following changes are made to the ticket:<\/strong><\/p>\\n        <p>Comments are added as: fmkrfmdk.<\/p>\\n\\n        <div class=\\\"button-container\\\">\\n            <a href = \\\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/211\/79329\\\">Click to open<\/a>\\n        <\/div>\\n    <\/div>\\n\\n    <div class=\\\"footer\\\">\\n        <p>\\n            Regards,<br>\\n            <br \/>\\n            Oqsha Team\\n            <br>\\n            -----------------------------------------------\\n            <br>\\n            OQSHA - Powered by Osmosys\\n        <\/p>\\n    <\/div>\\n<\/body>\\n<\/html>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"result\":null,\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954596,\"delivery_status\":1,\"created_on\":\"2026-08-31T05:21:45.928Z\",\"updated_on\":\"2026-08-31T05:21:45.928Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 05:21:45.9297", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 05:21:45.9297", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 05:21:45.9297", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79329" }
{ "timestamp": "2026-08-31 05:21:45.9297", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000000713\",\"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\":\"Renard Whatley\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"V0XLP6\"},{\"type\":\"text\",\"text\":\"Comments are added as fmkrfmdk\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"mfvjnjd\"},{\"type\":\"text\",\"text\":\"Alanreed\"},{\"type\":\"text\",\"text\":\"Near miss\"},{\"type\":\"text\",\"text\":\"Renard Whatley\"},{\"type\":\"text\",\"text\":\"Galecto Inc.\"},{\"type\":\"text\",\"text\":\"Open\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/211\/79329\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 05:21:45.9801", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 05:21:45.9801", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:21:45.9801", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 05:21:45.9903", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 05:21:45.9903", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 05:21:45.9903", "level": "Info", "severity": "INFO", "message": "### Ended processing Update incident Event ###" }
{ "timestamp": "2026-08-31 05:21:45.9903", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:31:07.3794", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:31:07.3794", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ASSIGNED_TO_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"AssignedIncidentID\",\"Value\":79330},{\"Key\":\"AssignedToID\",\"Value\":11697}]}" }
{ "timestamp": "2026-08-31 07:31:07.3959", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:31:07.3959", "level": "Info", "severity": "INFO", "message": "### Started processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 07:31:07.3959", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAssignedId function for all types of assigned to notification #" }
{ "timestamp": "2026-08-31 07:31:07.4053", "level": "Debug", "severity": "DEBUG", "message": "Generating report." }
{ "timestamp": "2026-08-31 07:31:08.6502", "level": "Info", "severity": "INFO", "message": "Converted to byte file" }
{ "timestamp": "2026-08-31 07:31:08.6502", "level": "Debug", "severity": "DEBUG", "message": "PDF generation successfull" }
{ "timestamp": "2026-08-31 07:31:08.6573", "level": "Debug", "severity": "DEBUG", "message": "Stopped Assigned To SMS as Org Level setting is set to false " }
{ "timestamp": "2026-08-31 07:31:08.6573", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79330" }
{ "timestamp": "2026-08-31 07:31:08.6573", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"915555557635\",\"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\":\"Abi Cope\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"EZN4WK\"},{\"type\":\"text\",\"text\":\"test\"},{\"type\":\"text\",\"text\":\"Alanreed\"},{\"type\":\"text\",\"text\":\"Near miss\"},{\"type\":\"text\",\"text\":\"Renard Whatley\"},{\"type\":\"text\",\"text\":\"Galecto Inc.\"},{\"type\":\"text\",\"text\":\"Open\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/211\/79330\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:31:08.7248", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:31:08.7248", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:31:08.7248", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:31:08.7307", "level": "Info", "severity": "INFO", "message": "### Ended processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 07:31:08.7307", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:41:50.0734", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:41:50.0734", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ASSIGNED_TO_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"AssignedIncidentID\",\"Value\":79331},{\"Key\":\"AssignedToID\",\"Value\":4124}]}" }
{ "timestamp": "2026-08-31 07:41:50.0886", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:41:50.0886", "level": "Info", "severity": "INFO", "message": "### Started processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 07:41:50.0886", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAssignedId function for all types of assigned to notification #" }
{ "timestamp": "2026-08-31 07:41:50.1054", "level": "Debug", "severity": "DEBUG", "message": "Generating report." }
{ "timestamp": "2026-08-31 07:41:50.1122", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:41:50.1122", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ESCALATE_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"CronCountPush\",\"Value\":2},{\"Key\":\"CronCountEmail\",\"Value\":1},{\"Key\":\"CronCountWhatsapp\",\"Value\":2},{\"Key\":\"CronCountSMS\",\"Value\":0},{\"Key\":\"CallOut\",\"Value\":0},{\"Key\":\"IsImmediate\",\"Value\":\"Yes\"},{\"Key\":\"IncidentID1Push\",\"Value\":79331},{\"Key\":\"IncidentUID1Push\",\"Value\":\"T\/MIRA\/EEE\/26\/00001\"},{\"Key\":\"UserID1Push\",\"Value\":4056},{\"Key\":\"EscalateCronType1Push\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID1Push\",\"Value\":127338},{\"Key\":\"IncidentID2Push\",\"Value\":79331},{\"Key\":\"IncidentUID2Push\",\"Value\":\"T\/MIRA\/EEE\/26\/00001\"},{\"Key\":\"UserID2Push\",\"Value\":3978},{\"Key\":\"EscalateCronType2Push\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID2Push\",\"Value\":127339},{\"Key\":\"IncidentID1Email\",\"Value\":79331},{\"Key\":\"IncidentUID1Email\",\"Value\":\"T\/MIRA\/EEE\/26\/00001\"},{\"Key\":\"UserIDs1Email\",\"Value\":\"3978\"},{\"Key\":\"attachmentCount1Email\",\"Value\":0},{\"Key\":\"EscalateCronID1Email\",\"Value\":127340},{\"Key\":\"IncidentID1Whatsapp\",\"Value\":79331},{\"Key\":\"IncidentUID1Whatsapp\",\"Value\":\"T\/MIRA\/EEE\/26\/00001\"},{\"Key\":\"UserID1Whatsapp\",\"Value\":4056},{\"Key\":\"EscalateCronType1Whatsapp\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID1Whatsapp\",\"Value\":127341},{\"Key\":\"IncidentID2Whatsapp\",\"Value\":79331},{\"Key\":\"IncidentUID2Whatsapp\",\"Value\":\"T\/MIRA\/EEE\/26\/00001\"},{\"Key\":\"UserID2Whatsapp\",\"Value\":3978},{\"Key\":\"EscalateCronType2Whatsapp\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID2Whatsapp\",\"Value\":127342}]}" }
{ "timestamp": "2026-08-31 07:41:50.1122", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ESCALATE_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:41:50.1122", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:41:50.5788", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:41:50.5788", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ESCALATE_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"IsImmediate\",\"Value\":\"Yes\"},{\"Key\":\"CronCountEmail\",\"Value\":1},{\"Key\":\"IncidentID1Email\",\"Value\":79331},{\"Key\":\"IncidentUID1Email\",\"Value\":\"T\/MIRA\/EEE\/26\/00001\"},{\"Key\":\"UserIDs1Email\",\"Value\":\"3978\"},{\"Key\":\"EscalateCronID1Email\",\"Value\":127343},{\"Key\":\"attachmentCount1Email\",\"Value\":1}]}" }
{ "timestamp": "2026-08-31 07:41:50.5788", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ESCALATE_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:41:50.5788", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:41:51.5464", "level": "Info", "severity": "INFO", "message": "Converted to byte file" }
{ "timestamp": "2026-08-31 07:41:51.5464", "level": "Debug", "severity": "DEBUG", "message": "PDF generation successfull" }
{ "timestamp": "2026-08-31 07:41:51.5464", "level": "Debug", "severity": "DEBUG", "message": "Stopped Assigned To SMS as Org Level setting is set to false " }
{ "timestamp": "2026-08-31 07:41:51.5464", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:41:51.5464", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006276\",\"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\":\"Adda Pollak\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EEE\/26\/00001\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Accident\/Incident\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Open\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79331\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:41:51.6059", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:41:51.6059", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:41:51.6059", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:41:51.6101", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:41:51.6101", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:41:51.6101", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:41:51.6101", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:41:51.6272", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:41:51.6272", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/55a3ed7f-4d11-3630-88e8-d63f80d5c06e" }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:41:51.812Z\"}" }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 6401." }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "### Ended processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 07:41:51.8135", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:45:17.4724", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:45:17.4724", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"UPDATE_INCIDENT_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"IncidentId\",\"Value\":79331},{\"Key\":\"OrgId\",\"Value\":232},{\"Key\":\"IncidentHistoryId\",\"Value\":117035},{\"Key\":\"IsTicketAssigned\",\"Value\":false}]}" }
{ "timestamp": "2026-08-31 07:45:17.4724", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:45:17.4724", "level": "Info", "severity": "INFO", "message": "### Started processing for Update incident Event ###" }
{ "timestamp": "2026-08-31 07:45:17.4724", "level": "Info", "severity": "INFO", "message": "# Calling  SendNotification function for  all types of notification #" }
{ "timestamp": "2026-08-31 07:45:17.5156", "level": "Debug", "severity": "DEBUG", "message": "Sending Email for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:17.5156", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 07:45:17.5156", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 07:45:17.5156", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 07:45:17.5156", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 07:45:17.5677", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"ITC_Admin@oqsha.com\",\"cc\":null,\"bcc\":null,\"subject\":\"Ticket T\/MIRA\/EEE\/26\/00001 has been updated\",\"text\":null,\"html\":\"<html>\\n<head>\\n    <style>\\n        body {\\n            font-family: Arial, sans-serif;\\n            color: #333333;\\n        }\\n\\n        .content {\\n            margin-bottom: 20px;\\n        }\\n\\n        .ticket-details {\\n            margin-bottom: 20px;\\n        }\\n\\n        .ticket-detail-point {\\n            margin: 0 0 10px 0;\\n        }\\n\\n        a {\\n            color: #007BFF;\\n            text-decoration: none;\\n            font-weight: bold;\\n        }\\n\\n        .button-container {\\n            margin-top: 20px;\\n        }\\n\\n        .open-button {\\n            display: inline-block;\\n            padding: 10px 16px;\\n            background-color: #007BFF;\\n            color: white;\\n            text-decoration: none;\\n            border-radius: 4px;\\n            font-weight: bold;\\n        }\\n\\n        .footer {\\n            margin-top: 30px;\\n        }\\n    <\/style>\\n<\/head>\\n<body>\\n    <p>Dear Neppie Traynor,<\/p>\\n\\n    <div class=\\\"content\\\">\\n        <p>The ticket <strong>T\/MIRA\/EEE\/26\/00001<\/strong> reported by <strong>Neppie Traynor<\/strong> in organisation: <strong>MIRA Pharmaceuticals Inc.<\/strong> has been updated.<\/p>\\n\\n        <div class=\\\"ticket-details\\\">\\n            <div class=\\\"ticket-detail-point\\\"><strong>Description:<\/strong> <\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Site:<\/strong> Rio<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Category:<\/strong> EHS-Accident\/Incident<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Ticket Time:<\/strong> 31-Aug-2026 01:11:50 PM<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Reported By:<\/strong> Neppie Traynor<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Mobile Number:<\/strong> +919999999999<\/div>\\n            <div class=\\\"ticket-detail-point\\\">Checklist:<ul><li>Name of the Injured Person - test<\/li><li>Employee ID - 12345<\/li><li>Date of Accident\/Incident - testing <\/li><li>Time and Shift - test<\/li><li>Location - hyd<\/li><li>Line - gachibowli<\/li><li>Machine\/Equipment - test<\/li><li>Type of Accident\/Incident - Lost Time Accident\/Incident<\/li><li>Type of Injury - Cut Injury<\/li><li>Detailed Description of Accident\/Incident - testing purpose <\/li><li>Probable Root Cause - test<\/li><li>Immediate Action Taken - taken <\/li><li>Preventive Action Taken - test <\/li><li>Reported by - admin<\/li><li>Shift Area In charge - admin<\/li><li>Immediate Action - Open<\/li><li>Recommended Immediate Action - cdcx<\/li><li>Recommended Preventive Action - ccvcc<\/li><li>Responsible person - cvdvg<\/li><li>Timeline for Closure for Preventive Action - fggfg<\/li><\/ul><\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Location:<\/strong> <a href = \\\"https:\/\/www.google.com\/maps\/place\/17.450395718,78.364290448\\\">Click here<\/a><\/div>\\n        <\/div>\\n\\n        <p><strong>The following changes are made to the ticket:<\/strong><\/p>\\n        <p>Ticket status updated to Resolved.<br\/>Comments are added as: test.<\/p>\\n\\n        <div class=\\\"button-container\\\">\\n            <a href = \\\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79331\\\">Click to open<\/a>\\n        <\/div>\\n    <\/div>\\n\\n    <div class=\\\"footer\\\">\\n        <p>\\n            Regards,<br>\\n            <br \/>\\n            Oqsha Team\\n            <br>\\n            -----------------------------------------------\\n            <br>\\n            OQSHA - Powered by Osmosys\\n        <\/p>\\n    <\/div>\\n<\/body>\\n<\/html>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"result\":null,\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954752,\"delivery_status\":1,\"created_on\":\"2026-08-31T07:45:17.564Z\",\"updated_on\":\"2026-08-31T07:45:17.564Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 07:45:17.5677", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:45:17.5677", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 07:45:17.5677", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:17.5677", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"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\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EEE\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as test\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Accident\/Incident\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79331\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: APNS" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:45:17.6843", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/APNS\/Oqsha-IOS-Production\/7bb31d49-51e8-3a1b-9bd7-54a13d36420f" }
{ "timestamp": "2026-08-31 07:45:17.8679", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:45:17.867Z\"}" }
{ "timestamp": "2026-08-31 07:45:17.8679", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:45:17.8679", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:45:17.8679", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26701." }
{ "timestamp": "2026-08-31 07:45:17.8679", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:45:17.8739", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:17.8739", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006276\",\"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\":\"Adda Pollak\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EEE\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as test\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Accident\/Incident\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79331\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:45:17.9234", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:45:17.9234", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:17.9234", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006276\",\"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\":\"Adda Pollak\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EEE\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as test\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Accident\/Incident\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79331\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:45:17.9797", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:45:17.9803", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/55a3ed7f-4d11-3630-88e8-d63f80d5c06e" }
{ "timestamp": "2026-08-31 07:45:18.1554", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:45:18.155Z\"}" }
{ "timestamp": "2026-08-31 07:45:18.1554", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:45:18.1554", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:45:18.1554", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 6401." }
{ "timestamp": "2026-08-31 07:45:18.1554", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:45:18.1785", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:45:18.1785", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:45:18.1785", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:45:18.1843", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:45:18.1843", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:18.1843", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:45:18.1843", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:45:18.1843", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e4b40208-26e7-3949-b435-21362a15b9bc" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:45:18.357Z\"}" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26499." }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:45:18.3572", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e4b40208-26e7-3949-b435-21362a15b9bc" }
{ "timestamp": "2026-08-31 07:45:18.5409", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:45:18.540Z\"}" }
{ "timestamp": "2026-08-31 07:45:18.5409", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:45:18.5409", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:45:18.5409", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26499." }
{ "timestamp": "2026-08-31 07:45:18.5409", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:45:18.5467", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:18.5467", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000002469\",\"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\":\"Nettie Lough\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EEE\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as test\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Accident\/Incident\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79331\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:45:18.5982", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:45:18.5982", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79331" }
{ "timestamp": "2026-08-31 07:45:18.5982", "level": "Info", "severity": "INFO", "message": "Invalid Mobile Number - 912000002469912000002469" }
{ "timestamp": "2026-08-31 07:45:18.5982", "level": "Info", "severity": "INFO", "message": "### Ended processing Update incident Event ###" }
{ "timestamp": "2026-08-31 07:45:18.5982", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:47:00.1793", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:47:00.1793", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ASSIGNED_TO_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"AssignedIncidentID\",\"Value\":79332},{\"Key\":\"AssignedToID\",\"Value\":4124}]}" }
{ "timestamp": "2026-08-31 07:47:00.1828", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:47:00.1828", "level": "Info", "severity": "INFO", "message": "### Started processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 07:47:00.1828", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAssignedId function for all types of assigned to notification #" }
{ "timestamp": "2026-08-31 07:47:00.1828", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:47:00.1828", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"ESCALATE_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"CronCountPush\",\"Value\":2},{\"Key\":\"CronCountEmail\",\"Value\":0},{\"Key\":\"CronCountWhatsapp\",\"Value\":2},{\"Key\":\"CronCountSMS\",\"Value\":0},{\"Key\":\"CallOut\",\"Value\":0},{\"Key\":\"IsImmediate\",\"Value\":\"Yes\"},{\"Key\":\"IncidentID1Push\",\"Value\":79332},{\"Key\":\"IncidentUID1Push\",\"Value\":\"T\/MIRA\/EAA\/26\/00001\"},{\"Key\":\"UserID1Push\",\"Value\":4056},{\"Key\":\"EscalateCronType1Push\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID1Push\",\"Value\":127346},{\"Key\":\"IncidentID2Push\",\"Value\":79332},{\"Key\":\"IncidentUID2Push\",\"Value\":\"T\/MIRA\/EAA\/26\/00001\"},{\"Key\":\"UserID2Push\",\"Value\":3978},{\"Key\":\"EscalateCronType2Push\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID2Push\",\"Value\":127347},{\"Key\":\"IncidentID1Whatsapp\",\"Value\":79332},{\"Key\":\"IncidentUID1Whatsapp\",\"Value\":\"T\/MIRA\/EAA\/26\/00001\"},{\"Key\":\"UserID1Whatsapp\",\"Value\":4056},{\"Key\":\"EscalateCronType1Whatsapp\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID1Whatsapp\",\"Value\":127348},{\"Key\":\"IncidentID2Whatsapp\",\"Value\":79332},{\"Key\":\"IncidentUID2Whatsapp\",\"Value\":\"T\/MIRA\/EAA\/26\/00001\"},{\"Key\":\"UserID2Whatsapp\",\"Value\":3978},{\"Key\":\"EscalateCronType2Whatsapp\",\"Value\":\"Immediate\"},{\"Key\":\"EscalateCronID2Whatsapp\",\"Value\":127349}]}" }
{ "timestamp": "2026-08-31 07:47:00.2010", "level": "Debug", "severity": "DEBUG", "message": "Generating report." }
{ "timestamp": "2026-08-31 07:47:00.2010", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : ESCALATE_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:47:00.2010", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:47:01.4908", "level": "Info", "severity": "INFO", "message": "Converted to byte file" }
{ "timestamp": "2026-08-31 07:47:01.4908", "level": "Debug", "severity": "DEBUG", "message": "PDF generation successfull" }
{ "timestamp": "2026-08-31 07:47:01.4964", "level": "Debug", "severity": "DEBUG", "message": "Stopped Assigned To SMS as Org Level setting is set to false " }
{ "timestamp": "2026-08-31 07:47:01.4964", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:47:01.4964", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006276\",\"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\":\"Adda Pollak\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EAA\/26\/00001\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Unsafe Act\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Open\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79332\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:47:01.5599", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/55a3ed7f-4d11-3630-88e8-d63f80d5c06e" }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:47:01.744Z\"}" }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 6401." }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "### Ended processing Assigned to Notification Event ###" }
{ "timestamp": "2026-08-31 07:47:01.7444", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 07:47:59.7451", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 07:47:59.7451", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"UPDATE_INCIDENT_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"IncidentId\",\"Value\":79332},{\"Key\":\"OrgId\",\"Value\":232},{\"Key\":\"IncidentHistoryId\",\"Value\":117037},{\"Key\":\"IsTicketAssigned\",\"Value\":false}]}" }
{ "timestamp": "2026-08-31 07:47:59.7451", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 07:47:59.7451", "level": "Info", "severity": "INFO", "message": "### Started processing for Update incident Event ###" }
{ "timestamp": "2026-08-31 07:47:59.7451", "level": "Info", "severity": "INFO", "message": "# Calling  SendNotification function for  all types of notification #" }
{ "timestamp": "2026-08-31 07:47:59.7989", "level": "Debug", "severity": "DEBUG", "message": "Sending Email for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:47:59.7989", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 07:47:59.7989", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 07:47:59.7989", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 07:47:59.7989", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 07:47:59.8499", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"ITC_Admin@oqsha.com\",\"cc\":null,\"bcc\":null,\"subject\":\"Ticket T\/MIRA\/EAA\/26\/00001 has been updated\",\"text\":null,\"html\":\"<html>\\n<head>\\n    <style>\\n        body {\\n            font-family: Arial, sans-serif;\\n            color: #333333;\\n        }\\n\\n        .content {\\n            margin-bottom: 20px;\\n        }\\n\\n        .ticket-details {\\n            margin-bottom: 20px;\\n        }\\n\\n        .ticket-detail-point {\\n            margin: 0 0 10px 0;\\n        }\\n\\n        a {\\n            color: #007BFF;\\n            text-decoration: none;\\n            font-weight: bold;\\n        }\\n\\n        .button-container {\\n            margin-top: 20px;\\n        }\\n\\n        .open-button {\\n            display: inline-block;\\n            padding: 10px 16px;\\n            background-color: #007BFF;\\n            color: white;\\n            text-decoration: none;\\n            border-radius: 4px;\\n            font-weight: bold;\\n        }\\n\\n        .footer {\\n            margin-top: 30px;\\n        }\\n    <\/style>\\n<\/head>\\n<body>\\n    <p>Dear Neppie Traynor,<\/p>\\n\\n    <div class=\\\"content\\\">\\n        <p>The ticket <strong>T\/MIRA\/EAA\/26\/00001<\/strong> reported by <strong>Neppie Traynor<\/strong> in organisation: <strong>MIRA Pharmaceuticals Inc.<\/strong> has been updated.<\/p>\\n\\n        <div class=\\\"ticket-details\\\">\\n            <div class=\\\"ticket-detail-point\\\"><strong>Description:<\/strong> <\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Site:<\/strong> Rio<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Category:<\/strong> EHS-Unsafe Act<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Ticket Time:<\/strong> 31-Aug-2026 01:17:00 PM<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Reported By:<\/strong> Neppie Traynor<\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Mobile Number:<\/strong> +919999999999<\/div>\\n            <div class=\\\"ticket-detail-point\\\">Checklist:<ul><li>Name of the Person performing Unsafe Act - test<\/li><li>Description of Unsafe Act - testing<\/li><li>Actions taken to encourage continued safe performance - BBS Training<\/li><\/ul><\/div>\\n            <div class=\\\"ticket-detail-point\\\"><strong>Location:<\/strong> <a href = \\\"https:\/\/www.google.com\/maps\/place\/17.450395734,78.364290412\\\">Click here<\/a><\/div>\\n        <\/div>\\n\\n        <p><strong>The following changes are made to the ticket:<\/strong><\/p>\\n        <p>Ticket status updated to Resolved.<br\/>Comments are added as: resolved.<\/p>\\n\\n        <div class=\\\"button-container\\\">\\n            <a href = \\\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79332\\\">Click to open<\/a>\\n        <\/div>\\n    <\/div>\\n\\n    <div class=\\\"footer\\\">\\n        <p>\\n            Regards,<br>\\n            <br \/>\\n            Oqsha Team\\n            <br>\\n            -----------------------------------------------\\n            <br>\\n            OQSHA - Powered by Osmosys\\n        <\/p>\\n    <\/div>\\n<\/body>\\n<\/html>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"result\":null,\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954758,\"delivery_status\":1,\"created_on\":\"2026-08-31T07:47:59.848Z\",\"updated_on\":\"2026-08-31T07:47:59.848Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 07:47:59.8499", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:47:59.8499", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 07:47:59.8499", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:47:59.8499", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"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\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EAA\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as resolved\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Unsafe Act\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79332\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:47:59.9006", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:47:59.9006", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:47:59.9006", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:47:59.9006", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:47:59.9006", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006276\",\"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\":\"Adda Pollak\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EAA\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as resolved\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Unsafe Act\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79332\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:47:59.9527", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:47:59.9527", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:47:59.9527", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006276\",\"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\":\"Adda Pollak\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EAA\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as resolved\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Unsafe Act\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79332\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:48:00.0063", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:48:00.0110", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/55a3ed7f-4d11-3630-88e8-d63f80d5c06e" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:48:00.188Z\"}" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 6401." }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:48:00.1907", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:48:00.1965", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: APNS" }
{ "timestamp": "2026-08-31 07:48:00.1965", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:48:00.1965", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/APNS\/Oqsha-IOS-Production\/7bb31d49-51e8-3a1b-9bd7-54a13d36420f" }
{ "timestamp": "2026-08-31 07:48:00.3656", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:48:00.369Z\"}" }
{ "timestamp": "2026-08-31 07:48:00.3656", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:48:00.3734", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:48:00.3734", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26702." }
{ "timestamp": "2026-08-31 07:48:00.3734", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:48:00.3931", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:48:00.3931", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:48:00.4028", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:48:00.4028", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:48:00.4028", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:48:00.4028", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:48:00.4028", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:48:00.4028", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e4b40208-26e7-3949-b435-21362a15b9bc" }
{ "timestamp": "2026-08-31 07:48:00.5835", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:48:00.582Z\"}" }
{ "timestamp": "2026-08-31 07:48:00.5835", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:48:00.5835", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:48:00.5835", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26499." }
{ "timestamp": "2026-08-31 07:48:00.5835", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Single) #" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Notification for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 07:48:00.5876", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e4b40208-26e7-3949-b435-21362a15b9bc" }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T07:48:00.760Z\"}" }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26499." }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:48:00.7610", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000002469\",\"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\":\"Nettie Lough\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\"T\/MIRA\/EAA\/26\/00001\"},{\"type\":\"text\",\"text\":\"Ticket status updated to Resolved., Comments are added as resolved\"},{\"type\":\"text\",\"text\":\"Ticket\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"EHS-Unsafe Act\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"MIRA Pharmaceuticals Inc.\"},{\"type\":\"text\",\"text\":\"Resolved\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/inct\/view\/232\/79332\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 07:48:00.8124", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 07:48:00.8124", "level": "Debug", "severity": "DEBUG", "message": "Sending Assigned To Whatsapp for IncidentId:79332" }
{ "timestamp": "2026-08-31 07:48:00.8124", "level": "Info", "severity": "INFO", "message": "Invalid Mobile Number - 912000002469912000002469" }
{ "timestamp": "2026-08-31 07:48:00.8124", "level": "Info", "severity": "INFO", "message": "### Ended processing Update incident Event ###" }
{ "timestamp": "2026-08-31 07:48:00.8124", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 08:30:20.2701", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 08:30:20.2701", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441110},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 02:00:20 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 08:30:20.2890", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 08:30:20.2890", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 08:30:20.2932", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 08:30:20.2932", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 08:30:20.2932", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441110" }
{ "timestamp": "2026-08-31 08:30:20.2932", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 02:00:20 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441110\"}]}]}}}" }
{ "timestamp": "2026-08-31 08:30:20.3525", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 08:30:20.3525", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 08:30:20.3525", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00001" }
{ "timestamp": "2026-08-31 08:30:20.3525", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 08:30:20.3525", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 08:41:02.3279", "level": "Info", "severity": "INFO", "message": "### Start Notification Sender Program.cs Execution ###" }
{ "timestamp": "2026-08-31 08:41:02.3595", "level": "Info", "severity": "INFO", "message": "### Calling ConfigureService.Configure() function ###" }
{ "timestamp": "2026-08-31 08:41:06.2960", "level": "Info", "severity": "INFO", "message": "### Start Notification Sender Program.cs Execution ###" }
{ "timestamp": "2026-08-31 08:41:06.3132", "level": "Info", "severity": "INFO", "message": "### Calling ConfigureService.Configure() function ###" }
{ "timestamp": "2026-08-31 08:41:06.5625", "level": "Info", "severity": "INFO", "message": "### Start Notification Sender Program.cs Execution ###" }
{ "timestamp": "2026-08-31 08:41:06.5811", "level": "Info", "severity": "INFO", "message": "### Calling ConfigureService.Configure() function ###" }
{ "timestamp": "2026-08-31 09:39:04.3866", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 09:39:04.3866", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441111},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00002\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:09:04 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"sdfsdf\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 09:39:04.6448", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 09:39:04.6448", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 09:39:04.6847", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 09:39:04.6935", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 09:39:04.6935", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441111" }
{ "timestamp": "2026-08-31 09:39:04.7211", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00002\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"sdfsdf\"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 03:09:04 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441111\"}]}]}}}" }
{ "timestamp": "2026-08-31 09:39:04.7932", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 09:39:04.7932", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 09:39:04.7932", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00002" }
{ "timestamp": "2026-08-31 09:39:04.7932", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 09:39:04.7932", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 09:40:51.8061", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 09:40:51.8061", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441112},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00003\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:10:51 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"30-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 09:40:51.8118", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 09:40:51.8118", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 09:40:51.8118", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 09:40:51.8118", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 09:40:51.8118", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441112" }
{ "timestamp": "2026-08-31 09:40:51.8118", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00003\"},{\"type\":\"text\",\"text\":\"30-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 03:10:51 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441112\"}]}]}}}" }
{ "timestamp": "2026-08-31 09:40:51.8704", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 09:40:51.8704", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 09:40:51.8704", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00003" }
{ "timestamp": "2026-08-31 09:40:51.8704", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 09:40:51.8704", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 09:42:02.7301", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 09:42:02.7301", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441113},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00004\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:12:02 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"31-Oct-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 09:42:02.7321", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 09:42:02.7321", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 09:42:02.7321", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 09:42:02.7321", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 09:42:02.7321", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441113" }
{ "timestamp": "2026-08-31 09:42:02.7321", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00004\"},{\"type\":\"text\",\"text\":\"31-Oct-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 03:12:02 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441113\"}]}]}}}" }
{ "timestamp": "2026-08-31 09:42:02.8162", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 09:42:02.8162", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 09:42:02.8162", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00004" }
{ "timestamp": "2026-08-31 09:42:02.8162", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 09:42:02.8162", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 09:50:26.0796", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 09:50:26.0796", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441114},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":55},{\"Key\":\"StringIssuerIds\",\"Value\":\"[4241]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/HUBG\/CW\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Ana Eaton\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:20:26 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Albertha Keith\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 09:50:26.0910", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 09:50:26.0910", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 09:50:26.0910", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 09:50:26.0969", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 09:50:26.0969", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441114" }
{ "timestamp": "2026-08-31 09:50:26.0969", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007385\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/HUBG\/CW\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Ana Eaton at 31-Aug-2026 03:20:26 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Albertha Keith\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441114\"}]}]}}}" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/HUBG\/CW\/26\/00001" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 09:50:26.1552", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441114" }
{ "timestamp": "2026-08-31 09:50:26.1686", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 09:50:26.1810", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 09:50:26.1810", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T09:50:26.382Z\"}" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441114" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 09:50:26.3868", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 09:50:26.5586", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T09:50:26.561Z\"}" }
{ "timestamp": "2026-08-31 09:50:26.5586", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 09:50:26.5656", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 09:50:26.5656", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 09:50:26.5656", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 09:50:26.5656", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 10:05:18.9380", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 10:05:18.9380", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441115},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":877},{\"Key\":\"StringIssuerIds\",\"Value\":\"[4241]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Ana Eaton\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:35:18 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Albertha Keith\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 10:05:18.9552", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 10:05:18.9552", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 10:05:18.9573", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 10:05:18.9573", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 10:05:18.9573", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441115" }
{ "timestamp": "2026-08-31 10:05:18.9573", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007385\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Ana Eaton at 31-Aug-2026 03:35:18 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Albertha Keith\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441115\"}]}]}}}" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/ACIW\/CW\/26\/00001" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441115" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 10:05:19.0164", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T10:05:19.190Z\"}" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441115" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 10:05:19.1923", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 10:05:19.3747", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T10:05:19.372Z\"}" }
{ "timestamp": "2026-08-31 10:05:19.3747", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:05:19.3747", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 10:05:19.3747", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 10:05:19.3747", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 10:05:19.3747", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 10:12:18.4421", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 10:12:18.4421", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441116},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00005\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:42:18 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"dsfdsf\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 10:12:18.4575", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 10:12:18.4575", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 10:12:18.4575", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 10:12:18.4575", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 10:12:18.4575", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441116" }
{ "timestamp": "2026-08-31 10:12:18.4575", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00005\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"dsfdsf\"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 03:42:18 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441116\"}]}]}}}" }
{ "timestamp": "2026-08-31 10:12:18.5175", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 10:12:18.5175", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 10:12:18.5175", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00005" }
{ "timestamp": "2026-08-31 10:12:18.5175", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 10:12:18.5175", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 10:14:49.0095", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 10:14:49.0095", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441110},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[4056]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 03:44:48 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00001\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Nettie Lough\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 10:14:49.0095", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 10:14:49.0095", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 10:14:49.0473", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 10:14:49.0473", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 10:14:49.0473", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 10:14:49.0473", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441110" }
{ "timestamp": "2026-08-31 10:14:49.0473", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000002469\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 03:44:48 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Nettie Lough\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441110\"}]}]}}}" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00001" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": " # string body 31-Aug-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441110" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 10:14:49.3121", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e4b40208-26e7-3949-b435-21362a15b9bc" }
{ "timestamp": "2026-08-31 10:14:49.5001", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T10:14:49.498Z\"}" }
{ "timestamp": "2026-08-31 10:14:49.5001", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:14:49.5001", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 10:14:49.5001", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26499." }
{ "timestamp": "2026-08-31 10:14:49.5001", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 10:14:49.5116", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 10:14:49.5116", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 10:21:42.7340", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 10:21:42.7340", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441117},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":877},{\"Key\":\"StringIssuerIds\",\"Value\":\"[10440]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00002\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Ana Eaton\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 03:51:42 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Alois Osborn\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 10:21:42.7743", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 10:21:42.7743", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 10:21:42.7743", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 10:21:42.7743", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 10:21:42.7743", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441117" }
{ "timestamp": "2026-08-31 10:21:42.7743", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000003164\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00002\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Ana Eaton at 31-Aug-2026 03:51:42 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Alois Osborn\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441117\"}]}]}}}" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/ACIW\/CW\/26\/00002" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441117" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 10:21:42.8339", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T10:21:43.013Z\"}" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441117" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 10:21:43.0155", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T10:21:43.188Z\"}" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441117" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 10:21:43.1906", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/9f284867-2f1e-3cee-ba06-2d4246d6d2c3" }
{ "timestamp": "2026-08-31 10:21:43.3652", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T10:21:43.362Z\"}" }
{ "timestamp": "2026-08-31 10:21:43.3652", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:21:43.3652", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 10:21:43.3652", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 16392." }
{ "timestamp": "2026-08-31 10:21:43.3652", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 10:21:43.3652", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 10:41:30.2068", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 10:41:30.2068", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"Update_APP_USER\",\"EventArgs\":[{\"Key\":\"DisplayName\",\"Value\":\"Adalynn Bayless\"},{\"Key\":\"Password\",\"Value\":\"\"},{\"Key\":\"OrganisationName\",\"Value\":\"Netskope Inc.\"},{\"Key\":\"UserUid\",\"Value\":\"\"},{\"Key\":\"UserDivisions\",\"Value\":\"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, Environmental Incident\"},{\"Key\":\"UserIncidentSites\",\"Value\":\"Archer Lodge, Butterfield Park, Harwood, Mount Repose, Yakima\"},{\"Key\":\"Email\",\"Value\":\"osm07942@osmosys.co\"},{\"Key\":\"MobileNumber\",\"Value\":\"+912000006234\"}]}" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : Update_APP_USER ###" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "### Started Event for Update App User Email ###" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "Calling Send Email Function for Update User Email" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 10:41:30.2364", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 10:41:30.3417", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"osm07942@osmosys.co\",\"cc\":null,\"bcc\":null,\"subject\":\"Your OQSHA Access Has Been Updated\",\"text\":null,\"html\":\"Hi Adalynn Bayless,\\n<br><br>\\nYour access to the <strong>Netskope Inc.<\/strong> organisation in OQSHA has been updated.\\n<br><br>\\nAvailable Ticket Sites: Archer Lodge, Butterfield Park, Harwood, Mount Repose, Yakima\\n<br>\\nAvailable Category: Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, Environmental Incident\\n<br><br>\\nYour Credentials for app login are:<br><br>Email: osm07942@osmosys.co<br>Mobile number: +912000006234\\n<br>\\nOrganisation: Netskope Inc.\\n<br><br>\\nClick <a href=\\\"https:\/\/www.oqsha.com\/#\/login\\\">here<\/a> to sign in.\\n<br><br>\\nRegards,\\n<br>\\nOQSHA\\n<br>\\nPowered by Osmosys\\n\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"delivery_status\":5,\"result\":{\"result\":\"This is a test mode notification. Notification was not delivered to recipient.\"},\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954948,\"created_on\":\"2026-08-31T10:41:30.339Z\",\"updated_on\":\"2026-08-31T10:41:30.339Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 10:41:30.3417", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 10:41:30.3417", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 10:41:30.3417", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 11:10:33.3562", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 11:10:33.3562", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441118},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00006\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 04:40:33 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 11:10:33.3718", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 11:10:33.3735", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 11:10:33.3735", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 11:10:33.3735", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 11:10:33.3735", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441118" }
{ "timestamp": "2026-08-31 11:10:33.3735", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00006\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 04:40:33 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441118\"}]}]}}}" }
{ "timestamp": "2026-08-31 11:10:33.4328", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 11:10:33.4328", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 11:10:33.4328", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00006" }
{ "timestamp": "2026-08-31 11:10:33.4328", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 11:10:33.4328", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 11:21:34.8491", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 11:21:34.8491", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NEW_ORGANISATION_OWNER\",\"EventArgs\":[{\"Key\":\"OrganisationName\",\"Value\":\"Central Bancompany Inc.\"},{\"Key\":\"UserIds\",\"Value\":\"[4892,9745,4911,881]\"}]}" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NEW_ORGANISATION_OWNER ###" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationForNewOrganisationOwner function for email\/push #" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Debug", "severity": "DEBUG", "message": "Executing email notifications to new organisation owners" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Debug", "severity": "DEBUG", "message": "Sending organisation owner welcome email to: osm06269@osmosys.co" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 11:21:34.8613", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"osm06269@osmosys.co\",\"cc\":null,\"bcc\":null,\"subject\":\"Added as an Organization Owner in OQSHA\",\"text\":null,\"html\":\"Hi Sacherby Markham,\\n<br><br>\\nYou have been successfully added as an owner to the organization in OQSHA.\\n<br><br>\\n<strong>Organisation:<\/strong> Central Bancompany Inc.\\n<br><br>\\nRegards,\\n<br>\\nOQSHA Team\\n<br>\\n<small>Powered by Osmosys<\/small>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"delivery_status\":5,\"result\":{\"result\":\"This is a test mode notification. Notification was not delivered to recipient.\"},\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954985,\"created_on\":\"2026-08-31T11:21:34.956Z\",\"updated_on\":\"2026-08-31T11:21:34.956Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Debug", "severity": "DEBUG", "message": "Sending organisation owner welcome email to: osm08910@osmosys.co" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 11:21:34.9569", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"osm08910@osmosys.co\",\"cc\":null,\"bcc\":null,\"subject\":\"Added as an Organization Owner in OQSHA\",\"text\":null,\"html\":\"Hi Corien Eaton,\\n<br><br>\\nYou have been successfully added as an owner to the organization in OQSHA.\\n<br><br>\\n<strong>Organisation:<\/strong> Central Bancompany Inc.\\n<br><br>\\nRegards,\\n<br>\\nOQSHA Team\\n<br>\\n<small>Powered by Osmosys<\/small>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"delivery_status\":5,\"result\":{\"result\":\"This is a test mode notification. Notification was not delivered to recipient.\"},\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954986,\"created_on\":\"2026-08-31T11:21:35.005Z\",\"updated_on\":\"2026-08-31T11:21:35.005Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Debug", "severity": "DEBUG", "message": "Sending organisation owner welcome email to: osm06341@osmosys.co" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 11:21:35.0066", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"osm06341@osmosys.co\",\"cc\":null,\"bcc\":null,\"subject\":\"Added as an Organization Owner in OQSHA\",\"text\":null,\"html\":\"Hi Joseline Arango,\\n<br><br>\\nYou have been successfully added as an owner to the organization in OQSHA.\\n<br><br>\\n<strong>Organisation:<\/strong> Central Bancompany Inc.\\n<br><br>\\nRegards,\\n<br>\\nOQSHA Team\\n<br>\\n<small>Powered by Osmosys<\/small>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"delivery_status\":5,\"result\":{\"result\":\"This is a test mode notification. Notification was not delivered to recipient.\"},\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954987,\"created_on\":\"2026-08-31T11:21:35.056Z\",\"updated_on\":\"2026-08-31T11:21:35.056Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Debug", "severity": "DEBUG", "message": "Sending organisation owner welcome email to: RIT_SEC@oqsha.com" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "*--- Sending Email Serice Initiated ---*" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "Reading and binding data to Email Template" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "Initializing Email Service Client" }
{ "timestamp": "2026-08-31 11:21:35.0594", "level": "Info", "severity": "INFO", "message": "Generating Email Request" }
{ "timestamp": "2026-08-31 11:21:35.1115", "level": "Info", "severity": "INFO", "message": "{\"provider_id\":44,\"data\":{\"from\":\"\\\"OQSHA\\\" <noreply@oqsha.com>\",\"to\":\"RIT_SEC@oqsha.com\",\"cc\":null,\"bcc\":null,\"subject\":\"Added as an Organization Owner in OQSHA\",\"text\":null,\"html\":\"Hi Johnathan Ruff,\\n<br><br>\\nYou have been successfully added as an owner to the organization in OQSHA.\\n<br><br>\\n<strong>Organisation:<\/strong> Central Bancompany Inc.\\n<br><br>\\nRegards,\\n<br>\\nOQSHA Team\\n<br>\\n<small>Powered by Osmosys<\/small>\",\"attachments\":null},\"application_id\":15,\"created_by\":\"Oqsha Sandbox\",\"updated_by\":\"Oqsha Sandbox\",\"channel_type\":2,\"result\":null,\"notification_sent_on\":null,\"provider_chain_id\":null,\"id\":954988,\"delivery_status\":1,\"created_on\":\"2026-08-31T11:21:35.109Z\",\"updated_on\":\"2026-08-31T11:21:35.109Z\",\"status\":1,\"retry_count\":0}" }
{ "timestamp": "2026-08-31 11:21:35.1115", "level": "Info", "severity": "INFO", "message": "--- Email created using Osmo-x ---" }
{ "timestamp": "2026-08-31 11:21:35.1115", "level": "Info", "severity": "INFO", "message": "--- Email response from Osmo-x is 201" }
{ "timestamp": "2026-08-31 11:21:35.1115", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 11:46:58.4917", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 11:46:58.4917", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441119},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00007\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 05:16:58 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 11:46:58.5073", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 11:46:58.5073", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 11:46:58.5073", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 11:46:58.5073", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 11:46:58.5073", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441119" }
{ "timestamp": "2026-08-31 11:46:58.5073", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00007\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 05:16:58 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441119\"}]}]}}}" }
{ "timestamp": "2026-08-31 11:46:58.5734", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 11:46:58.5734", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 11:46:58.5734", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00007" }
{ "timestamp": "2026-08-31 11:46:58.5734", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 11:46:58.5734", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 11:52:58.1417", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 11:52:58.1417", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441116},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 05:22:58 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00005\"},{\"Key\":\"WorkLocation\",\"Value\":\"dsfdsf\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 11:52:58.1580", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 11:52:58.1580", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 11:52:58.1896", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 11:52:58.1896", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 11:52:58.1896", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 11:52:58.1896", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441116" }
{ "timestamp": "2026-08-31 11:52:58.1896", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00005\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"dsfdsf\"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 05:22:58 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441116\"}]}]}}}" }
{ "timestamp": "2026-08-31 11:52:58.2482", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 11:52:58.2482", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 11:52:58.2482", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00005" }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Info", "severity": "INFO", "message": " # string body 31-Aug-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441116" }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 11:52:58.2559", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 11:52:58.4346", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T11:52:58.431Z\"}" }
{ "timestamp": "2026-08-31 11:52:58.4346", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 11:52:58.4346", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 11:52:58.4346", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 11:52:58.4346", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 11:52:58.4346", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 11:52:58.4390", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 11:56:23.3614", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 11:56:23.3614", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441120},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00008\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 05:26:23 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 11:56:23.3614", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 11:56:23.3614", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 11:56:23.3614", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 11:56:23.3738", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 11:56:23.3738", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441120" }
{ "timestamp": "2026-08-31 11:56:23.3738", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00008\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 05:26:23 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441120\"}]}]}}}" }
{ "timestamp": "2026-08-31 11:56:23.4433", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 11:56:23.4433", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 11:56:23.4433", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00008" }
{ "timestamp": "2026-08-31 11:56:23.4433", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 11:56:23.4433", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 11:56:48.9225", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 11:56:48.9225", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441118},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 05:26:48 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00006\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 11:56:48.9225", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 11:56:48.9225", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 11:56:48.9515", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 11:56:48.9515", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 11:56:48.9515", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 11:56:48.9515", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441118" }
{ "timestamp": "2026-08-31 11:56:48.9515", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00006\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 05:26:48 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441118\"}]}]}}}" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00006" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": " # string body 31-Aug-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441118" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 11:56:49.0169", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T11:56:49.187Z\"}" }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 11:56:49.1910", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 12:00:56.8732", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 12:00:56.8732", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"INSPECTION_NEXT_DUE_DATE_NOTIFICATION\",\"EventArgs\":[{\"Key\":\"InspectionNextDueDateNotification\",\"Value\":\"{\\\"4945\\\":[{\\\"InspectionId\\\":46887,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/P-H\/26\/00001\\\",\\\"InspectionName\\\":\\\"65\\\",\\\"InspectionTypeName\\\":\\\"Hydraulic Telescopic crane Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T10:55:56\\\",\\\"CreatedByUserId\\\":4945,\\\"LastInspectedByUserId\\\":1962,\\\"InspectionTypeId\\\":259,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46888,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/P-F\/26\/00001\\\",\\\"InspectionName\\\":\\\"65\\\",\\\"InspectionTypeName\\\":\\\"Forklift Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T10:59:30\\\",\\\"CreatedByUserId\\\":4945,\\\"LastInspectedByUserId\\\":5581,\\\"InspectionTypeId\\\":323,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null}],\\\"1962\\\":[{\\\"InspectionId\\\":46887,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/P-H\/26\/00001\\\",\\\"InspectionName\\\":\\\"65\\\",\\\"InspectionTypeName\\\":\\\"Hydraulic Telescopic crane Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T10:55:56\\\",\\\"CreatedByUserId\\\":4945,\\\"LastInspectedByUserId\\\":1962,\\\"InspectionTypeId\\\":259,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null}],\\\"5581\\\":[{\\\"InspectionId\\\":46888,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/P-F\/26\/00001\\\",\\\"InspectionName\\\":\\\"65\\\",\\\"InspectionTypeName\\\":\\\"Forklift Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T10:59:30\\\",\\\"CreatedByUserId\\\":4945,\\\"LastInspectedByUserId\\\":5581,\\\"InspectionTypeId\\\":323,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null}],\\\"11178\\\":[{\\\"InspectionId\\\":46889,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00001\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:13:18\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46890,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00002\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:16:49\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46891,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00003\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:18:45\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46892,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00004\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:20:42\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null}],\\\"7449\\\":[{\\\"InspectionId\\\":46889,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00001\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:13:18\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46890,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00002\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:16:49\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46891,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00003\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:18:45\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null},{\\\"InspectionId\\\":46892,\\\"OrganisationId\\\":211,\\\"InspectionUid\\\":\\\"I\/GLTO\/GRA\/FBH\/26\/00004\\\",\\\"InspectionName\\\":\\\"151\\\",\\\"InspectionTypeName\\\":\\\"Full Body Harness Inspection Checklist\\\",\\\"SiteName\\\":\\\"Leeper\\\",\\\"Frequency\\\":\\\"Monthly\\\",\\\"NextDueDate\\\":\\\"2026-08-31T05:20:42\\\",\\\"CreatedByUserId\\\":11178,\\\"LastInspectedByUserId\\\":7449,\\\"InspectionTypeId\\\":411,\\\"DepartmentName\\\":null,\\\"AssetName\\\":null,\\\"InspectionStatusName\\\":null,\\\"SiteId\\\":536,\\\"Location\\\":null,\\\"CompanyId\\\":null}]}\"}]}" }
{ "timestamp": "2026-08-31 12:00:56.8897", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : INSPECTION_NEXT_DUE_DATE_NOTIFICATION ###" }
{ "timestamp": "2026-08-31 12:00:56.8897", "level": "Info", "severity": "INFO", "message": "# INSPECTION_NEXT_DUE_DATE_NOTIFICATION - Calling InspectionNextDueDateNotification function for WhatsApp Notification #" }
{ "timestamp": "2026-08-31 12:00:56.9125", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4945 | Inspection: I\/GLTO\/GRA\/P-H\/26\/00001 ##" }
{ "timestamp": "2026-08-31 12:00:56.9125", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000004550\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Vigo Hazelton\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/P-H\/26\/00001\"},{\"type\":\"text\",\"text\":\"65\"},{\"type\":\"text\",\"text\":\"Hydraulic Telescopic crane Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46887?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:56.9670", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:56.9670", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4945 | Inspection: I\/GLTO\/GRA\/P-F\/26\/00001 ##" }
{ "timestamp": "2026-08-31 12:00:56.9670", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000004550\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Vigo Hazelton\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/P-F\/26\/00001\"},{\"type\":\"text\",\"text\":\"65\"},{\"type\":\"text\",\"text\":\"Forklift Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46888?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.0163", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.0163", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 1962 | Inspection: I\/GLTO\/GRA\/P-H\/26\/00001 ##" }
{ "timestamp": "2026-08-31 12:00:57.0163", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000005239\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Reatha Gaffney\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/P-H\/26\/00001\"},{\"type\":\"text\",\"text\":\"65\"},{\"type\":\"text\",\"text\":\"Hydraulic Telescopic crane Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46887?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.0668", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.0668", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 5581 | Inspection: I\/GLTO\/GRA\/P-F\/26\/00001 ##" }
{ "timestamp": "2026-08-31 12:00:57.0668", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000000689\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Siobhan Thompkins\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/P-F\/26\/00001\"},{\"type\":\"text\",\"text\":\"65\"},{\"type\":\"text\",\"text\":\"Forklift Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46888?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.1177", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.1177", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00001 ##" }
{ "timestamp": "2026-08-31 12:00:57.1177", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006821\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Prashant Fulford\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00001\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46889?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.1685", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.1685", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00002 ##" }
{ "timestamp": "2026-08-31 12:00:57.1685", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006821\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Prashant Fulford\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00002\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46890?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.2175", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.2175", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00003 ##" }
{ "timestamp": "2026-08-31 12:00:57.2175", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006821\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Prashant Fulford\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00003\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46891?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.2671", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.2671", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00004 ##" }
{ "timestamp": "2026-08-31 12:00:57.2671", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006821\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Prashant Fulford\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00004\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46892?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.3176", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.3176", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00001 ##" }
{ "timestamp": "2026-08-31 12:00:57.3208", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000009486\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Philip Rochester\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00001\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46889?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.3596", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.3698", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00002 ##" }
{ "timestamp": "2026-08-31 12:00:57.3698", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000009486\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Philip Rochester\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00002\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46890?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.4026", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.4189", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00003 ##" }
{ "timestamp": "2026-08-31 12:00:57.4189", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000009486\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Philip Rochester\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00003\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46891?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.4662", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.4662", "level": "Info", "severity": "INFO", "message": "## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I\/GLTO\/GRA\/FBH\/26\/00004 ##" }
{ "timestamp": "2026-08-31 12:00:57.4662", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000009486\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"oqsha_inspection_schedule_notification\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"Philip Rochester\"},{\"type\":\"text\",\"text\":\"I\/GLTO\/GRA\/FBH\/26\/00004\"},{\"type\":\"text\",\"text\":\"151\"},{\"type\":\"text\",\"text\":\"Full Body Harness Inspection Checklist\"},{\"type\":\"text\",\"text\":\"Leeper\"},{\"type\":\"text\",\"text\":\"https:\/\/oqsha.com\/#\/inspection\/view\/46892?dlType=viewInspection&orgID=211\"},{\"type\":\"text\",\"text\":\"Oqsha Team\"}]}]}}}" }
{ "timestamp": "2026-08-31 12:00:57.5141", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 12:00:57.5141", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 13:02:58.7762", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 13:02:58.7762", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441121},{\"Key\":\"OrganisationId\",\"Value\":204},{\"Key\":\"CompanyId\",\"Value\":625},{\"Key\":\"StringIssuerIds\",\"Value\":\"[1939]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[2552,4258]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/BEAT\/COM\/JFU\/BL\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Blasting Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Herma Bannister\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 06:32:58 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Robertsdale\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"hyd\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Elizabet Patty\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 13:02:58.7907", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 13:02:58.7907", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 13:02:58.7997", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 13:02:58.7997", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 13:02:58.7997", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441121" }
{ "timestamp": "2026-08-31 13:02:58.7997", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"2000003468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/BEAT\/COM\/JFU\/BL\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Blasting Work\"},{\"type\":\"text\",\"text\":\"Robertsdale\"},{\"type\":\"text\",\"text\":\"hyd\"},{\"type\":\"text\",\"text\":\"Requested by Herma Bannister at 31-Aug-2026 06:32:58 PM\"},{\"type\":\"text\",\"text\":\"Review\"},{\"type\":\"text\",\"text\":\"Elizabet Patty\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/204\/441121\"}]}]}}}" }
{ "timestamp": "2026-08-31 13:02:58.8579", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 13:02:58.8579", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/BEAT\/COM\/JFU\/BL\/26\/00001" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441121" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 13:02:58.8625", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/de4d85be-a3fe-3a30-9305-ef877b8494cf" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T13:02:59.037Z\"}" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25154." }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441121" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 13:02:59.0392", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/6231d64d-57cd-3a62-b990-ae01c9bf5014" }
{ "timestamp": "2026-08-31 13:02:59.2187", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T13:02:59.219Z\"}" }
{ "timestamp": "2026-08-31 13:02:59.2187", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 13:02:59.2228", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 13:02:59.2228", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26335." }
{ "timestamp": "2026-08-31 13:02:59.2228", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 13:02:59.2228", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 13:46:48.3811", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 13:46:48.3811", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441122},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":877},{\"Key\":\"StringIssuerIds\",\"Value\":\"[4241]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00003\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Roberto Cope\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:16:48 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Albertha Keith\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 13:46:48.3941", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 13:46:48.3941", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 13:46:48.3941", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 13:46:48.3941", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 13:46:48.3941", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441122" }
{ "timestamp": "2026-08-31 13:46:48.3941", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007385\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00003\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Roberto Cope at 31-Aug-2026 07:16:48 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Albertha Keith\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441122\"}]}]}}}" }
{ "timestamp": "2026-08-31 13:46:48.4552", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/ACIW\/CW\/26\/00003" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441122" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 13:46:48.4568", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T13:46:48.632Z\"}" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441122" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 13:46:48.6344", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 13:46:48.8128", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T13:46:48.810Z\"}" }
{ "timestamp": "2026-08-31 13:46:48.8128", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 13:46:48.8128", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 13:46:48.8128", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 13:46:48.8128", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 13:46:48.8180", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 13:54:19.6964", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 13:54:19.6964", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441123},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":877},{\"Key\":\"StringIssuerIds\",\"Value\":\"[4241]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00004\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Roberto Cope\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:24:19 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Albertha Keith\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 13:54:19.7127", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 13:54:19.7127", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 13:54:19.7169", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 13:54:19.7169", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 13:54:19.7169", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441123" }
{ "timestamp": "2026-08-31 13:54:19.7169", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007385\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/ACIW\/CW\/26\/00004\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Roberto Cope at 31-Aug-2026 07:24:19 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Albertha Keith\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441123\"}]}]}}}" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/ACIW\/CW\/26\/00004" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441123" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 13:54:19.7732", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T13:54:19.943Z\"}" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441123" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 13:54:19.9465", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 13:54:20.1186", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T13:54:20.117Z\"}" }
{ "timestamp": "2026-08-31 13:54:20.1186", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 13:54:20.1186", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 13:54:20.1186", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 13:54:20.1186", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 13:54:20.1214", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 13:57:50.3592", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 13:57:50.3592", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441124},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:27:50 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 13:57:50.3592", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 13:57:50.3592", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 13:57:50.3719", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 13:57:50.3719", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 13:57:50.3719", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441124" }
{ "timestamp": "2026-08-31 13:57:50.3719", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 07:27:50 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 13:57:50.4294", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 13:57:50.4294", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 13:57:50.4294", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 13:57:50.4294", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 13:57:50.4294", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:06:29.0940", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:06:29.0940", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441125},{\"Key\":\"OrganisationId\",\"Value\":204},{\"Key\":\"CompanyId\",\"Value\":625},{\"Key\":\"StringIssuerIds\",\"Value\":\"[1939]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[2552,4258]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/BEAT\/COM\/JFU\/BL\/CW\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Blasting Work, Concrete Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Furman Mcclintock\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:36:29 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Robertsdale\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Elizabet Patty\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:06:29.1114", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:06:29.1114", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:06:29.1114", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:06:29.1114", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:06:29.1114", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441125" }
{ "timestamp": "2026-08-31 14:06:29.1114", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"2000003468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/BEAT\/COM\/JFU\/BL\/CW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Blasting Work, Concrete Work\"},{\"type\":\"text\",\"text\":\"Robertsdale\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Furman Mcclintock at 31-Aug-2026 07:36:29 PM\"},{\"type\":\"text\",\"text\":\"Review\"},{\"type\":\"text\",\"text\":\"Elizabet Patty\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/204\/441125\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/BEAT\/COM\/JFU\/BL\/CW\/26\/00001" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441125" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:06:29.1871", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/de4d85be-a3fe-3a30-9305-ef877b8494cf" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:06:29.361Z\"}" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25154." }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441125" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:06:29.3637", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/6231d64d-57cd-3a62-b990-ae01c9bf5014" }
{ "timestamp": "2026-08-31 14:06:29.5413", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:06:29.540Z\"}" }
{ "timestamp": "2026-08-31 14:06:29.5413", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:06:29.5413", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:06:29.5413", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26335." }
{ "timestamp": "2026-08-31 14:06:29.5462", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:06:29.5462", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441126},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":55},{\"Key\":\"StringIssuerIds\",\"Value\":\"[5111]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/HUBG\/CW\/26\/00002\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Ana Eaton\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:41:06 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Butler Christy\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441126" }
{ "timestamp": "2026-08-31 14:11:06.8235", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000000090\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/HUBG\/CW\/26\/00002\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Ana Eaton at 31-Aug-2026 07:41:06 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Butler Christy\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441126\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:11:06.8844", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/HUBG\/CW\/26\/00002" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441126" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: APNS" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:11:06.8849", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/APNS\/Oqsha-IOS-Production\/78f87932-ef2e-345d-bde3-41d9a8a11d54" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:11:07.064Z\"}" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26715." }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441126" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:11:07.0659", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:11:07.237Z\"}" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:11:07.2355", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441126" }
{ "timestamp": "2026-08-31 14:11:07.2477", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:11:07.2477", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:11:07.2477", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 14:11:07.4219", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:11:07.419Z\"}" }
{ "timestamp": "2026-08-31 14:11:07.4219", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:11:07.4219", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:11:07.4219", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 14:11:07.4219", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:11:07.4219", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:12:38.2532", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:12:38.2532", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441127},{\"Key\":\"OrganisationId\",\"Value\":211},{\"Key\":\"CompanyId\",\"Value\":186},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3248]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[5092,5347]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/GLTO\/VIP\/CPZ\/BL\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Blasting Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Latarsha Pollak\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:42:38 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Vinings\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"test\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Alasdair Ecker\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Authorize\\\",\\\"PastTenseName\\\":\\\"Authorized\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Authorize\\\",\\\"PastTenseName\\\":\\\"Extension Authorized\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:12:38.2584", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:12:38.2584", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:12:38.2584", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:12:38.2584", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:12:38.2584", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441127" }
{ "timestamp": "2026-08-31 14:12:38.2584", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000008454\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/GLTO\/VIP\/CPZ\/BL\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Blasting Work\"},{\"type\":\"text\",\"text\":\"Vinings\"},{\"type\":\"text\",\"text\":\"test\"},{\"type\":\"text\",\"text\":\"Requested by Latarsha Pollak at 31-Aug-2026 07:42:38 PM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Alasdair Ecker\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/211\/441127\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/GLTO\/VIP\/CPZ\/BL\/26\/00001" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441127" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:12:38.3617", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/68cc0e60-3f76-3b29-8e0c-3c523163409f" }
{ "timestamp": "2026-08-31 14:12:38.5376", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:12:38.535Z\"}" }
{ "timestamp": "2026-08-31 14:12:38.5376", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24061." }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441127" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:12:38.5398", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/c2ef4769-03bb-3a3d-97e8-fb92fb2b9d40" }
{ "timestamp": "2026-08-31 14:12:38.7183", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:12:38.715Z\"}" }
{ "timestamp": "2026-08-31 14:12:38.7183", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:12:38.7183", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:12:38.7183", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25608." }
{ "timestamp": "2026-08-31 14:12:38.7183", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:12:38.7183", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441128},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:46:51 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441128" }
{ "timestamp": "2026-08-31 14:16:51.5975", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 07:46:51 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:16:51.6592", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:16:51.6598", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:16:51.6598", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 14:16:51.6598", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:16:51.6598", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441129},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":55},{\"Key\":\"StringIssuerIds\",\"Value\":\"[4238]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/HUBG\/CW\/26\/00003\"},{\"Key\":\"JobType\",\"Value\":\"Cold work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Ana Eaton\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:47:00 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Demetri Pagano\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:17:00.4183", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441129" }
{ "timestamp": "2026-08-31 14:17:00.4258", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000006525\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/HUBG\/CW\/26\/00003\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Cold work\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Ana Eaton at 31-Aug-2026 07:47:00 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Demetri Pagano\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441129\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/HUBG\/CW\/26\/00003" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441129" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: APNS" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:17:00.4734", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/APNS\/Oqsha-IOS-Production\/78f87932-ef2e-345d-bde3-41d9a8a11d54" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:17:00.649Z\"}" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26715." }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441129" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:17:00.6518", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Test\/7f0d6d1d-cc75-3391-b2b1-bc1c69755498" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:17:00.824Z\"}" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26718." }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441129" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:17:00.8263", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 14:17:01.0007", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:17:00.998Z\"}" }
{ "timestamp": "2026-08-31 14:17:01.0007", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:17:01.0007", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441129" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:17:01.0038", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 14:17:01.1817", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:17:01.179Z\"}" }
{ "timestamp": "2026-08-31 14:17:01.1817", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:17:01.1817", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:17:01.1817", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 14:17:01.1817", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:17:01.1817", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:17:55.6751", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:17:55.6751", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441111},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[4056]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 07:47:55 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00002\"},{\"Key\":\"WorkLocation\",\"Value\":\"sdfsdf\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Nettie Lough\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 14:17:55.6751", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 14:17:55.6751", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:17:55.7069", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:17:55.7069", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 14:17:55.7069", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 14:17:55.7069", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441111" }
{ "timestamp": "2026-08-31 14:17:55.7069", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000002469\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00002\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\"sdfsdf\"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 07:47:55 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Nettie Lough\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441111\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00002" }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:17:55.7633", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441111" }
{ "timestamp": "2026-08-31 14:17:55.7699", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:17:55.7699", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:17:55.7699", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e4b40208-26e7-3949-b435-21362a15b9bc" }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:17:55.957Z\"}" }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26499." }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 14:17:55.9595", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:22:06.0627", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:22:06.0627", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441130},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:52:06 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:22:06.0627", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:22:06.0627", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:22:06.0773", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:22:06.0773", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:22:06.0773", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441130" }
{ "timestamp": "2026-08-31 14:22:06.0773", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 07:52:06 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:22:06.1355", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:22:06.1355", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:22:06.1355", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00011" }
{ "timestamp": "2026-08-31 14:22:06.1355", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:22:06.1355", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:23:05.2896", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:23:05.2896", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441131},{\"Key\":\"OrganisationId\",\"Value\":207},{\"Key\":\"CompanyId\",\"Value\":55},{\"Key\":\"StringIssuerIds\",\"Value\":\"[4241]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[1855,1861,4244,4504,4516,4518,4583,4594,4690,4691,4806,5106,4459,4243,5111]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/HUBG\/TFX\/HUBG\/CS\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Confined space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Ana Eaton\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 07:53:05 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Meadow Oaks\"},{\"Key\":\"StartDate\",\"Value\":\"31-Aug-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Albertha Keith\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Issue\\\",\\\"PastTenseName\\\":\\\"Issued\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Review\\\",\\\"PastTenseName\\\":\\\"Reviewed\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Issue\\\",\\\"PastTenseName\\\":\\\"Extension Issued\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Review\\\",\\\"PastTenseName\\\":\\\"Extension Reviewed\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Issue\\\",\\\"PastTenseName\\\":\\\"Validation Issued\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Approve\\\",\\\"PastTenseName\\\":\\\"Validation Approved\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:23:05.2896", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 14:23:05.2952", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:23:05.2952", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:23:05.2952", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 14:23:05.2952", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441131" }
{ "timestamp": "2026-08-31 14:23:05.2952", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007385\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/HUBG\/TFX\/HUBG\/CS\/26\/00001\"},{\"type\":\"text\",\"text\":\"31-Aug-2026\"},{\"type\":\"text\",\"text\":\"Confined space\"},{\"type\":\"text\",\"text\":\"Meadow Oaks\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Ana Eaton at 31-Aug-2026 07:53:05 PM\"},{\"type\":\"text\",\"text\":\"Issue\"},{\"type\":\"text\",\"text\":\"Albertha Keith\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/207\/441131\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/HUBG\/TFX\/HUBG\/CS\/26\/00001" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441131" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: APNS" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:23:05.3485", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/APNS\/Oqsha-IOS-Production\/78f87932-ef2e-345d-bde3-41d9a8a11d54" }
{ "timestamp": "2026-08-31 14:23:05.5267", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:23:05.524Z\"}" }
{ "timestamp": "2026-08-31 14:23:05.5267", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26715." }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441131" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:23:05.5284", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Test\/7f0d6d1d-cc75-3391-b2b1-bc1c69755498" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:23:05.706Z\"}" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26718." }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441131" }
{ "timestamp": "2026-08-31 14:23:05.7073", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:23:05.7165", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:23:05.7165", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/8d44ad78-8b14-3b2c-885c-92039149a4e4" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:23:05.888Z\"}" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 25502." }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441131" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:23:05.8905", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/f4efb887-45b1-3133-8647-101a6629c0a9" }
{ "timestamp": "2026-08-31 14:23:06.0723", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:23:06.070Z\"}" }
{ "timestamp": "2026-08-31 14:23:06.0723", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:23:06.0723", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:23:06.0723", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 24207." }
{ "timestamp": "2026-08-31 14:23:06.0723", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:23:06.0765", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:23:27.5346", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:23:27.5346", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441124},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 07:53:27 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 14:23:27.5346", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 14:23:27.5346", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:23:27.5541", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:23:27.5541", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 14:23:27.5541", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 14:23:27.5541", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:23:27.5599", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 07:53:27 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441124" }
{ "timestamp": "2026-08-31 14:23:27.6128", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:23:27.6219", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:23:27.6219", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:23:27.796Z\"}" }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 14:23:27.7982", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:24:30.5129", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:24:30.5129", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441124},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Approved\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 07:54:30 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"[]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 14:24:30.5129", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 14:24:30.5129", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:24:30.5544", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:24:30.5621", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 14:24:30.5621", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 14:24:30.5621", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:24:30.5621", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Quality Verified by Sacherby Markham at 31-Aug-2026 07:54:30 PM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441124" }
{ "timestamp": "2026-08-31 14:24:30.6154", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:24:30.6223", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:24:30.6223", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 14:24:30.7964", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:24:30.794Z\"}" }
{ "timestamp": "2026-08-31 14:24:30.7964", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:24:30.7964", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:24:30.7964", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 14:24:30.7964", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:24:30.7964", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:24:35.6906", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:24:35.6906", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER\",\"EventArgs\":[{\"Key\":\"StringUserIds\",\"Value\":\"[3978,4048,4055,4586]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,881]\"},{\"Key\":\"PtwId\",\"Value\":441124},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 07:54:35 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:24:35.6985", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER ###" }
{ "timestamp": "2026-08-31 14:24:35.6985", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:24:35.6985", "level": "Info", "severity": "INFO", "message": "User Ids for notification: [3978,4048,4055,4586]" }
{ "timestamp": "2026-08-31 14:24:35.6985", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:24:35.6985", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 14:24:35.6985", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:24:35.7163", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:24:35.7662", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:24:35.7662", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:24:35.7662", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000010468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:24:35.8150", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:24:35.8150", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:24:35.8150", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000001909\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:24:35.8692", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:24:35.8692", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:24:35.8692", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"917777777771\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:24:35.9155", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:24:35.9155", "level": "Info", "severity": "INFO", "message": "Starting Execution for push notification for all" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Sacherby Markham, P\/MIRA\/FCP\/YI\/CS\/26\/00009, 01-Sep-2026" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Debug", "severity": "DEBUG", "message": "Sending permit to work Notification for permit id: 441124" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:24:35.9191", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 14:24:36.0941", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:24:36.092Z\"}" }
{ "timestamp": "2026-08-31 14:24:36.0941", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:24:36.0941", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:24:36.0941", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 14:24:36.0941", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:24:36.0941", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:28:00.8676", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:28:00.8676", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441124},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"Key\":\"DurationInHours\",\"Value\":\"16 hour(s)\"},{\"Key\":\"StringUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 07:58:00 PM\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 14:28:00.8676", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 14:28:00.8676", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:28:00.8857", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:28:00.8857", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers for extended PTW through whatsapp" }
{ "timestamp": "2026-08-31 14:28:00.8857", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:28:00.8857", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Requested by Sacherby Markham for 16 hour(s) at 31-Aug-2026 07:58:00 PM\"},{\"type\":\"text\",\"text\":\"Extension Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:28:00.9436", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:28:00.9468", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers for extended PTW" }
{ "timestamp": "2026-08-31 14:28:00.9468", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:28:00.9468", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 14:28:00.9468", "level": "Info", "severity": "INFO", "message": " # string body Sacherby Markham, 16 hour(s), P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 14:28:00.9468", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 14:29:22.7391", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 14:29:22.7391", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441124},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Bee Bainbridge\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StringUserIds\",\"Value\":\"[12006]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"DurationInHours\",\"Value\":\"16 hour(s)\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 07:59:22 PM\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"RequestedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"IssuerUserDisplayName\",\"Value\":\"\"},{\"Key\":\"ApproverUserDisplayName\",\"Value\":\"\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtApproved\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 14:29:22.7412", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 14:29:22.7412", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 14:29:22.7572", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 14:29:22.7572", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 14:29:22.7572", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 14:29:22.7572", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441124" }
{ "timestamp": "2026-08-31 14:29:22.7572", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000001389\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00009\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Accepted by Neppie Traynor for 16 hour(s) at 31-Aug-2026 07:59:22 PM\"},{\"type\":\"text\",\"text\":\"Extension Quality Verify\"},{\"type\":\"text\",\"text\":\"Bee Bainbridge\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441124\"}]}]}}}" }
{ "timestamp": "2026-08-31 14:29:22.8160", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 14:29:22.8160", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 14:29:22.8160", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00009" }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Info", "severity": "INFO", "message": " # string body Sacherby Markham, 16 hour(s), P\/MIRA\/FCP\/YI\/CS\/26\/00009,," }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441124" }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:29:22.8193", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:29:23.020Z\"}" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441124" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 14:29:23.0219", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 14:29:23.2070", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T14:29:23.204Z\"}" }
{ "timestamp": "2026-08-31 14:29:23.2070", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 14:29:23.2070", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 14:29:23.2070", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26531." }
{ "timestamp": "2026-08-31 14:29:23.2070", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 14:29:23.2070", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:06:06.0035", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:06:06.0035", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441132},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 08:36:05 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 15:06:06.0190", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 15:06:06.0190", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:06:06.0190", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:06:06.0190", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 15:06:06.0190", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441132" }
{ "timestamp": "2026-08-31 15:06:06.0190", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 08:36:05 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:06:06.0794", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:06:06.0794", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 15:06:06.0794", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00012" }
{ "timestamp": "2026-08-31 15:06:06.0794", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:06:06.0794", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:06:45.5836", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:06:45.5836", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441128},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:36:45 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 15:06:45.5836", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 15:06:45.5836", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:06:45.6033", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:06:45.6070", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 15:06:45.6070", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 15:06:45.6070", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:06:45.6070", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 08:36:45 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441128" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:06:45.6604", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:06:45.8389", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:06:45.837Z\"}" }
{ "timestamp": "2026-08-31 15:06:45.8389", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:06:45.8389", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:06:45.8389", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:06:45.8389", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:06:45.8389", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 15:06:45.8426", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:07:51.3419", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:07:51.3419", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441128},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Approved\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:37:51 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"[]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 15:07:51.3419", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 15:07:51.3419", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:07:51.3566", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:07:51.3566", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 15:07:51.3566", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 15:07:51.3566", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:07:51.3566", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Quality Verified by Sacherby Markham at 31-Aug-2026 08:37:51 PM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441128" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:07:51.4086", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:07:51.5937", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:07:51.593Z\"}" }
{ "timestamp": "2026-08-31 15:07:51.5937", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:07:51.5937", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:07:51.5937", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:07:51.5937", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:07:51.5937", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:08:06.6669", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:08:06.6669", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER\",\"EventArgs\":[{\"Key\":\"StringUserIds\",\"Value\":\"[3978,4048,4055,4586]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,881]\"},{\"Key\":\"PtwId\",\"Value\":441128},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:38:06 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 15:08:06.6701", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER ###" }
{ "timestamp": "2026-08-31 15:08:06.6701", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:08:06.6701", "level": "Info", "severity": "INFO", "message": "User Ids for notification: [3978,4048,4055,4586]" }
{ "timestamp": "2026-08-31 15:08:06.6701", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:08:06.6840", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 15:08:06.6840", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:08:06.6840", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:08:06.7336", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:08:06.7336", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:08:06.7336", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000010468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:08:06.7851", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:08:06.7851", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:08:06.7851", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000001909\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:08:06.8373", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:08:06.8373", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:08:06.8373", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"917777777771\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:08:06.8752", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:08:06.8752", "level": "Info", "severity": "INFO", "message": "Starting Execution for push notification for all" }
{ "timestamp": "2026-08-31 15:08:06.8752", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:08:06.8752", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Sacherby Markham, P\/MIRA\/FCP\/YI\/CS\/26\/00010, 01-Sep-2026" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Debug", "severity": "DEBUG", "message": "Sending permit to work Notification for permit id: 441128" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:08:06.8904", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:08:07.0640", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:08:07.064Z\"}" }
{ "timestamp": "2026-08-31 15:08:07.0640", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:08:07.0640", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:08:07.0640", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:08:07.0640", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:08:07.0640", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:13:17.4495", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:13:17.4495", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441133},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00013\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"31-Aug-2026 08:43:17 PM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 15:13:17.4661", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 15:13:17.4661", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:13:17.4661", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:13:17.4661", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 15:13:17.4661", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441133" }
{ "timestamp": "2026-08-31 15:13:17.4661", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00013\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 31-Aug-2026 08:43:17 PM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441133\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:13:17.5281", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:13:17.5281", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 15:13:17.5281", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00013" }
{ "timestamp": "2026-08-31 15:13:17.5281", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:13:17.5281", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:13:40.5303", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:13:40.5303", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441130},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:43:40 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 15:13:40.5303", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 15:13:40.5303", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:13:40.5675", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:13:40.5749", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 15:13:40.5749", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 15:13:40.5749", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441130" }
{ "timestamp": "2026-08-31 15:13:40.5749", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 31-Aug-2026 08:43:40 PM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:13:40.6220", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:13:40.6220", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:13:40.6220", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00011" }
{ "timestamp": "2026-08-31 15:13:40.6220", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 15:13:40.6315", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:13:40.6315", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:13:40.6315", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441130" }
{ "timestamp": "2026-08-31 15:13:40.6315", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:13:40.6315", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:13:40.6315", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:13:40.808Z\"}" }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 15:13:40.8095", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441130},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Approved\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:44:19 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"[]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441130" }
{ "timestamp": "2026-08-31 15:14:19.5062", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Quality Verified by Sacherby Markham at 31-Aug-2026 08:44:19 PM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00011" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441130" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:14:19.5697", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:14:19.7538", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:14:19.754Z\"}" }
{ "timestamp": "2026-08-31 15:14:19.7538", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:14:19.7538", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:14:19.7538", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:14:19.7538", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:14:19.7568", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:21:27.9749", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:21:27.9749", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER\",\"EventArgs\":[{\"Key\":\"StringUserIds\",\"Value\":\"[3978,4048,4055,4586]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,881]\"},{\"Key\":\"PtwId\",\"Value\":441130},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:51:27 PM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER ###" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Info", "severity": "INFO", "message": "User Ids for notification: [3978,4048,4055,4586]" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441130" }
{ "timestamp": "2026-08-31 15:21:28.0056", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:51:27 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:21:28.0703", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:21:28.0703", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441130" }
{ "timestamp": "2026-08-31 15:21:28.0703", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000010468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:51:27 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:21:28.1193", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:21:28.1193", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441130" }
{ "timestamp": "2026-08-31 15:21:28.1193", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000001909\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:51:27 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:21:28.1695", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:21:28.1695", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441130" }
{ "timestamp": "2026-08-31 15:21:28.1695", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"917777777771\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00011\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 31-Aug-2026 08:51:27 PM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441130\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "Starting Execution for push notification for all" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00011" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Sacherby Markham, P\/MIRA\/FCP\/YI\/CS\/26\/00011, 01-Sep-2026" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Debug", "severity": "DEBUG", "message": "Sending permit to work Notification for permit id: 441130" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:21:28.2182", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:21:28.3950", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:21:28.393Z\"}" }
{ "timestamp": "2026-08-31 15:21:28.3950", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:21:28.3950", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:21:28.3950", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:21:28.3950", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:21:28.3950", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:23:42.6657", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:23:42.6657", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441128},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"Key\":\"DurationInHours\",\"Value\":\"24 hour(s)\"},{\"Key\":\"StringUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 08:53:42 PM\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 15:23:42.6685", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 15:23:42.6685", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:23:42.6685", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:23:42.6685", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers for extended PTW through whatsapp" }
{ "timestamp": "2026-08-31 15:23:42.6685", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:23:42.6685", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Requested by Sacherby Markham for 24 hour(s) at 31-Aug-2026 08:53:42 PM\"},{\"type\":\"text\",\"text\":\"Extension Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:23:42.7245", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:23:42.7245", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers for extended PTW" }
{ "timestamp": "2026-08-31 15:23:42.7245", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:23:42.7245", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 15:23:42.7245", "level": "Info", "severity": "INFO", "message": " # string body Sacherby Markham, 24 hour(s), P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 15:23:42.7245", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 15:32:08.8071", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 15:32:08.8071", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441128},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"ExtIssued\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringReceiveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"DurationInHours\",\"Value\":\"24 hour(s)\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"31-Aug-2026 09:02:08 PM\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"RequestedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"IssuerUserDisplayName\",\"Value\":\"\"},{\"Key\":\"ApproverUserDisplayName\",\"Value\":\"\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"ExtApproved\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER_FOR_EXTENDED_PTW ###" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441128" }
{ "timestamp": "2026-08-31 15:32:08.8148", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00010\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Extension Accepted by Neppie Traynor for 24 hour(s) at 31-Aug-2026 09:02:08 PM\"},{\"type\":\"text\",\"text\":\"Extension Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441128\"}]}]}}}" }
{ "timestamp": "2026-08-31 15:32:08.8721", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 15:32:08.8721", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 15:32:08.8721", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00010" }
{ "timestamp": "2026-08-31 15:32:08.8721", "level": "Info", "severity": "INFO", "message": " # string body Sacherby Markham, 24 hour(s), P\/MIRA\/FCP\/YI\/CS\/26\/00010,," }
{ "timestamp": "2026-08-31 15:32:08.8721", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 15:32:08.8721", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 15:32:08.8792", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441128" }
{ "timestamp": "2026-08-31 15:32:08.8792", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 15:32:08.8792", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 15:32:08.8792", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 15:32:09.0567", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T15:32:09.055Z\"}" }
{ "timestamp": "2026-08-31 15:32:09.0567", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 15:32:09.0567", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 15:32:09.0567", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 15:32:09.0567", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 15:32:09.0567", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:39:07.9504", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:39:07.9504", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441134},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"Key\":\"JobType\",\"Value\":\"Electrical Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"01-Sep-2026 02:09:07 AM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 20:39:07.9624", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 20:39:07.9624", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:39:07.9624", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:39:07.9624", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 20:39:07.9624", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:39:07.9624", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 01-Sep-2026 02:09:07 AM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:39:08.0213", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:39:08.0213", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 20:39:08.0213", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/EW\/26\/00001" }
{ "timestamp": "2026-08-31 20:39:08.0213", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:39:08.0213", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:40:22.0739", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:40:22.0739", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441134},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Electrical Work\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"01-Sep-2026 02:10:22 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 20:40:22.0815", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 20:40:22.0815", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:40:22.1136", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:40:22.1136", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 20:40:22.1136", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 20:40:22.1136", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:40:22.1136", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 01-Sep-2026 02:10:22 AM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/EW\/26\/00001" }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 20:40:22.1701", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441134" }
{ "timestamp": "2026-08-31 20:40:22.1759", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 20:40:22.1759", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 20:40:22.1759", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 20:40:22.3533", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T20:40:22.351Z\"}" }
{ "timestamp": "2026-08-31 20:40:22.3533", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 20:40:22.3533", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 20:40:22.3533", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 20:40:22.3533", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 20:40:22.3533", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 20:40:22.3626", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:40:42.8221", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:40:42.8221", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441134},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Electrical Work\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Approved\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"01-Sep-2026 02:10:42 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"[]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 20:40:42.8221", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 20:40:42.8221", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:40:42.8418", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:40:42.8476", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 20:40:42.8476", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 20:40:42.8476", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:40:42.8476", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Quality Verified by Sacherby Markham at 01-Sep-2026 02:10:42 AM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/EW\/26\/00001" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441134" }
{ "timestamp": "2026-08-31 20:40:42.8983", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 20:40:42.9095", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 20:40:42.9095", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 20:40:43.0840", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T20:40:43.082Z\"}" }
{ "timestamp": "2026-08-31 20:40:43.0840", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 20:40:43.0840", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 20:40:43.0840", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 20:40:43.0840", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 20:40:43.0840", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER\",\"EventArgs\":[{\"Key\":\"StringUserIds\",\"Value\":\"[3978,4048,4055,4586]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,881]\"},{\"Key\":\"PtwId\",\"Value\":441134},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Electrical Work\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"01-Sep-2026 02:10:44 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER ###" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "User Ids for notification: [3978,4048,4055,4586]" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:40:44.5971", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:10:44 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:40:44.6459", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:40:44.6459", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:40:44.6459", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000010468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:10:44 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:40:44.7169", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:40:44.7169", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:40:44.7169", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000001909\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:10:44 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:40:44.7705", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:40:44.7705", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441134" }
{ "timestamp": "2026-08-31 20:40:44.7705", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"917777777771\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/EW\/26\/00001\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Electrical Work\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:10:44 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441134\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "Starting Execution for push notification for all" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/EW\/26\/00001" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Sacherby Markham, P\/MIRA\/FCP\/YI\/EW\/26\/00001, 01-Sep-2026" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Debug", "severity": "DEBUG", "message": "Sending permit to work Notification for permit id: 441134" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 20:40:44.8194", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 20:40:44.9930", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T20:40:44.992Z\"}" }
{ "timestamp": "2026-08-31 20:40:44.9930", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 20:40:44.9930", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 20:40:44.9930", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 20:40:44.9930", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 20:40:44.9930", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:43:22.2372", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:43:22.2372", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ISSUER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441135},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"CompanyId\",\"Value\":616},{\"Key\":\"StringIssuerIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00014\"},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"RequestedOnTime\",\"Value\":\"01-Sep-2026 02:13:22 AM\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"NextStatus\",\"Value\":\"Issued\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 20:43:22.2372", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###" }
{ "timestamp": "2026-08-31 20:43:22.2372", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:43:22.2372", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:43:22.2513", "level": "Debug", "severity": "DEBUG", "message": "Executing sending notification to issuers through whatsapp" }
{ "timestamp": "2026-08-31 20:43:22.2513", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to issuers of the comapny regarding permit to work 441135" }
{ "timestamp": "2026-08-31 20:43:22.2513", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00014\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Requested by Neppie Traynor at 01-Sep-2026 02:13:22 AM\"},{\"type\":\"text\",\"text\":\"Accept\"},{\"type\":\"text\",\"text\":\"Neppie Traynor\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441135\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:43:22.2981", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:43:22.2981", "level": "Debug", "severity": "DEBUG", "message": "Executing sending push notification to the issuers" }
{ "timestamp": "2026-08-31 20:43:22.2981", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00014" }
{ "timestamp": "2026-08-31 20:43:22.2981", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:43:22.2981", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:43:36.4519", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:43:36.4519", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441132},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Issued\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Neppie Traynor\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"01-Sep-2026 02:13:36 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Approved\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"null\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 20:43:36.4586", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 20:43:36.4586", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:43:36.4881", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:43:36.4881", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 20:43:36.4881", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 20:43:36.4881", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441132" }
{ "timestamp": "2026-08-31 20:43:36.4881", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Accepted by Neppie Traynor at 01-Sep-2026 02:13:36 AM\"},{\"type\":\"text\",\"text\":\"Quality Verify\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00012" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441132" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 20:43:36.5492", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 20:43:36.7304", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T20:43:36.729Z\"}" }
{ "timestamp": "2026-08-31 20:43:36.7304", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 20:43:36.7304", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 20:43:36.7304", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 20:43:36.7304", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 20:43:36.7340", "level": "Error", "severity": "ERROR", "message": "{\r\n  \"MethodName\": \"HandleMessage\",\r\n  \"Message\": \"Object reference not set to an instance of an object.\",\r\n  \"AdditionalData\": {\r\n    \"EntryPoint\": \"NotificationSender\",\r\n    \"InputData\": null\r\n  }\r\n}", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.NotificationSender\\DAL\\Events\\Notifier.cs:line 4208\r\n   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 589" }
{ "timestamp": "2026-08-31 20:43:36.7340", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:44:09.3403", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:44:09.3403", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_REVIEWER_APPROVER\",\"EventArgs\":[{\"Key\":\"PtwId\",\"Value\":441132},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"WorkPermitStatus\",\"Value\":\"Approved\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"},{\"Key\":\"StringUserIds\",\"Value\":\"[881]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,3978]\"},{\"Key\":\"StringReceieveAllPtwUserIds\",\"Value\":\"[4048,4586,4055,3978]\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"01-Sep-2026 02:14:09 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"AssignedUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"NextStatus\",\"Value\":\"Reviewed\"},{\"Key\":\"CompanyUserEmails\",\"Value\":\"[]\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"}]}" }
{ "timestamp": "2026-08-31 20:44:09.3452", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_REVIEWER_APPROVER ###" }
{ "timestamp": "2026-08-31 20:44:09.3452", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:44:09.3452", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:44:09.3692", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for users" }
{ "timestamp": "2026-08-31 20:44:09.3692", "level": "Info", "severity": "INFO", "message": "Executing sending notification to users through whatsapp" }
{ "timestamp": "2026-08-31 20:44:09.3692", "level": "Info", "severity": "INFO", "message": "Sending notification to approver of the comapny regarding permit to work 441132" }
{ "timestamp": "2026-08-31 20:44:09.3692", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000007341\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_assigned_to_generic_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Quality Verified by Sacherby Markham at 01-Sep-2026 02:14:09 AM\"},{\"type\":\"text\",\"text\":\"Approve\"},{\"type\":\"text\",\"text\":\"Sacherby Markham\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": " # Push Subject P\/MIRA\/FCP\/YI\/CS\/26\/00012" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Neppie Traynor, " }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Debug", "severity": "DEBUG", "message": "Sending notification for permit to work: 441132" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 20:44:09.4223", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 20:44:09.6030", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T20:44:09.601Z\"}" }
{ "timestamp": "2026-08-31 20:44:09.6030", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 20:44:09.6030", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 20:44:09.6030", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 20:44:09.6030", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 20:44:09.6030", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "### Start Event Execution ###" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "Message : {\"EventName\":\"NOTIFICATION_TO_ALL_EXCEPT_REVIEWER\",\"EventArgs\":[{\"Key\":\"StringUserIds\",\"Value\":\"[3978,4048,4055,4586]\"},{\"Key\":\"StringPrevStateUserIds\",\"Value\":\"[3978,881]\"},{\"Key\":\"PtwId\",\"Value\":441132},{\"Key\":\"OrganisationId\",\"Value\":232},{\"Key\":\"JobType\",\"Value\":\"Confined Space\"},{\"Key\":\"StatusChangeByUserDisplayName\",\"Value\":\"Sacherby Markham\"},{\"Key\":\"StartDate\",\"Value\":\"01-Sep-2026\"},{\"Key\":\"StatusChangedTime\",\"Value\":\"01-Sep-2026 02:14:11 AM\"},{\"Key\":\"PermitToWorkUID\",\"Value\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"Key\":\"SiteName\",\"Value\":\"Rio\"},{\"Key\":\"WorkLocation\",\"Value\":\"\"},{\"Key\":\"ModeOfNotifications\",\"Value\":\"\"},{\"Key\":\"CustomStatusNames\",\"Value\":\"[{\\\"StatusId\\\":1,\\\"PresentTenseName\\\":\\\"Quality Verify\\\",\\\"PastTenseName\\\":\\\"Quality Verified\\\"},{\\\"StatusId\\\":2,\\\"PresentTenseName\\\":\\\"Accept\\\",\\\"PastTenseName\\\":\\\"Accepted\\\"},{\\\"StatusId\\\":3,\\\"PresentTenseName\\\":\\\"Request\\\",\\\"PastTenseName\\\":\\\"Requested\\\"},{\\\"StatusId\\\":4,\\\"PresentTenseName\\\":\\\"Approve\\\",\\\"PastTenseName\\\":\\\"Approved\\\"},{\\\"StatusId\\\":5,\\\"PresentTenseName\\\":\\\"Reject\\\",\\\"PastTenseName\\\":\\\"Rejected\\\"},{\\\"StatusId\\\":6,\\\"PresentTenseName\\\":\\\"Close\\\",\\\"PastTenseName\\\":\\\"Closed\\\"},{\\\"StatusId\\\":7,\\\"PresentTenseName\\\":\\\"Cancel\\\",\\\"PastTenseName\\\":\\\"Cancelled\\\"},{\\\"StatusId\\\":8,\\\"PresentTenseName\\\":\\\"Re-Approve\\\",\\\"PastTenseName\\\":\\\"Re-Approved\\\"},{\\\"StatusId\\\":9,\\\"PresentTenseName\\\":\\\"Extension Request\\\",\\\"PastTenseName\\\":\\\"Extension Requested\\\"},{\\\"StatusId\\\":10,\\\"PresentTenseName\\\":\\\"Extension Accept\\\",\\\"PastTenseName\\\":\\\"Extension Accepted\\\"},{\\\"StatusId\\\":11,\\\"PresentTenseName\\\":\\\"Extension Approve\\\",\\\"PastTenseName\\\":\\\"Extension Approved\\\"},{\\\"StatusId\\\":12,\\\"PresentTenseName\\\":\\\"Extension Quality Verify\\\",\\\"PastTenseName\\\":\\\"Extension Quality Verified\\\"},{\\\"StatusId\\\":13,\\\"PresentTenseName\\\":\\\"Extension Reject\\\",\\\"PastTenseName\\\":\\\"Extension Rejected\\\"},{\\\"StatusId\\\":14,\\\"PresentTenseName\\\":\\\"Validation Request\\\",\\\"PastTenseName\\\":\\\"Validation Requested\\\"},{\\\"StatusId\\\":15,\\\"PresentTenseName\\\":\\\"Validation Reject\\\",\\\"PastTenseName\\\":\\\"Validation Rejected\\\"},{\\\"StatusId\\\":16,\\\"PresentTenseName\\\":\\\"Temporarily Suspend\\\",\\\"PastTenseName\\\":\\\"Temporarily Suspended\\\"},{\\\"StatusId\\\":17,\\\"PresentTenseName\\\":\\\"Validation Accept\\\",\\\"PastTenseName\\\":\\\"Validation Accepted\\\"},{\\\"StatusId\\\":18,\\\"PresentTenseName\\\":\\\"Validation Quality Verify\\\",\\\"PastTenseName\\\":\\\"Validation Quality Verified\\\"},{\\\"StatusId\\\":19,\\\"PresentTenseName\\\":\\\"Pending Closure\\\",\\\"PastTenseName\\\":\\\"Pending Closure\\\"},{\\\"StatusId\\\":20,\\\"PresentTenseName\\\":\\\"Start Work\\\",\\\"PastTenseName\\\":\\\"Start Work\\\"},{\\\"StatusId\\\":21,\\\"PresentTenseName\\\":\\\"Request Again\\\",\\\"PastTenseName\\\":\\\"Request Again\\\"},{\\\"StatusId\\\":22,\\\"PresentTenseName\\\":\\\"Abandon\\\",\\\"PastTenseName\\\":\\\"Abandoned\\\"}]\"}]}" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "### Started process for Execution of Event : NOTIFICATION_TO_ALL_EXCEPT_REVIEWER ###" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "User Ids for notification: [3978,4048,4055,4586]" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Info", "severity": "INFO", "message": "Starting Execution for whatsapp notification for all" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441132" }
{ "timestamp": "2026-08-31 20:44:11.0811", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"919999999999\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:14:11 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:44:11.1376", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:44:11.1376", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441132" }
{ "timestamp": "2026-08-31 20:44:11.1376", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000010468\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:14:11 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:44:11.1805", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:44:11.1805", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441132" }
{ "timestamp": "2026-08-31 20:44:11.1805", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"912000001909\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:14:11 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:44:11.2303", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:44:11.2303", "level": "Debug", "severity": "DEBUG", "message": "Sending notification to requester regarding permit to work 441132" }
{ "timestamp": "2026-08-31 20:44:11.2467", "level": "Warn", "severity": "WARN", "message": "Osmo-x WhatsApp payload: {\"providerId\":48,\"data\":{\"to\":\"917777777771\",\"messaging_product\":\"whatsapp\",\"type\":\"template\",\"template\":{\"namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"name\":\"ptw_generic_status_template_v4\",\"language\":{\"policy\":\"deterministic\",\"code\":\"en\"},\"components\":[{\"type\":\"body\",\"sub_type\":null,\"index\":0,\"parameters\":[{\"type\":\"text\",\"text\":\"P\/MIRA\/FCP\/YI\/CS\/26\/00012\"},{\"type\":\"text\",\"text\":\"01-Sep-2026\"},{\"type\":\"text\",\"text\":\"Confined Space\"},{\"type\":\"text\",\"text\":\"Rio\"},{\"type\":\"text\",\"text\":\" \"},{\"type\":\"text\",\"text\":\"Approved by Sacherby Markham at 01-Sep-2026 02:14:11 AM\"},{\"type\":\"text\",\"text\":\"Start Work\"},{\"type\":\"text\",\"text\":\"https:\/\/sandbox.oqsha.com\/#\/wp\/view\/232\/441132\"}]}]}}}" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Debug", "severity": "DEBUG", "message": "Osmo-x WhatsApp Message has been Sent" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": "Starting Execution for push notification for all" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": "# Preparing notification body #" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": " # Push Subject for Issuer P\/MIRA\/FCP\/YI\/CS\/26\/00012" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": " # string body 01-Sep-2026, Sacherby Markham, P\/MIRA\/FCP\/YI\/CS\/26\/00012, 01-Sep-2026" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": "# Checking for device existence #" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": "# User device exists #" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Debug", "severity": "DEBUG", "message": "Sending permit to work Notification for permit id: 441132" }
{ "timestamp": "2026-08-31 20:44:11.2942", "level": "Info", "severity": "INFO", "message": "Inside SendAppNotification Device Type: GCM" }
{ "timestamp": "2026-08-31 20:44:11.2972", "level": "Info", "severity": "INFO", "message": "Generating AWS SNS Request" }
{ "timestamp": "2026-08-31 20:44:11.2972", "level": "Info", "severity": "INFO", "message": "Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint\/GCM\/Oqsha-Android-Production\/e793f253-b906-3344-ba6a-4566ef41b064" }
{ "timestamp": "2026-08-31 20:44:11.4665", "level": "Info", "severity": "INFO", "message": "{\"type\":\"http:\/\/notify.osmosys.co\/problems\/auth-unauthorized\",\"title\":\"Unauthorized\",\"status\":401,\"detail\":\"Invalid API key\",\"instance\":\"\/notifications\",\"error_code\":\"AUTH_UNAUTHORIZED\",\"timestamp\":\"2026-08-31T20:44:11.467Z\"}" }
{ "timestamp": "2026-08-31 20:44:11.4665", "level": "Info", "severity": "INFO", "message": "--- AWS SNS Push Notification created using Osmo-x ---" }
{ "timestamp": "2026-08-31 20:44:11.4665", "level": "Info", "severity": "INFO", "message": "--- Push notification response from Osmo-x is Unauthorized" }
{ "timestamp": "2026-08-31 20:44:11.4665", "level": "Info", "severity": "INFO", "message": "Push notification failed to send to a device 26471." }
{ "timestamp": "2026-08-31 20:44:11.4665", "level": "Info", "severity": "INFO", "message": "# Push notification did not send #" }
{ "timestamp": "2026-08-31 20:44:11.4665", "level": "Info", "severity": "INFO", "message": "### End Event Execution ###" }
