[INSPECTION] No inspection reminders to process


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/DropDown


Request URL : https://api-sandbox.oqsha.com/Organisations/258/statuses


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=app-Tasks&siteId=831


Request Body : {"SiteId":[831],"Source":"User"}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks


Request Body : {"TaskStatus":376,"SaveStatus":2,"CheckListData":[],"RemindersConfig":[],"InvestigationId":null,"InspectionId":14450,"SectionId":1,"SiteId":831,"TaskCategoryId":"","AssetIds":[],"TaskDetails":[{"TaskDescription":"assigning to calvin - Bay-A (Sand Yard area) - 1.Appropriate respirators used by workers to prevent silica dust inhalation.","Priority":3,"DueDate":"2026-03-29T18:30:00.000Z","AssigneeIds":[11127],"Attachments":[]}]}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 2ms


[CreateTask] Step 3 - Get task module ID: 1ms


[CreateTask] Step 4 - Fetch organization preferences: 1ms


[CreateTask] Step 6 - Begin transaction: 0ms


[CreateTask] Processing SiteId: 831


[CreateTask] Step 7 - Validate input for SiteId 831: 0ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 0ms


[CreateTask] Step 10 - Determine task category: 3ms


[CreateTask] Step 11 - Get task category short code: 2ms


[CreateTask] Step 12 - Generate task UID: 8ms


[CreateTask] Step 13 - Insert task into database (TaskId: 11122): 5ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 0ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 192ms


[CreateTask] Step 26 - Send assignee notifications: 30ms


[CreateTask] Step 28 - Fetch assignees and log audit: 40ms


[CreateTask] Total time for SiteId 831: 468ms


[CreateTask] Step 29 - Commit transaction: 16ms


[CreateTask] Step 30 - Send status update emails: 8ms


[CreateTask] Completed successfully for OrgId: 258. Total execution time: 503ms


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450/Comments


Request URL : https://api-sandbox.oqsha.com/Users/11125/ExportAll?Export=true


Request URL : https://api-sandbox.oqsha.com/Logout


Request Body : {}


JTI 2b56734d-a618-48e0-b7e5-6b054dc0ae4c for userId = 11125 is saved to database.


Request URL : https://api-sandbox.oqsha.com/Languages


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


Request URL : https://api-sandbox.oqsha.com/Countries


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=5.12.0&IsOqsha=true


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Inspection/14450


[INSPECTION] No reminders provided. Deleting existing reminders for inspection: 14450


Request URL : https://api-sandbox.oqsha.com/Organisations/258/statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/DropDown


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=app-Tasks&siteId=831


Request Body : {"SiteId":[831],"Source":"User"}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks


Request Body : {"TaskStatus":376,"SaveStatus":2,"CheckListData":[],"RemindersConfig":[],"InvestigationId":null,"InspectionId":14450,"SectionId":1,"SiteId":831,"TaskCategoryId":"","AssetIds":[],"TaskDetails":[{"TaskDescription":"assigning to calvin - Bay-A (Sand Yard area) - 2.Electrical boards are closed and no cables on floor.","Priority":3,"DueDate":"2026-03-29T18:30:00.000Z","AssigneeIds":[678],"Attachments":[]}]}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 2ms


[CreateTask] Step 3 - Get task module ID: 1ms


[CreateTask] Step 4 - Fetch organization preferences: 2ms


[CreateTask] Step 6 - Begin transaction: 0ms


[CreateTask] Processing SiteId: 831


[CreateTask] Step 7 - Validate input for SiteId 831: 0ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 0ms


[CreateTask] Step 10 - Determine task category: 2ms


[CreateTask] Step 11 - Get task category short code: 1ms


[CreateTask] Step 12 - Generate task UID: 3ms


[CreateTask] Step 13 - Insert task into database (TaskId: 11124): 3ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 0ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 139ms


[CreateTask] Step 26 - Send assignee notifications: 3ms


[CreateTask] Step 28 - Fetch assignees and log audit: 42ms


[CreateTask] Total time for SiteId 831: 362ms


[CreateTask] Step 29 - Commit transaction: 19ms


[CreateTask] Step 30 - Send status update emails: 1ms


[CreateTask] Completed successfully for OrgId: 258. Total execution time: 393ms


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Module/29/Entity/14450/tasks


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450/Comments


Request URL : https://api-sandbox.oqsha.com/Otp


Request Body : {"CountryCode":"+91","MobileNumber":"2000008503"}


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


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=5.12.0&IsOqsha=true


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Divisions


System.ArgumentException: token
   at JWT.JwtParts..ctor(String token)
   at JWT.Builder.JwtBuilder.Decode(String token)
   at IncidentReporter.API.Handlers.Authorise.DecodeToken(String token, String secret) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 112
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38


Request URL : https://api-sandbox.oqsha.com/Login


Request Body : {"OTP":"9999","MobileNumber":"2000008503","CountryCode":"+91","RememberMe":true,"IsOqsha":true}


Request URL : https://api-sandbox.oqsha.com/Modules/Version/All?Appversion=5.12.0


Request URL : https://api-sandbox.oqsha.com/Modules/APIs


Request URL : https://api-sandbox.oqsha.com/Users/11167/Organisations/


Request URL : https://api-sandbox.oqsha.com/Resources/app-language-eng?orgId=258


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/258


Request URL : https://api-sandbox.oqsha.com/Users/11167/UserDevices


Request URL : https://api-sandbox.oqsha.com/Users/11167


Request URL : https://api-sandbox.oqsha.com/Users/11167/FieldStaffOrganisations/


Request Body : {"DeviceId":"cyH11kirRdyqepP5prjMgb:APA91bHaHNb7S_ppu2ZcFOvhH9cTf5-hDClJU3CZXEmyjm6D3TneizQM0rtE8DBu9RmiJINZ9PwN7SogYVg9C2DuP_QJ1aDK05MOgORlrqjFUZH4tbHGlzE","DeviceType":"android","Uuid":"455bf63254599b01","Model":"motorola edge 50 fusion","Manufacturer":"motorola","Version":"16","Serial":"unknown","IsOqsha":true}


Calling RegisterWithSNS for registering the device token : cyH11kirRdyqepP5prjMgb:APA91bHaHNb7S_ppu2ZcFOvhH9cTf5-hDClJU3CZXEmyjm6D3TneizQM0rtE8DBu9RmiJINZ9PwN7SogYVg9C2DuP_QJ1aDK05MOgORlrqjFUZH4tbHGlzE


Invalid parameter: Token Reason: Endpoint arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/862740d0-2616-3b05-937d-9911daf3fb4c already exists with the same Token, but different attributes.


Device Endpoint : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/862740d0-2616-3b05-937d-9911daf3fb4c


Request URL : https://api-sandbox.oqsha.com/Organisations/258


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Users/11167


Request URL : https://api-sandbox.oqsha.com/Organisation/258/UserDetails


Request URL : https://api-sandbox.oqsha.com/Incidents


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TicketStatus/Counts


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Inspection/14450


[INSPECTION] No reminders provided. Deleting existing reminders for inspection: 14450


Request URL : https://api-sandbox.oqsha.com/Organisations/258/statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/DropDown


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=app-Tasks&siteId=831


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/258


Request Body : {"SiteId":[831],"Source":"User"}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspections/Feed?seeAllInspections=0&FromDate=2026-03-23&ToDate=2026-04-06


Request URL : https://api-sandbox.oqsha.com/Organisations/258/EscalatedIncidents


System.ArgumentException: token
   at JWT.JwtParts..ctor(String token)
   at JWT.Builder.JwtBuilder.Decode(String token)
   at IncidentReporter.API.Handlers.Authorise.DecodeToken(String token, String secret) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 112
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38


Request URL : https://api-sandbox.oqsha.com/Organisations/211


Request URL : https://api-sandbox.oqsha.com/Organisation/211/AccessControl/Roles


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Users/1955


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Company/All?&IsActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Users/11167/incidentsites


Request URL : https://api-sandbox.oqsha.com/Assets/AssetTypes?OrgId=258&SortingOrder=Asc&SortingColumn=Name&userId=11167


Request URL : https://api-sandbox.oqsha.com/Users


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?SiteId=831&SortingColumn=Name&SortingOrder=Asc


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks


Request Body : {"TaskStatus":376,"SaveStatus":2,"CheckListData":[],"RemindersConfig":[],"InvestigationId":null,"InspectionId":14450,"SectionId":1,"SiteId":831,"TaskCategoryId":"","AssetIds":[],"TaskDetails":[{"TaskDescription":"assigning to calvin - Bay-A (Sand Yard area) - 4.Approach to fire hydrant clear and obstruction free","Priority":3,"DueDate":"2026-03-29T18:30:00.000Z","AssigneeIds":[11121],"Attachments":[]}]}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 2ms


[CreateTask] Step 3 - Get task module ID: 1ms


[CreateTask] Step 4 - Fetch organization preferences: 2ms


[CreateTask] Step 6 - Begin transaction: 2ms


[CreateTask] Processing SiteId: 831


[CreateTask] Step 7 - Validate input for SiteId 831: 1ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 0ms


[CreateTask] Step 10 - Determine task category: 1ms


[CreateTask] Step 11 - Get task category short code: 1ms


[CreateTask] Step 12 - Generate task UID: 3ms


[CreateTask] Step 13 - Insert task into database (TaskId: 11126): 0ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 0ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 307ms


[CreateTask] Step 26 - Send assignee notifications: 2ms


[CreateTask] Step 28 - Fetch assignees and log audit: 48ms


[CreateTask] Total time for SiteId 831: 530ms


[CreateTask] Step 29 - Commit transaction: 2ms


[CreateTask] Step 30 - Send status update emails: 0ms


[CreateTask] Completed successfully for OrgId: 258. Total execution time: 546ms


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Module/29/Entity/14450/tasks


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Assets/DropDown


Request Body : {"AssetTypeId":236,"SiteId":831,"CompanyId":1670}


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=831&AssetTypeId=236&roleId=475&roleId=477


Request URL : https://api-sandbox.oqsha.com/Organisation/258/InspectionType/All?siteId=831&AssetTypeId=236


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionType/609


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Inspection/14450


[INSPECTION] No reminders provided. Deleting existing reminders for inspection: 14450


Request URL : https://api-sandbox.oqsha.com/Organisations/258/statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/DropDown


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=app-Tasks&siteId=831


Request Body : {"SiteId":[831],"Source":"User"}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks


Request Body : {"TaskStatus":376,"SaveStatus":2,"CheckListData":[],"RemindersConfig":[],"InvestigationId":null,"InspectionId":14450,"SectionId":112,"SiteId":831,"TaskCategoryId":"","AssetIds":[],"TaskDetails":[{"TaskDescription":"assigning to calvin - Moulding & Pouring Section - 5.Spray painting being done using appropriate nose mask.","Priority":3,"DueDate":"2026-03-30T18:30:00.000Z","AssigneeIds":[11112],"Attachments":[]}]}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 4ms


[CreateTask] Step 3 - Get task module ID: 1ms


[CreateTask] Step 4 - Fetch organization preferences: 1ms


[CreateTask] Step 6 - Begin transaction: 1ms


[CreateTask] Processing SiteId: 831


[CreateTask] Step 7 - Validate input for SiteId 831: 0ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 0ms


[CreateTask] Step 10 - Determine task category: 1ms


[CreateTask] Step 11 - Get task category short code: 1ms


[CreateTask] Step 12 - Generate task UID: 3ms


[CreateTask] Step 13 - Insert task into database (TaskId: 11128): 0ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 0ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 75ms


[CreateTask] Step 26 - Send assignee notifications: 2ms


[CreateTask] Step 28 - Fetch assignees and log audit: 53ms


[CreateTask] Total time for SiteId 831: 302ms


[CreateTask] Step 29 - Commit transaction: 19ms


[CreateTask] Step 30 - Send status update emails: 1ms


[CreateTask] Completed successfully for OrgId: 258. Total execution time: 339ms


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Module/29/Entity/14450/tasks


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14450/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection