[AUDIT] No audit reminders to process


Audit log sent successfully.


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/307


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Audit/307/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/307/tasks


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


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


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":"Testing Save as draft functionality - 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":[10313],"Attachments":[]}],"SaveStatus":2,"CheckListData":[],"SectionId":1,"InvestigationId":null}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 1ms


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


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


[CreateTask] Step 6 - Begin transaction: 1ms


[CreateTask] Processing SiteId: 833


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


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


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


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


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


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


[CreateTask] Step 13 - Insert task into database (TaskId: 12636): 2ms


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

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/211/Users/1955


Request URL : https://api-qa-staging-2.oqsha.com/Reports/IncidentCountReport?OrgId=211&StartDate=2026-05-18&EndDate=2026-05-18


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Reports/IncidentStatusReport?OrgId=211&FromDate=2026-05-11&ToDate=2026-05-18&DivisionId=1274&DivisionId=1272&DivisionId=1273


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


Request URL : https://api-qa-staging-2.oqsha.com/Reports/IncidentCountReport?OrgId=211&StartDate=2026-05-11&EndDate=2026-05-18&DivisionId=1274&DivisionId=1272&DivisionId=1273


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/211/OrganisationStats?FromDate=2026-05-11&ToDate=2026-05-18&


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/UsersByRole?ptwJobDesignationId=4


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


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


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-09-20_log.ndjson


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/Audit/Types


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


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/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/Organisation/258/Modules


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


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&SiteId=833&AcmModuleId=27


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


Request Body : {"SiteId":[833],"Source":"User","UserId":10313}