Configuration missing: JSREPORT_API_KEY

System.InvalidOperationException: Configuration missing: JSREPORT_API_KEY
   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\JsReportUtils.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\PdfExportSwitchHelper.cs:line 64


System.IO.FileNotFoundException: Fallback PDF template missing. Expected HTML template path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\GenericWork\ExportWorkPermitV2.html
File name: 'D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\GenericWork\ExportWorkPermitV2.html'
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 89
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitV2Bll.cs:line 1556


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/678


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=471


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/471


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":678}


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/678


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=471


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/471


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":678}


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Users


Request Body : {"OrgId":[264],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":"lucien"}


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Login


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


Request URL : https://api-qa-staging-2.oqsha.com/Organisations


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/255


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=255


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/Divisions


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/IncidentLocations?isActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/Users/9308/incidentsites?isActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/255/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/255/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/Company/All?&IsActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/Departments?SiteIds=779&SiteIds=776&SiteIds=774&SiteIds=787&SiteIds=777&SiteIds=773&SiteIds=778&SiteIds=775


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/255/UserPreference


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/255/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/255/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Users


Request Body : {"OrgId":[255],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":""}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Countries


Request URL : https://api-qa-staging-2.oqsha.com/Users/678/ExportAll?Export=true


Request URL : https://api-qa-staging-2.oqsha.com/Logout


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


JTI ffedcf4e-c34c-4c73-98d7-7e01f9ec1a71 for userId = 678 is saved to database.


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/Otp


Request URL : https://api-qa-staging-2.oqsha.com/Login


Request URL : https://api-qa-staging-2.oqsha.com/Modules/Version/All?Appversion=6.6.2


Request URL : https://api-qa-staging-2.oqsha.com/Modules/APIs


Request URL : https://api-qa-staging-2.oqsha.com/Users/9308/Organisations/


Request URL : https://api-qa-staging-2.oqsha.com/Users/9308/FieldStaffOrganisations/


Request URL : https://api-qa-staging-2.oqsha.com/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Users/9308/UserDevices


Calling RegisterWithSNS for registering the device token : daZ9qgWsQ2K9ie3FYgIsSe:APA91bEG7326QG_WTNbTONhp8Yarnd21uV87SQ_WMBHSoaTsMDkesYD32WItVZfsvddBbsEirt6BEESSitap8B_5sZQ1DXQCGvuUau2KZG2YZJc9omiokYA


Invalid parameter: Token Reason: Endpoint arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/fdf72bfd-5389-3067-9254-e3ce86cd0a83 already exists with the same Token, but different attributes.


Device Endpoint : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/fdf72bfd-5389-3067-9254-e3ce86cd0a83


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/255


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/251


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/251/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/251/UserDetails


Request URL : https://api-qa-staging-2.oqsha.com/Incidents


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/251/TicketStatus/Counts


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Resorces/app-language-eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308/incidentsites


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/473


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":200}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&categoryIds=177&AcmModuleId=85


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=473


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&IsActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/IncidentLocations?isActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308/incidentsites?isActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Divisions


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/UserPreference


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Company/All?&IsActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SiteIds=845&SiteIds=846&SiteIds=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Users


Request Body : {"OrgId":[264],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":""}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=473


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/473


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=471


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/471


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Work Permit V2 Notification Count from State Router: 0


Work Permit V2 ActorContext from State Router: System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Int32]]


Trigger config check for Module: Work Permit V2, TriggerEvent: record_updated, CategoryId: 177 returned: False


Queueing Work Permit V2 Timer Engine event. OrgId=264, ModuleId=85, WorkPermitId=471, TriggerEvent=Accepted


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=471


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/471


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[845],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Timer Engine event publish failed.

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:5670
   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.Helpers.TimerEngineHelper.<PublishEventsAsync>d__4.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\TimerEngineHelper.cs:line 186
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.Helpers.TimerEngineHelper.<>c__DisplayClass1_0.<<PublishEventsInBackground>b__1>d.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\TimerEngineHelper.cs:line 46

Ext Authroized By EHS Officer / Coordinatore

Gas area identified and authorized permission obtained from concerned department?

Atmospheric gas testing conducted and results within safe limits (O2, LEL, Toxic Gas)?

Gas detectors calibrated and available at work location?

Gas lines, valves, and equipment inspected for leakage before starting work?

Adequate ventilation available and maintained throughout the work?

All ignition sources eliminated or controlled in the work area?

Electrical equipment suitable for hazardous area classification (Ex-proof where required)?

Static electricity control and proper grounding/bonding provided?

Fire extinguishers, hydrant system, and emergency response facilities available?

Barricading, warning signs, and access control established?

Pressurized gas systems isolated/depressurized where required?

Workers trained, competent, medically fit, and authorized for gas area work?

Emergency communication system and emergency contact numbers available?

Separate Hot Work, Electrical Work, Height Work, or Confined Space Permit obtained if applicable?

Toolbox talk conducted and all control measures verified before permit issuance?

Safety Equipment Requirement & PPE to be used

Select the Section Head/Section Incharge

Area Owner (Operation Section Incharge/Head)

Electrical/Mechanical/Utility Isolation - Test

Head of Department - Test(To Be removed)

Work Cancelled due to Operational Reasons


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Resorces/app-language-eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Modules/APIs


Request URL : https://api-qa-staging-2.oqsha.com/Modules/Version/All?Appversion=6.6.2


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Incidents


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/251/TicketStatus/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":200,"IsPublished":true,"UserId":"9308"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request Body : {"SiteIds":[846],"PageNumber":1,"PageLimit":200,"IsPublished":true,"UserId":"9308"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/174


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Startable


Request Body : {"Dimensions":{"CategoryTypeId":["174"]}}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&IsActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SiteId=846&SortingColumn=Name&SortingOrder=Asc


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2


Work Permit V2 Notification Count from State Router: 2


Work Permit V2 ActorContext from State Router:


Work Permit V2 NotificationRequest Count: 2


Pushing Work Permit V2 create notification events to NSQ


Notification is outside configured time window. OrgId: 264


Notification queued successfully. EntityType: work_permit_v2


Queueing Work Permit V2 Timer Engine event. OrgId=264, ModuleId=85, WorkPermitId=474, TriggerEvent=Requested


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/474


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":200}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&categoryIds=174&AcmModuleId=85


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=474


Timer Engine event publish failed.

Electrical equipment identified and proper isolation/LOTO implemented

Zero energy verification (Test Before Touch) completed

Appropriate danger tags and locks applied

Electrical tools, test instruments, and extension cords inspected and calibrated

Arc flash risk assessed and required arc-rated PPE provided

Insulated tools, rubber gloves, mats, and other protective equipment available

Safe clearance maintained from overhead electrical lines and live parts

Combustible/flammable materials removed or protected from work area

Adequate lighting and safe access to work location provided

Slip, trip, oil spillage, and housekeeping hazards controlled

Moving machinery and associated hazards isolated or guarded

Emergency rescue arrangements and first aid facilities available

Workers are trained, competent, authorized, and medically fit

Toolbox talk conducted and emergency procedures communicated

All control measures verified before commencement of electrical work

Area Owner (Operation Section Incharge/Head)


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&IsActive=true


Work Permit V2 Notification Count from State Router: 2


Work Permit V2 ActorContext from State Router: System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Int32]]


Work Permit V2 NotificationRequest Count: 2


Pushing Work Permit V2 update notification events to NSQ


Notification is outside configured time window. OrgId: 264


Notification queued successfully. EntityType: work_permit_v2


Trigger config check for Module: Work Permit V2, TriggerEvent: record_updated, CategoryId: 174 returned: False


Queueing Work Permit V2 Timer Engine event. OrgId=264, ModuleId=85, WorkPermitId=474, TriggerEvent=Accepted


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/474


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":200}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&categoryIds=174&AcmModuleId=85


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=474


Timer Engine event publish failed.

accepting


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&IsActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=474


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/474


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[846],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[846],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/States/Types


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":200}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&categoryIds=174&AcmModuleId=85


Request URL : https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=264


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/264


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/9308


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=474


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/474


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Modules


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=846&isActive=true


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[846],"IsPublished":true,"UserId":9308}


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[846],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/474/Export