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


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


### Start Event Execution ###


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


### Started processing for Incident Submitted Event ###


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\IncidentSubmittedNotificationEmailTemplate.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


A new incident IMF/KURA/FD2/FAI/26/00001 has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Validated Event ###


Incident IMF/KURA/FD2/FAI/26/00001 has been validated


Sending WhatsApp for Incident Validation to User: 267


### Ended processing Incident Validated Event ###


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


Initializing Email Service Client


Generating Email Request


Incident IMF/KURA/FD2/FAI/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


Sending WhatsApp for Incident Approval to User: 11139


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Incident FIR Released Notification for Incident Id:1299


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 #


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


Executing email notifications to Incident Approvers about the Pending approval


Incident PDF generation successfull


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


Reading and binding data to Email Template


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, TTK_Admin@oqsha.com

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


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


--- Email response from Osmo-x is 201


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


### Started processing for Incident Investigation In Progress Event ###


Incident IMF/KURA/FD2/FAI/26/00001 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 10313


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Submitted Event ###


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


Executing email notifications to Investigation Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


You have been assigned to review the investigation report IMF/KURA/FD2/FAI/26/00001


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Submitted Event ###


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


### Started processing for Investigation Validated Event ###


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


Reading and binding data to Email Template


Validate the investigation report for the Incident IMF/KURA/FD2/FAI/26/00001


Sending WhatsApp for Incident Approval to User: 267


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


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


Initializing Email Service Client


Generating Email Request


The Final Report of Investigation has been released on this Incident IMF/KURA/FD2/FAI/26/00001


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


--- Email response from Osmo-x is 201


### Ended processing Investigation Final Report Released - External User ###


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


### Started processing for Incident Submitted Event ###


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


Executing email notifications to Incident Approvers about the Pending approval


A new incident IMF/KURA/BHA/BII/26/00001 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Validated Event ###


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/KURA/BHA/BII/26/00001 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 267


### Ended processing Incident Validated Event ###


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


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


Sending WhatsApp for Incident Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Executing email notifications to Incident Approvers about the Pending approval


Incident PDF generation successfull


Initializing Email Service Client


Generating Email Request


Incident IMF/KURA/BHA/BII/26/00001 FIR has been released


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


--- Email response from Osmo-x is 201


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


### Started processing for Incident Investigation In Progress Event ###


Incident IMF/KURA/BHA/BII/26/00001 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 10313


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Investigation In Progress 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_ALL_EXCEPT_REQUESTER ###


# Calling SendNotificationOfValidationRequestedToAllExceptRequester 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 412254


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003364","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:02:56 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004855","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:02:56 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006515","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:02:56 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006605","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:02:56 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification for validation request of PTW


# Push Subject for Issuer C854SL


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 412254


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8a3bab1c-4c0d-3790-8294-9196249eb32e


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9aea14d4-a76d-3121-86e9-73b44ac815ca


Push notification failed to send to a device 23837.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationOfValidationRequestedToAllExceptRequester 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 412254


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003364","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:03:05 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004855","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:03:05 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006515","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:03:05 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006605","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":"C854SL"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Lifting Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Validation Requested by Mistie Stolz at 24-Jul-2026 03:03:05 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Bibilly Hrabia"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/412254?orgID=211&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification for validation request of PTW


# Push Subject for Issuer C854SL


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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 414706


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005059","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":"JVBRPW"},{"type":"text","text":"24-Jul-2026"},{"type":"text","text":"Night Work"},{"type":"text","text":"Cowgill"},{"type":"text","text":"Tower 8"},{"type":"text","text":"Issued by Bibilly Hrabia at 24-Jul-2026 03:11:29 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Agatha Lim"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414706?orgID=211&dlType=viewWorkPermit"}]}]}}}


# Push Subject JVBRPW


# string body 24-Jul-2026, Bibilly Hrabia,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 414706


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0663133a-86c3-3dbd-a0d4-bd878debf0ff


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


# Push notification did not send #


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 4196
   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 Notification Sender Program.cs Execution ###


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


### Start Event Execution ###


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[7838]"},{"Key":"AuditId","Value":"368"},{"Key":"OrgId","Value":"211"}]}


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


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


Using org-specific template for Org 211: Templates\OrgTemplates\211\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 Scheduled for Alanreed


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


--- Email response from Osmo-x is 201


RequestBody: {  "providerId": 48,  "data": {    "to": "912000007341",    "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/GLTO/GRR/HCA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"565","image":null,"document":null,"video":null},{"type":"text","text":"24-Jul-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/audit/edit-audit/211/368","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


Error occurred while sending email using Osmo-x.


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 39


RequestBody: {  "providerId": 48,  "data": {    "to": "912000008910",    "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/GLTO/GRR/HCA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"565","image":null,"document":null,"video":null},{"type":"text","text":"24-Jul-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/audit/edit-audit/211/368","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000001399",    "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/GLTO/GRR/HCA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"565","image":null,"document":null,"video":null},{"type":"text","text":"24-Jul-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/audit/edit-audit/211/368","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


# Preparing notification body #


# Fetching devices bypassing preferences (system event or unknown module) (Single) #


# Checking for device existence #


# User device exists #


Sending Audit Notification for Audit Id:368


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f0e835d1-a7ff-3e59-8f91-8b82f8440896


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/eb70f129-0a80-3e52-b813-852aa9876053


Push notification failed to send to a device 23971.


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


### End Event Execution ###


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


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