[AUDIT] No audit reminders to process


Audit log sent successfully.


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Audit&AcmModuleId=38


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Audit/308/AuditCommentHistory


Request Body : {"OrgId":211,"FromDate":"2026-01-01","ToDate":"2026-05-18","SortingColumn":["Name"],"SortingOrder":["desc"],"PageNumber":1,"PageLimit":10}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Module/38/Entity/308/tasks


Request Body : {"SortingColumn":["Name"],"SortingOrder":["asc"],"SiteId":[833],"UserId":10313}


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


Request Body : {"SiteId":833,"SiteIds":null,"TaskStatus":376,"TaskCategoryId":null,"AssetIds":[],"RemindersConfig":[],"TaskDetails":[{"TaskDescription":"test 002 - Bay-A (Sand Yard area) - 1.Appropriate respirators used by workers to prevent silica dust inhalation.","Priority":2,"DueDate":"2026-05-21T00:00:00Z","AssigneeIds":[11130],"Attachments":[]}],"SaveStatus":2,"CheckListData":[],"SectionId":1,"InvestigationId":null}


[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: 1ms


[CreateTask] Processing SiteId: 833


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


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


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


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


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


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


[CreateTask] Step 13 - Insert task into database (TaskId: 12638): 1ms


[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


Audit log sent successfully.


[CreateTask] Failed for OrgId: 258. Total execution time: 51ms

System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Nullable`1.get_Value()
   at IncidentReporter.API.BLL.TaskBLL.<CreateTask>d__8.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\TaskBLL.cs:line 812


Nullable object must have a value.


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/262/Users/DropDown?siteId=876&siteId=841


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


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


Request Body : {"SiteIds":[876,841],"PageNumber":1,"PageLimit":1000,"UserId":267}


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


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


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


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


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":267}


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


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


Request Body : {"CurrentEntityState":"Approved","ActorContext":{},"EntityId":6}


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=262&ModuleId=105&EntityId=6


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


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


Request Body : {"OrgId":248,"UserId":5538}


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


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


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


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


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


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


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


Request Body : {"SiteId":708,"CategoryId":7,"PageNumber":1,"PageSize":1000}


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Audit&AcmModuleId=38


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/262/Users/DropDown?siteId=876&siteId=841


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


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


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


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


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


Request Body : {"SiteIds":[876,841],"PageNumber":1,"PageLimit":1000,"UserId":267}


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Audit/308/AuditCommentHistory


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


Request Body : {"SiteId":708,"CategoryId":7,"PageNumber":1,"PageSize":1000}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Module/38/Entity/308/tasks


Request Body : {"SortingColumn":["Name"],"SortingOrder":["asc"],"SiteId":[833],"UserId":10313}


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


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


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


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


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


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


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


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


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


Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2026-04-01","ToDate":"2026-05-18"}


Request Body : {"SiteId":["708","744","707","705","709","706"],"UserId":5538}


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Tasks/List/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts


Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2026-04-01","ToDate":"2026-05-18","CategoryId":[1637,1574,1575,1576]}


Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2026-04-01","ToDate":"2026-05-18","CategoryId":[]}


Request Body : {"SiteIds":["708","744","707","705","709","706"]}


Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2026-04-01","ToDate":"2026-05-18","AcmModuleId":46}


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/KPI/PlantMasterDropdown


Request Body : {"OrgId":248,"UserId":5538}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library


Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/KPI/PlantMaster/AverageRatings


Request Body : {"KpiId":[45,46,47,48,49,50,21,22,23,24,25,33,34,35,36,37,51,27,28,29,30,31,38,39,40,41,42,44,16],"SiteIds":["708","744","707","705","709","706"]}


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


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


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/258/Users/10313


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Audit&AcmModuleId=38


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Audit/308/AuditCommentHistory


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Module/38/Entity/308/tasks


Request Body : {"SortingColumn":["Name"],"SortingOrder":["asc"],"SiteId":[833],"UserId":10313}


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


Request Body : {"SortingColumn":["Name"],"SortingOrder":["asc"],"SiteId":[],"UserId":10313}


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


Request Body : {"OrgId":258,"FromDate":"2026-05-11","ToDate":"2026-05-18","SortingColumn":["Name"],"SortingOrder":["desc"],"PageNumber":1,"PageLimit":10}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Audit/Types/57


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Audit&AcmModuleId=38&categoryIds=57


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