level: Info

severity: INFO

message: Application started


level: Debug

severity: DEBUG

message: Request URL : https://api-qa-staging-3.oqsha.com/robots.txt


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/robots.txt


message: Request URL : http://api-qa-staging-3.oqsha.com/robots.txt


message: Forwarding the reuqest to the URL: http://api-qa-staging-3.oqsha.com/robots.txt


message: Request URL : https://api-qa-staging-3.oqsha.com/Resources/app-language-eng


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Resources/app-language-eng


message: Request Media Type = application/json


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Languages


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Health


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Countries


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Otp


message: Request Body : {"CountryCode":"+91","MobileNumber":"8669457598"}


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Login


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


message: Request URL : https://api-qa-staging-3.oqsha.com/Modules/Version/All?Appversion=6.1.0


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Modules/Version/All?Appversion=6.1.0


message: Request Media Type = application/json


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Modules/APIs


message: Request URL : https://api-qa-staging-3.oqsha.com/Users/5929/Organisations/


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Users/5929/Organisations/


message: Request URL : https://api-qa-staging-3.oqsha.com/Resources/app-language-eng?orgId=249


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Resources/app-language-eng?orgId=249


message: Request URL : https://api-qa-staging-3.oqsha.com/Users/5929/FieldStaffOrganisations/


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Users/5929/FieldStaffOrganisations/


message: Request URL : https://api-qa-staging-3.oqsha.com/Users/5929


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Users/5929


message: Request URL : https://api-qa-staging-3.oqsha.com/AccessControl/Modules/249


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/AccessControl/Modules/249


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisation/249/UserDetails


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisation/249/UserDetails


message: Request Media Type = application/json


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


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Incidents


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/TicketStatus/Counts


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/TicketStatus/Counts


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/Users/5929/incidentsites


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/Users/5929/incidentsites


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/User/5929/PtwCompany?IsActive=1


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/User/5929/PtwCompany?IsActive=1


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2026-01-09&ToDate=2026-01-24&Live=true&Pending=true&PermitToWorkStatus=TemporarilySuspended


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2026-01-09&ToDate=2026-01-24&Live=true&Pending=true&PermitToWorkStatus=TemporarilySuspended


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/ShiftTimings


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/ShiftTimings


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisation/249/User/5929/JobTypes


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisation/249/User/5929/JobTypes


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/DefaultCompany


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/DefaultCompany


message: Request Media Type = application/json


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/Contractors/All?status=1&IsActive=1


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/Contractors/All?status=1&IsActive=1


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/Departments?SiteId=717&SiteId=712&SiteId=713&SiteId=714&SiteId=715&SiteId=716&SiteId=718&SortingColumn=Name&SortingOrder=Asc


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/Departments?SiteId=717&SiteId=712&SiteId=713&SiteId=714&SiteId=715&SiteId=716&SiteId=718&SortingColumn=Name&SortingOrder=Asc


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/Company/All?IsActive=1


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/Company/All?IsActive=1


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/FieldStaffAndAppUsers?siteIds=717&siteIds=712&siteIds=713&siteIds=714&siteIds=715&siteIds=716&siteIds=718


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/FieldStaffAndAppUsers?siteIds=717&siteIds=712&siteIds=713&siteIds=714&siteIds=715&siteIds=716&siteIds=718


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2025-09-03&ToDate=2026-01-23&Live=true&Pending=true&PermitToWorkStatus=TemporarilySuspended


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2025-09-03&ToDate=2026-01-23&Live=true&Pending=true&PermitToWorkStatus=TemporarilySuspended


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2025-09-03&ToDate=2026-01-23


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2025-09-03&ToDate=2026-01-23


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/255067?extensionRequestedDate=2026-01-16


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/255067?extensionRequestedDate=2026-01-16


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/255067/PermitToWorkHistory


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/255067/PermitToWorkHistory


message: Request URL : https://api-qa-staging-3.oqsha.com/PtwStatuses?Level=2


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/PtwStatuses?Level=2


message: Request Media Type = application/json


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/UserExistsInSiteAndCompany?&siteId=712&companyId=1269


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/UserExistsInSiteAndCompany?&siteId=712&companyId=1269


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/GetUsersResponse/255067


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/GetUsersResponse/255067


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/Departments?SiteId=712&SortingColumn=Name&SortingOrder=Asc


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/Departments?SiteId=712&SortingColumn=Name&SortingOrder=Asc


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/Inspections?siteId=712&ptwId=255067


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/Inspections?siteId=712&ptwId=255067


level: Error

severity: ERROR

MethodName: GetAllInspection

Message: Nullable object must have a value.

EntryPoint: API

stackTrace:
System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at IncidentReporter.DAL.Repositories.InspectionsRepo.<GetAllInspections>d__27.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\InspectionsRepo.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.InspectionsBLL.<GetAllInspection>d__8.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\InspectionsBLL.cs:line 467


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PtwConfig?siteId=712&jobTypeIds=275


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PtwConfig?siteId=712&jobTypeIds=275


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2025-09-03&ToDate=2026-01-23


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=5929&FromDate=2025-09-03&ToDate=2026-01-23


message: Request URL : https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/ShiftTimings


message: Forwarding the reuqest to the URL: https://api-qa-staging-3.oqsha.com/Organisations/249/PermitToWork/ShiftTimings