Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Unauthorized


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


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


Push notification failed to send to a device 26828.


# Push notification did not send #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17639


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Push notification failed to send to a device 26880.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Unauthorized


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 17639, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBY/ROO/3PR/26/00008


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17639


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


Sending Task Assignment Notification for Task Id:17639


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident FIR Released Event ###


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\IncidentFIRReleasedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/KURA/FD2/FFF/26/00001 FIR has been released, form a team to investigate

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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 11139


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Incident FIR Released Notification for Incident Id:1344


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0675b795-f420-3121-9417-0cea2cac8f5e


Unauthorized


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


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


Push notification failed to send to a device 17138.


# Push notification did not send #


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident FIR Released Event - External User ###


Incident PDF generation successfull


Initializing Email Service Client


Generating Email Request


osm07584@osmosys.co, osm02627@osmosys.co, osm07161@osmosys.co, osm06235@osmosys.co, osm00132@osmosys.co, osm06994@osmosys.co, osm04314@osmosys.co, osm01518@osmosys.co, osm06269@osmosys.co, osm03618@osmosys.co

Incident IMF/KURA/FD2/FFF/26/00001 FIR has been released


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


--- Email response from Osmo-x is 201


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 17639, UserId: 267


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


Reading and binding data to Email Template


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17639


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


Push notification failed to send to a device 26737.


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


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


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


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Sending Task Assignment Notification for Task Id:17639


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 17639, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Sending Task Assignment Notification for Task Id:17639


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 17639, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17639


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


Sending Task Assignment Notification for Task Id:17639


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:79419


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBY/HSS/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:79419


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBY/HSS/26/00001"},{"type":"text","text":"Comments are added as adding a new image"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79419"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79419


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


Sending Assigned To Notification for IncidentId:79419


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Push notification did not send #


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


Push notification failed to send to a device 26737.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Unauthorized


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Sending Assigned To Notification for IncidentId:79419


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Push notification failed to send to a device 26880.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Unauthorized


Push notification failed to send to a device 26881.


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:79419


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:79419


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBY/HSS/26/00001"},{"type":"text","text":"Comments are added as adding a new image again"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79419"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Sending Assigned To Notification for IncidentId:79419


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


Push notification failed to send to a device 26737.


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79419


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Unauthorized


Push notification failed to send to a device 26738.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Push notification failed to send to a device 26880.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 02-Sep-2026 03:49:06 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/AREC/CW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a9ac83cb-121b-3523-8865-022d82ce5cc1


Unauthorized


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


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


Push notification failed to send to a device 26902.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Push notification failed to send to a device 25502.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


Push notification failed to send to a device 24207.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d9f0e4de-edd4-3ae3-a004-96236cf7772f


Push notification failed to send to a device 26725.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Maxim Noyes at 02-Sep-2026 03:50:07 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/AREC/CW/26/00001


# string body 02-Sep-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Unauthorized


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


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


Push notification failed to send to a device 25502.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a9ac83cb-121b-3523-8865-022d82ce5cc1


Push notification failed to send to a device 26906.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


Push notification failed to send to a device 24207.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d9f0e4de-edd4-3ae3-a004-96236cf7772f


Push notification failed to send to a device 26725.


System.NullReferenceException: Object reference not set to an instance of an object.
   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
   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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 443138


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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Maxim Noyes at 02-Sep-2026 03:50:28 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/AREC/CW/26/00001


# string body 02-Sep-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


Unauthorized


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


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


Push notification failed to send to a device 26471.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Push notification failed to send to a device 25502.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a9ac83cb-121b-3523-8865-022d82ce5cc1


Push notification failed to send to a device 26906.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


Push notification failed to send to a device 24207.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d9f0e4de-edd4-3ae3-a004-96236cf7772f


Push notification failed to send to a device 26725.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1855,1861,4243,4244,4459,4504,4516,4518,4583,4594,4690,4691,4806,5106,5111]


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555559247","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Sacherby Markham at 02-Sep-2026 03:51:29 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/AREC/CW/26/00001


# string body 02-Sep-2026, Sacherby Markham, P/HUBG/TFX/AREC/CW/26/00001, 02-Sep-2026


# Checking for device existence #


# User device exists #


Sending permit to work Notification for permit id: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Unauthorized


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


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


Push notification failed to send to a device 25502.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


Push notification failed to send to a device 24207.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d9f0e4de-edd4-3ae3-a004-96236cf7772f


Push notification failed to send to a device 26725.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers for extended PTW through whatsapp


Sending notification to issuers of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008172","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/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Ana Eaton for 9 hour(s) at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Anjali Mckinzie"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/AREC/CW/26/00001


# string body Ana Eaton, 9 hour(s), P/HUBG/TFX/AREC/CW/26/00001


# Checking for device existence #


# User device exists #


Sending notification for extended permit to work: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/125bf469-5404-3c6a-91d4-d3a5ba3d952f


Unauthorized


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


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


Push notification failed to send to a device 6860.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555559247","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"required ."},{"type":"text","text":"Ana Eaton at 02-Sep-2026 03:53:46 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllForExtennsionRejectedStatus function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification for extension rejection status through whatsapp


Sending notification for extension rejection status regarding permit to work with Id: 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Anjali Mckinzie for 0 hour(s) at 02-Sep-2026 03:55:18 PM. Reason- Rejected"},{"type":"text","text":"Request again"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for extension rejection status


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/AREC/CW/26/00001


# string body Anjali Mckinzie,P/HUBG/TFX/AREC/CW/26/00001, Rejected


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


Sending notification to issuers of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Ana Eaton for 10 hour(s) at 02-Sep-2026 03:56:47 PM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Executing sending push notification to the issuers for extended PTW


# string body Ana Eaton, 10 hour(s), P/HUBG/TFX/AREC/CW/26/00001


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"4038"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:4038


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


Sending Assigned To Notification for Work Permit Id:4038


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Push notification did not send #


# Fetching devices bypassing preferences (Single System Fallback) #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


Push notification failed to send to a device 26737.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Unauthorized


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Sending Assigned To Notification for Work Permit Id:4038


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Push notification failed to send to a device 26880.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Fetching devices bypassing preferences (Single System Fallback) #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


Sending Assigned To Notification for Work Permit Id:4038


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"4038"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


# Preparing notification body #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Hebert Eaton"},{"Key":"WorkPermitId","Value":"4038"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"02-Sep-2026 03:57:28 PM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Hebert Eaton has Approved your Work Permit


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp Message has been Sent


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Approved Notification for Work Permit Id:4038


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


Sending Approved Notification for Work Permit Id:4038


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"4038"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"02-Sep-2026 03:57:28 PM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"4039"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/CSE/26/00003"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:4039


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


Sending Assigned To Notification for Work Permit Id:4039


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Push notification did not send #


# Fetching devices bypassing preferences (Single System Fallback) #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


Push notification failed to send to a device 26737.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Unauthorized


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Sending Assigned To Notification for Work Permit Id:4039


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Push notification failed to send to a device 26880.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Fetching devices bypassing preferences (Single System Fallback) #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


Sending Assigned To Notification for Work Permit Id:4039


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"4039"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/CSE/26/00003"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Maxim Noyes for 10 hour(s) at 02-Sep-2026 03:59:19 PM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject for Issuer P/HUBG/TFX/AREC/CW/26/00001


# string body Ana Eaton, 10 hour(s), P/HUBG/TFX/AREC/CW/26/00001,,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a9ac83cb-121b-3523-8865-022d82ce5cc1


Unauthorized


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


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


Push notification failed to send to a device 26906.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Hebert Eaton"},{"Key":"WorkPermitId","Value":"4039"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/CSE/26/00003"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"02-Sep-2026 03:59:36 PM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Approved Notification for Work Permit Id:4039


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


Push notification failed to send to a device 26737.


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


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


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


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Sending Approved Notification for Work Permit Id:4039


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Work Permit is awaiting your Approval


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


Sending WhatsApp for WorkPermit to user: 5827


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Approval Invitation Notification for Work Permit Id:4039


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/27140765-fe94-364d-b7c5-e9fca8aada8b


Unauthorized


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


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


Push notification failed to send to a device 25135.


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/11142717-d489-357b-a9eb-58b683a2d855


Push notification failed to send to a device 26874.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/dc61a4c8-1124-30ae-a82b-4abf50439439


Push notification failed to send to a device 26875.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/49e39525-937f-398d-ae0a-c5dce0e7d353


Push notification failed to send to a device 26876.


# Checking for device existence #


# User device exists #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 443138


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/AREC/CW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Maxim Noyes for 10 hour(s) at 02-Sep-2026 03:59:40 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/443138"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/AREC/CW/26/00001


# string body Ana Eaton, 10 hour(s), P/HUBG/TFX/AREC/CW/26/00001,Maxim Noyes,


Sending notification for permit to work: 443138


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a9ac83cb-121b-3523-8865-022d82ce5cc1


Unauthorized


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


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


Push notification failed to send to a device 26906.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"4040"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00002"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:4040


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


Push notification failed to send to a device 26737.


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


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


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


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Sending Assigned To Notification for Work Permit Id:4040


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Fetching devices bypassing preferences (Single System Fallback) #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


Push notification failed to send to a device 26737.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Unauthorized


Push notification failed to send to a device 26828.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Sending Assigned To Notification for Work Permit Id:4040


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Push notification failed to send to a device 26880.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


# Fetching devices bypassing preferences (Single System Fallback) #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification failed to send to a device 26828.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification failed to send to a device 26829.


Sending Assigned To Notification for Work Permit Id:4040


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/05be8d3d-0a1d-3f06-ad5c-af0c03a30e4a


Push notification failed to send to a device 26878.


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/93820ac9-c2b9-31a9-a89f-c90410553bcf


Unauthorized


Push notification failed to send to a device 26880.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


Push notification failed to send to a device 26881.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"4040"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00002"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


# Preparing notification body #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Hebert Eaton"},{"Key":"WorkPermitId","Value":"4040"},{"Key":"WorkPermitUid","Value":"WP/FBY/ROO/EWW/26/00002"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"02-Sep-2026 04:02:22 PM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp Message has been Sent


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Approved Notification for Work Permit Id:4040


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


Unauthorized


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


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


Push notification failed to send to a device 26737.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification failed to send to a device 26738.