*--- 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/PSR/26/00002


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


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


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 #


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 26918.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


### End Event Execution ###


### Start Event Execution ###


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


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


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


## Sending notification to Site EHS user ##


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


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


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[267]"},{"Key":"AuditId","Value":"381"},{"Key":"OrgId","Value":"248"}]}


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


### Started processing for Audit Creation Event ###


Using default template for Org 248: Templates\AuditCreationEmailTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


An Audit has been created


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


--- Email response from Osmo-x is 201


RequestBody: {  "providerId": 48,  "data": {    "to": "912000001875",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/FBY/ROO/TTA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"fjkf","image":null,"document":null,"video":null},{"type":"text","text":"03-Sep-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/audit/edit-audit/248/381","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


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 Audit Notification for Audit Id:381


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 Audit Notification for Audit Id:381


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 #


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 26918.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


### Ended processing Investigation Creator Status Update Event ###


### End Event Execution ###


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


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


### 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: 17658, 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/PSR/26/00004


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


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


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 #


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 26918.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


### End Event Execution ###


### Start Event Execution ###


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


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


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


## Sending notification to Site EHS user ##


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


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


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[65816]"},{"Key":"BatchId","Value":3239}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"QUIZ TETING"},{"type":"text","text":"test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 02, 2026  05:26:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/317/3239?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":79433},{"Key":"InformToUserId","Value":5827}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 79433


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Merwin Barnette##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBY/NMM/26/00001 has been created

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


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


--- Email response from Osmo-x is 201


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


Sending Inform-To Push Notification for IncidentId: 79433


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.


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.


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


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendBulkExportReadyEmail for exportId=21 userId=267 #


[BulkExport] Fetching user details for userId=267


[BulkExport] Sending email to=TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA bulk export is ready


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


--- Email response from Osmo-x is 201


[BulkExport] Email sent successfully to=TTK_Admin@oqsha.com


### 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 443140


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"2000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ABVX/BL/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 02-Sep-2026 05:47:59 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443140"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/ABVX/BL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443140


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/de4d85be-a3fe-3a30-9305-ef877b8494cf


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/6231d64d-57cd-3a62-b990-ae01c9bf5014


Push notification failed to send to a device 26335.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Elizabet Patty"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Heartbeam Inc."},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Environmental, Fire, First Aid, Hazard, Incident, Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Robertsdale"},{"Key":"Email","Value":"test@oqsha.co"},{"Key":"MobileNumber","Value":"+912000003468"},{"Key":"WhatsAppNumber","Value":"+912000003468"}]}


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


### Started Event for Add App User Email ###


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +912000003468


Osmo-x WhatsApp Message has been Sent


### 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 443141


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 02-Sep-2026 05:51:03 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/AFCG/BL/DW/26/00001


# Preparing notification body #


### 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


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


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


# 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 #


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 26918.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Unauthorized


Push notification failed to send to a device 26922.


### 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: [1778,2552,4258]


# 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 443141


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 02-Sep-2026 05:52:02 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","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/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 02-Sep-2026 05:52:02 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","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/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 02-Sep-2026 05:52:02 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/BEAT/COM/AFCG/BL/DW/26/00001


# string body 02-Sep-2026, Elizabet Patty, P/BEAT/COM/AFCG/BL/DW/26/00001, 02-Sep-2026


# Checking for device existence #


# User device exists #


Sending permit to work Notification for permit id: 443141


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/40c4f354-e528-3a07-b564-bd95b07547c9


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


# Push notification did not send #


### 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


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 #


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.


Inside SendAppNotification Device Type: GCM


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


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


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.


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


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


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


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


Push notification failed to send to a device 26919.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Unauthorized


Push notification failed to send to a device 26922.


# Push notification did not send #


### 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: 17662, 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/00010


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


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


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":79434},{"Key":"InformToUserId","Value":5827}]}


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


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


Calling SendInformToNotification function for ticket creation


Push notification failed to send to a device 26829.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


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


Sending Inform-To WhatsApp for IncidentId: 79434


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Unauthorized


Push notification failed to send to a device 26878.


# Push notification did not send #


Sending Task Assignment Notification for Task Id:17662


Inside SendAppNotification Device Type: APNS


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


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


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


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


Push notification failed to send to a device 26881.


# 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-Test/a9ac83cb-121b-3523-8865-022d82ce5cc1


Push notification failed to send to a device 26918.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Unauthorized


Push notification failed to send to a device 26919.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Push notification failed to send to a device 26922.


### End Event Execution ###


Converted to byte file


## Safety Alert Email Sent to Merwin Barnette##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBY/HSS/26/00002 has been created


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


--- Email response from Osmo-x is 201


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


Sending Inform-To Push Notification for IncidentId: 79434


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.


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.


Inside SendAppNotification Device Type: GCM


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.


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


### 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: 17662, 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:17662


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 #


Inside SendAppNotification Device Type: GCM


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 #


Sending Task Assignment Notification for Task Id:17662


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


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


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


Push notification failed to send to a device 26881.


Inside SendAppNotification Device Type: GCM


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


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Unauthorized


Push notification failed to send to a device 26922.


# Push notification did not send #


### 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: 11697


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### 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 443141


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Randal Jessup for 2 hour(s) at 02-Sep-2026 05:55:49 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Executing sending push notification to the issuers for extended PTW


# Push Subject for Issuer P/BEAT/COM/AFCG/BL/DW/26/00001


# string body Randal Jessup, 2 hour(s), P/BEAT/COM/AFCG/BL/DW/26/00001


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 267


Sending Task Assignment Email for TaskId: 17662, 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 #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17662


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


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 #


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 26918.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Unauthorized


Push notification failed to send to a device 26922.


### 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: 11697


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


# 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 443141


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 2 hour(s) at 02-Sep-2026 05:56:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","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/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 2 hour(s) at 02-Sep-2026 05:56:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","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/BEAT/COM/AFCG/BL/DW/26/00001"},{"type":"text","text":"02-Sep-2026"},{"type":"text","text":"Blasting Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 2 hour(s) at 02-Sep-2026 05:56:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/443141"}]}]}}}


# Push Subject for Issuer P/BEAT/COM/AFCG/BL/DW/26/00001


# string body Elizabet Patty, 2 hour(s), P/BEAT/COM/AFCG/BL/DW/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443141


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/40c4f354-e528-3a07-b564-bd95b07547c9


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


# Push notification did not send #


### 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: 17662, 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:17662


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 #


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.


Inside SendAppNotification Device Type: GCM


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


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


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


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.


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


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


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


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


Push notification failed to send to a device 26919.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Unauthorized


Push notification failed to send to a device 26922.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[65817]"},{"Key":"BatchId","Value":3240}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"test456"},{"type":"text","text":"Bug Test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 02, 2026  06:00:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/318/3240?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### 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


Sending Task Assignment Email for TaskId: 17662, 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:17662


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


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 #


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 26918.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ba7c2dda-9b63-30cf-90de-7eabb462fd85


Push notification failed to send to a device 26919.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/15b4a67e-af4b-32ec-80b3-853bb25ee3ec


Unauthorized


Push notification failed to send to a device 26922.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":79435},{"Key":"InformToUserId","Value":881}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 79435


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sacherby Markham##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/NMM/26/00002 has been created


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


--- Email response from Osmo-x is 201


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


Sending Inform-To Push Notification for IncidentId: 79435


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.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":79435},{"Key":"InformToUserId","Value":11167}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 79435


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Judge Tenorio##


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


*--- 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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":79435},{"Key":"InformToUserId","Value":11139}]}


## Safety Alert Email Sent to Oskar Roden##


Sending Inform-To Push Notification for IncidentId: 79435


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.


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79435},{"Key":"AssignedToID","Value":11137}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


## Sending email to Gill Tanksley, UserId : 11137 for assigned to notification ##


Sending Assigned To Email for IncidentId:79435


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/NMM/26/00002 is assigned to you related to 'Near Miss'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:79435


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Assigned to Notification 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 443142


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/AVA/WW/BL/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443142


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1b62c53f-e246-3c60-8d6f-e716fdbd856c


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9d55e840-936e-30c8-ac2b-6ca5322a697b


Push notification failed to send to a device 24329.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f9bb4f32-399d-31cd-aa20-a1d35178c399


Push notification failed to send to a device 24569.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/aa05650a-2539-3188-919e-2c8fc9efca57


Push notification failed to send to a device 24597.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/94dc9216-61ff-3a62-9e9d-c066766fc94f


Push notification failed to send to a device 24939.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/802b6889-51a8-3c22-a2a1-0505ea01a1d6


Unauthorized


Push notification failed to send to a device 25184.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cba41259-6e3b-3a7a-b95f-d0569c34d7cb


Push notification failed to send to a device 25353.


# Push notification did not send #


Sending notification for permit to work: 443142


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/fdc6f2e6-e40f-3adf-bac6-afc0afdeeffc


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


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


Push notification failed to send to a device 25557.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/90f17aa7-c941-3f52-b091-a897937bc554


Push notification failed to send to a device 25561.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/86499b8d-c048-310f-8e83-75fe7280433b


Unauthorized


Push notification failed to send to a device 25607.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/205ea0ba-2fa2-31b6-a24c-dce6d14076b1


Push notification failed to send to a device 25609.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/92fe66a4-04f1-35b1-8216-e9d78e6337e1


Push notification failed to send to a device 25707.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/099319c4-9618-3950-a7a7-551b3c467b98


Push notification failed to send to a device 25918.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1bbb1d7c-6875-3ec7-ba50-3f3b44a0ed2c


Push notification failed to send to a device 25954.


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443142


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d64289f4-21be-3c1a-8194-51df99ca9030


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/94162899-19ea-3792-867c-382d87c842d4


Push notification failed to send to a device 26007.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/621a8e45-ae83-3f15-b388-009cfa8ded38


Push notification failed to send to a device 26008.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0695362a-0371-3aa6-8ad4-bf0a26d80277


Push notification failed to send to a device 26182.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2d52de55-0e2d-3e2c-b432-d0920317edb4


Push notification failed to send to a device 26267.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/27512a01-1372-33f1-b1f6-bf277326eb65


Unauthorized


Push notification failed to send to a device 26343.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ea914c45-1dd3-3195-bb69-fdd96bd61ef9


Push notification failed to send to a device 26363.


# Push notification did not send #


Sending notification for permit to work: 443142


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1da744a8-2faa-32ac-8305-d9254d5cb564


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


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


Push notification failed to send to a device 26368.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0fa86375-5bfb-31c1-a40c-2fea04adc241


Push notification failed to send to a device 26414.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/57d6f433-84b8-31d7-9c77-d9bb77cac52a


Unauthorized


Push notification failed to send to a device 26841.


### 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 443142


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/GLTO/AVA/WW/BL/26/00001


# string body 03-Sep-2026, ,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 443142


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/57cf742c-e885-305a-ae0f-fe5747396692


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


# Push notification did not send #


### 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: [23411]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 443142


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/GLTO/AVA/WW/BL/26/00001


# string body 03-Sep-2026, Alejandro Lim, P/GLTO/AVA/WW/BL/26/00001, 03-Sep-2026


# Checking for device existence #


# User device exists #


Sending permit to work Notification for permit id: 443142


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1b62c53f-e246-3c60-8d6f-e716fdbd856c


Unauthorized


Push notification failed to send to a device 24291.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9d55e840-936e-30c8-ac2b-6ca5322a697b


Push notification failed to send to a device 24329.


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f9bb4f32-399d-31cd-aa20-a1d35178c399


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


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


Push notification failed to send to a device 24569.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/aa05650a-2539-3188-919e-2c8fc9efca57


Push notification failed to send to a device 24597.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/94dc9216-61ff-3a62-9e9d-c066766fc94f


Push notification failed to send to a device 24939.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/802b6889-51a8-3c22-a2a1-0505ea01a1d6


Unauthorized


Push notification failed to send to a device 25184.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cba41259-6e3b-3a7a-b95f-d0569c34d7cb


Push notification failed to send to a device 25353.


Sending permit to work Notification for permit id: 443142


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/fdc6f2e6-e40f-3adf-bac6-afc0afdeeffc


Push notification failed to send to a device 25557.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/90f17aa7-c941-3f52-b091-a897937bc554


Push notification failed to send to a device 25561.


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/86499b8d-c048-310f-8e83-75fe7280433b


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


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


Push notification failed to send to a device 25607.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/205ea0ba-2fa2-31b6-a24c-dce6d14076b1


Unauthorized


Push notification failed to send to a device 25609.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/92fe66a4-04f1-35b1-8216-e9d78e6337e1


Push notification failed to send to a device 25707.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/099319c4-9618-3950-a7a7-551b3c467b98


Push notification failed to send to a device 25918.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1bbb1d7c-6875-3ec7-ba50-3f3b44a0ed2c


Push notification failed to send to a device 25954.


Sending permit to work Notification for permit id: 443142


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d64289f4-21be-3c1a-8194-51df99ca9030


Push notification failed to send to a device 25962.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/94162899-19ea-3792-867c-382d87c842d4


Push notification failed to send to a device 26007.


# 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/621a8e45-ae83-3f15-b388-009cfa8ded38


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0695362a-0371-3aa6-8ad4-bf0a26d80277


Push notification failed to send to a device 26182.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2d52de55-0e2d-3e2c-b432-d0920317edb4


Push notification failed to send to a device 26267.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/27512a01-1372-33f1-b1f6-bf277326eb65


Push notification failed to send to a device 26343.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ea914c45-1dd3-3195-bb69-fdd96bd61ef9


Push notification failed to send to a device 26363.


# Checking for device existence #


# User device exists #


Sending permit to work Notification for permit id: 443142


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1da744a8-2faa-32ac-8305-d9254d5cb564


Unauthorized


Push notification failed to send to a device 26368.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0fa86375-5bfb-31c1-a40c-2fea04adc241


Push notification failed to send to a device 26414.


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/57d6f433-84b8-31d7-9c77-d9bb77cac52a


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


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


Push notification failed to send to a device 26841.


### 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: 20378


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 Task Assignment Notification for Task Id:17668


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2ba996b9-4a38-3056-8b71-38687031856b


Unauthorized


Push notification failed to send to a device 26252.


# Push notification did not send #


Sending WhatsApp notification for task assignment to user ID: 4395


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":17670},{"Key":"OrgId","Value":211}]}


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


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


## Sending notification to Site EHS user ##


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79436},{"Key":"AssignedToID","Value":11697}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:79436


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Assigned to Notification 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:79436


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket KY6D0P has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000713","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Renard Whatley"},{"type":"text","text":"Ticket"},{"type":"text","text":"KY6D0P"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":"fbdv"},{"type":"text","text":"Alanreed"},{"type":"text","text":"Near miss"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/211/79436"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79436


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/b3e70b5c-430b-3b73-9725-af152d0f6d36


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/06c1c641-add1-3c27-a54e-ad4d0ae84d34


Push notification failed to send to a device 26888.


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/db4ae0e6-b052-33c3-ac0c-ad3cb0a23463


Push notification failed to send to a device 26891.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/57104947-df79-3c70-b669-3a26660e27bd


Push notification failed to send to a device 26892.


Sending Assigned To Whatsapp for IncidentId:79436


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557635","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":"Abi Cope"},{"type":"text","text":"Ticket"},{"type":"text","text":"KY6D0P"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":"fbdv"},{"type":"text","text":"Alanreed"},{"type":"text","text":"Near miss"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/211/79436"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/85a73c97-24b5-3eaf-baf8-649ef943a516


Unauthorized


Push notification failed to send to a device 26940.


# Push notification did not send #


### 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:79436


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket KY6D0P has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000713","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Renard Whatley"},{"type":"text","text":"Ticket"},{"type":"text","text":"KY6D0P"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closed"},{"type":"text","text":"Ticket"},{"type":"text","text":"fbdv"},{"type":"text","text":"Alanreed"},{"type":"text","text":"Near miss"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/211/79436"},{"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:79436


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/b3e70b5c-430b-3b73-9725-af152d0f6d36


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/06c1c641-add1-3c27-a54e-ad4d0ae84d34


Push notification failed to send to a device 26888.


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/db4ae0e6-b052-33c3-ac0c-ad3cb0a23463


Push notification failed to send to a device 26891.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/57104947-df79-3c70-b669-3a26660e27bd


Push notification failed to send to a device 26892.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/85a73c97-24b5-3eaf-baf8-649ef943a516


Push notification failed to send to a device 26929.


Sending Assigned To Whatsapp for IncidentId:79436


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557635","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":"Abi Cope"},{"type":"text","text":"Ticket"},{"type":"text","text":"KY6D0P"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closed"},{"type":"text","text":"Ticket"},{"type":"text","text":"fbdv"},{"type":"text","text":"Alanreed"},{"type":"text","text":"Near miss"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/211/79436"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[65818]"},{"Key":"BatchId","Value":3241}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"test1"},{"type":"text","text":"Bug Test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 02, 2026  11:00:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/318/3241?dlType=viewBatch"}]}]}}}


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


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