{"timestamp": "2026-04-01 05:49:24.647", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)
   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)"}
{"timestamp": "2026-04-01 05:59:24.090", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":11,"EntityId":14585,"ChangedBy":{"UserId":9721,"Name":"Caroline Su"},"ChangeType":"Created","OldValue":null,"NewValue":{"Site":"Alanreed","Department":null,"InspectionName":null,"AssetType":"P&M","InspectionType":"P&M - Chain Pulley Block Inspection Checklist","Status":"Inspection requested","Asset":"7124","AssignedTo":"","DueDate":null,"NonOqshaAssets":"","Sections":null,"AssociatedTasks":null,"Area":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-04-01 06:09:31.598", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":11,"EntityId":14585,"ChangedBy":{"UserId":10335,"Name":"Fidelia Piatt"},"ChangeType":"Updated","OldValue":{"Site":"Alanreed","Department":null,"InspectionName":null,"AssetType":"P&M","InspectionType":"P&M - Chain Pulley Block Inspection Checklist","Status":"Inspection request","Asset":"7124","AssignedTo":"","DueDate":null,"NonOqshaAssets":null,"Sections":[{"SectionId":1,"SectionName":"Inspection checks","SectionType":"freetext","MandatoryChecksCount":0,"OrganisationId":211,"Status":1,"Rank":1,"AllowAttachments":true,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":false,"IsVideoUploadAllowed":false,"IsAudioUploadAllowed":false,"IsFileUploadAllowed":false},"Checks":[{"Id":1,"Check":"Company name","Type":"freetext","Value":"Galecto Inc.","IsMandatory":1},{"Id":2,"Check":"Contractor name","Type":"freetext","Value":"Caroline Su","IsMandatory":1}],"IsMainSection":false,"AllowTaskAssociation":false,"IsMandatoryAttachment":true,"IsSectionTable":false,"sectionOrder":2,"SectionFiles":[{"Value":"attachments\\211\\inspections\\image_1775023104785_2026-04-01_05-58-33-5833_bbda5c2a-708f-4c78-954e-b6f99e1cd4a4.jpeg","FileType":"Image"}]},{"SectionId":2,"SectionName":"Equipment Status","SectionType":"dynamicradiobutton","MandatoryChecksCount":0,"OrganisationId":211,"Status":1,"Rank":2,"AllowAttachments":true,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":true,"IsVideoUploadAllowed":true,"IsAudioUploadAllowed":true,"IsFileUploadAllowed":true},"Checks":[{"Id":1,"Check":"Equipment Status at Site","Type":"dynamicradiobutton","Value":1,"IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"In Site"},{"OptionId":2,"OptionText":"Out of Site"}]},{"Id":2,"Check":"Equipment Usage Status","Type":"dynamicradiobutton","Value":1,"IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"In Usage"},{"OptionId":2,"OptionText":"Out of Usage"}]}],"IsMainSection":false,"AllowTaskAssociation":false,"IsMandatoryAttachment":false,"IsSectionTable":false,"sectionOrder":3},{"SectionId":3,"SectionName":"Check Points","SectionType":"radiobutton","MandatoryChecksCount":0,"OrganisationId":211,"Status":1,"Rank":3,"AllowAttachments":true,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":true,"IsVideoUploadAllowed":true,"IsAudioUploadAllowed":true,"IsFileUploadAllowed":true},"Checks":[{"Id":1,"Check":"1.Is the chain pulley block is good condition & working with TPI?","Type":"radiobutton","Value":"1","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":2,"Check":"2.Is the chain is free from corrosion, defects, cracks, damage etc?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":3,"Check":"3.Is the hook point is in good condition?                                                     (not stretched more than 15% of its original shape)","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":4,"Check":"4.Are safety latch is working condition and placed into hook?","Type":"radiobutton","Value":"1","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":5,"Check":"5.Is SWL (safe working load) is marked and visible?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":6,"Check":"6.Is all the rotating parts are covered?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":7,"Check":"7.Is sufficient lubrication has done?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]}],"IsMainSection":false,"AllowTaskAssociation":false,"IsMandatoryAttachment":false,"IsSectionTable":false,"sectionOrder":4},{"SectionId":4,"Checks":[{"Id":1,"Check":"1.Reject if chain is elongated more than 3% of its original length. IS 3832","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":2,"Check":"2.Reject if there are cracks, nicks, corrosion, or twisted links. IS 3832","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":3,"Check":"3.Reject if chain links show excessive wear at bearing points. IS 3832","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":4,"Check":"4.Reject if sprocket teeth are broken, worn, or do not properly engage with the chain. IS 15560","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":5,"Check":"5.Reject if the wheel is deformed or cracked. IS 15560","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":6,"Check":"6.Reject if hook shows cracks, distortion, or nicks. IS 8610","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":7,"Check":"7.Reject if there is excessive noise, rough movement, or damaged teeth. IS 15560","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":8,"Check":"8.Reject if pulley fails to lift or hold the test load (typically 1.25–1.5x rated capacity). IS 3832","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":9,"Check":"9.Reject if nameplate with rated capacity and ID is missing or illegible.\n IS 3832","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]}],"SectionName":"Rejection Criteria","SectionType":"radiobutton","AllowAttachments":true,"AllowTaskAssociation":false,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":true,"IsVideoUploadAllowed":true,"IsAudioUploadAllowed":true,"IsFileUploadAllowed":true}},{"SectionId":5,"Checks":[{"Id":1,"Check":"Inspected by","Type":"signature","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Inspected by","Declaration":"","SignedUserId":9721,"SignedUserName":"Caroline Su","SignedDateAndTime":"01-Apr-2026 11:29 AM","SignedAcmRoleId":8,"IsRejected":false,"InspectionStatusId":389,"InspectionStatusName":"Inspection requested","IsAssignedToMandatory":true,"SignedMobileNumber":"2000008510"}},{"Id":2,"Check":"Checked by","Type":"signature with approval","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Checked by ","Declaration":"","SignedUserId":0,"SignedUserName":"","SignedDateAndTime":"","SignedAcmRoleId":426,"IsRejected":false,"InspectionStatusId":0,"InspectionStatusName":"","IsAssignedToMandatory":true,"AssignedToUserId":10335}},{"Id":3,"Check":"Verified by","Type":"signature with approval","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Verified by ","Declaration":"","SignedUserId":0,"SignedUserName":"","SignedDateAndTime":"","SignedAcmRoleId":427,"IsRejected":false,"InspectionStatusId":0,"InspectionStatusName":"","IsAssignedToMandatory":true}},{"Id":4,"Check":"Approved by","Type":"signature with approval","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Approved by","Declaration":"","SignedUserId":0,"SignedUserName":"","SignedDateAndTime":"","SignedAcmRoleId":428,"IsRejected":false,"InspectionStatusId":0,"InspectionStatusName":"","IsAssignedToMandatory":false}}],"SectionFiles":[],"SectionName":"Signatures","SectionType":"signature","AllowAttachments":false,"AllowTaskAssociation":false,"FileUploadControl":{"IsCameraAllowed":false,"IsImageUploadAllowed":false,"IsVideoUploadAllowed":false,"IsAudioUploadAllowed":false,"IsFileUploadAllowed":false}}],"AssociatedTasks":"","Area":null},"NewValue":{"Site":"Alanreed","Department":null,"InspectionName":null,"AssetType":"P&M","InspectionType":"P&M - Chain Pulley Block Inspection Checklist","Status":"Check","Asset":"7124","AssignedTo":"","DueDate":null,"NonOqshaAssets":null,"Sections":[{"SectionId":1,"SectionName":"Inspection checks","SectionType":"freetext","MandatoryChecksCount":0,"OrganisationId":211,"Status":1,"Rank":1,"AllowAttachments":true,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":false,"IsVideoUploadAllowed":false,"IsAudioUploadAllowed":false,"IsFileUploadAllowed":false},"Checks":[{"Id":1,"Check":"Company name","Type":"freetext","Value":"Galecto Inc.","IsMandatory":1},{"Id":2,"Check":"Contractor name","Type":"freetext","Value":"Caroline Su","IsMandatory":1}],"IsMainSection":false,"AllowTaskAssociation":false,"IsMandatoryAttachment":true,"IsSectionTable":false,"sectionOrder":2,"SectionFiles":[{"Value":"attachments\\211\\inspections\\image_1775023104785_2026-04-01_05-58-33-5833_bbda5c2a-708f-4c78-954e-b6f99e1cd4a4.jpeg","FileType":"Image"}]},{"SectionId":2,"SectionName":"Equipment Status","SectionType":"dynamicradiobutton","MandatoryChecksCount":0,"OrganisationId":211,"Status":1,"Rank":2,"AllowAttachments":true,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":true,"IsVideoUploadAllowed":true,"IsAudioUploadAllowed":true,"IsFileUploadAllowed":true},"Checks":[{"Id":1,"Check":"Equipment Status at Site","Type":"dynamicradiobutton","Value":1,"IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"In Site"},{"OptionId":2,"OptionText":"Out of Site"}]},{"Id":2,"Check":"Equipment Usage Status","Type":"dynamicradiobutton","Value":1,"IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"In Usage"},{"OptionId":2,"OptionText":"Out of Usage"}]}],"IsMainSection":false,"AllowTaskAssociation":false,"IsMandatoryAttachment":false,"IsSectionTable":false,"sectionOrder":3},{"SectionId":3,"SectionName":"Check Points","SectionType":"radiobutton","MandatoryChecksCount":0,"OrganisationId":211,"Status":1,"Rank":3,"AllowAttachments":true,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":true,"IsVideoUploadAllowed":true,"IsAudioUploadAllowed":true,"IsFileUploadAllowed":true},"Checks":[{"Id":1,"Check":"1.Is the chain pulley block is good condition & working with TPI?","Type":"radiobutton","Value":"1","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":2,"Check":"2.Is the chain is free from corrosion, defects, cracks, damage etc?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":3,"Check":"3.Is the hook point is in good condition?                                                     (not stretched more than 15% of its original shape)","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":4,"Check":"4.Are safety latch is working condition and placed into hook?","Type":"radiobutton","Value":"1","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":5,"Check":"5.Is SWL (safe working load) is marked and visible?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":6,"Check":"6.Is all the rotating parts are covered?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":7,"Check":"7.Is sufficient lubrication has done?","Type":"radiobutton","Value":"2","IsMandatory":1,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]}],"IsMainSection":false,"AllowTaskAssociation":false,"IsMandatoryAttachment":false,"IsSectionTable":false,"sectionOrder":4},{"SectionId":4,"Checks":[{"Id":1,"Check":"1.Reject if chain is elongated more than 3% of its original length. IS 3832","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":2,"Check":"2.Reject if there are cracks, nicks, corrosion, or twisted links. IS 3832","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":3,"Check":"3.Reject if chain links show excessive wear at bearing points. IS 3832","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":4,"Check":"4.Reject if sprocket teeth are broken, worn, or do not properly engage with the chain. IS 15560","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":5,"Check":"5.Reject if the wheel is deformed or cracked. IS 15560","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":6,"Check":"6.Reject if hook shows cracks, distortion, or nicks. IS 8610","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":7,"Check":"7.Reject if there is excessive noise, rough movement, or damaged teeth. IS 15560","Type":"radiobutton","Value":"1","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":8,"Check":"8.Reject if pulley fails to lift or hold the test load (typically 1.25–1.5x rated capacity). IS 3832","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]},{"Id":9,"Check":"9.Reject if nameplate with rated capacity and ID is missing or illegible.\n IS 3832","Type":"radiobutton","Value":"2","IsMandatory":0,"CheckOptions":[{"OptionId":1,"OptionText":"Yes"},{"OptionId":2,"OptionText":"No"},{"OptionId":3,"OptionText":"N/A"}]}],"SectionName":"Rejection Criteria","SectionType":"radiobutton","AllowAttachments":true,"AllowTaskAssociation":false,"FileUploadControl":{"IsCameraAllowed":true,"IsImageUploadAllowed":true,"IsVideoUploadAllowed":true,"IsAudioUploadAllowed":true,"IsFileUploadAllowed":true}},{"SectionId":5,"Checks":[{"Id":1,"Check":"Inspected by","Type":"signature","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Inspected by","Declaration":"","SignedUserId":9721,"SignedUserName":"Caroline Su","SignedDateAndTime":"01-Apr-2026 11:29 AM","SignedAcmRoleId":8,"IsRejected":false,"InspectionStatusId":389,"InspectionStatusName":"Inspection requested","IsAssignedToMandatory":true,"SignedMobileNumber":"2000008510"}},{"Id":2,"Check":"Checked by","Type":"signature with approval","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Checked by","Declaration":"","SignedUserId":10335,"SignedUserName":"Fidelia Piatt","SignedDateAndTime":"01-Apr-2026 11:39 AM","SignedAcmRoleId":426,"IsRejected":false,"InspectionStatusId":820,"InspectionStatusName":"Checked","IsAssignedToMandatory":true,"AssignedToUserId":10335,"SignedMobileNumber":"2000009646"}},{"Id":3,"Check":"Verified by","Type":"signature with approval","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Verified by","Declaration":"","SignedUserId":0,"SignedUserName":"","SignedDateAndTime":"","SignedAcmRoleId":427,"IsRejected":false,"InspectionStatusId":0,"InspectionStatusName":"","IsAssignedToMandatory":true,"AssignedToUserId":4348}},{"Id":4,"Check":"Approved by","Type":"signature with approval","Value":"0","IsMandatory":1,"SignatureConfiguration":{"Labels":"Approved by","Declaration":"","SignedUserId":0,"SignedUserName":"","SignedDateAndTime":"","SignedAcmRoleId":428,"IsRejected":false,"InspectionStatusId":0,"InspectionStatusName":"","IsAssignedToMandatory":false}}],"SectionFiles":[],"SectionName":"Signatures","SectionType":"signature","AllowAttachments":false,"AllowTaskAssociation":false,"FileUploadControl":{"IsCameraAllowed":false,"IsImageUploadAllowed":false,"IsVideoUploadAllowed":false,"IsAudioUploadAllowed":false,"IsFileUploadAllowed":false}}],"AssociatedTasks":"","Area":null}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-04-01 06:40:10.088", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":1228,"ChangedBy":{"UserId":11463,"Name":"Lucky Eaton"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Keswick","Department":"Default","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"31-Mar-2026","WorkPermitDateEnd":"31-Mar-2026","WorkPermitTimeStart":"05:48 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Keswick","Department":"Default","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"31-Mar-2026","WorkPermitDateEnd":"31-Mar-2026","WorkPermitTimeStart":"05:48 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-04-01 06:40:10.148", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__12.MoveNext() in C:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1068", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__12.MoveNext() in C:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1068"}
{"timestamp": "2026-04-01 06:40:10.182", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-04-01 06:41:36.250", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":11,"EntityId":14586,"ChangedBy":{"UserId":11127,"Name":"Gary Bhatia"},"ChangeType":"Created","OldValue":null,"NewValue":{"Site":"Morgan's Point Resort","Department":null,"InspectionName":"","AssetType":"DEFAULT","InspectionType":"Daily Inspections","Status":"Planned","Asset":null,"AssignedTo":"Gary Bhatia","DueDate":"01-Apr-2026","NonOqshaAssets":"","Sections":null,"AssociatedTasks":null,"Area":""}}
API Response: ", "stackTrace": ""}
{ "timestamp": "2026-04-01 07:26:49.4387", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-04-01 07:26:49.4688", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:26:50.0476", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-04-01 07:26:50.0580", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:27:10.4215", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:27:23.2840", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:27:29.7379", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:28:37.6263", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:28:38.0097", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:28:53.0235", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:28:59.4126", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:29:05.0632", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:49:44.2442", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:51:28.1279", "level": "Error", "severity": "ERROR", "message": "A generic error occurred in GDI+.", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.\r\n   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)\r\n   at IncidentReporter.API.BLL.IncidentsBLL.GenerateSiteQrCodeImage(Int32 incidentLocationId, Int32 orgId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 4207\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<CreateLocations>d__55.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 0" }
{ "timestamp": "2026-04-01 07:51:28.1544", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:52:06.9538", "level": "Error", "severity": "ERROR", "message": "A generic error occurred in GDI+.", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.\r\n   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)\r\n   at IncidentReporter.API.BLL.IncidentsBLL.GenerateSiteQrCodeImage(Int32 incidentLocationId, Int32 orgId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 4207\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<CreateLocations>d__55.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 0" }
{ "timestamp": "2026-04-01 07:52:06.9669", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 07:52:41.0026", "level": "Error", "severity": "ERROR", "message": "A generic error occurred in GDI+.", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.\r\n   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)\r\n   at IncidentReporter.API.BLL.IncidentsBLL.GenerateSiteQrCodeImage(Int32 incidentLocationId, Int32 orgId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 4207\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<CreateLocations>d__55.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 0" }
{ "timestamp": "2026-04-01 07:52:41.0103", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:09:16.0587", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 08:09:16.1366", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:09:18.3174", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 08:09:18.3174", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:09:30.5037", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 08:09:30.5172", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:10:15.4218", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 08:10:15.4284", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:10:24.3125", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 08:10:24.3181", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:11:35.4792", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 08:11:35.9270", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:15:33.1003", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 08:42:49.5085", "level": "Error", "severity": "ERROR", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-04-01 08:55:28.5004", "level": "Error", "severity": "ERROR", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-04-01 08:58:32.5070", "level": "Error", "severity": "ERROR", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-04-01 09:13:21.4817", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 09:13:21.5520", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 09:17:59.7621", "level": "Error", "severity": "ERROR", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-04-01 09:18:00.2120", "level": "Error", "severity": "ERROR", "message": "Object reference not set to an instance of an object.", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.API.BLL.WorkPermitBLL.<GetAllWorkPermitCategories>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitBLL.cs:line 2832" }
{ "timestamp": "2026-04-01 09:18:00.3002", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 09:18:06.2821", "level": "Error", "severity": "ERROR", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-04-01 09:30:23.3031", "level": "Error", "severity": "ERROR", "message": "Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.", "stackTrace": "System.IO.FileNotFoundException: Could not find file 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'.\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\\ExportSafetyAlert.html'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SafetyAlertPDFHelper.cs:line 68\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyAlertsBll.cs:line 704" }
{ "timestamp": "2026-04-01 09:30:23.3154", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 10:27:15.9088", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:01:43.5598", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:04:45.7805", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:06:32.7785", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:07:50.9295", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:37:39.0565", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:37:39.2586", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:40:40.2657", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 11:54:27.4618", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:04:58.8806", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:08:19.7745", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:24:34.5065", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:27:55.7577", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:30:15.9571", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:30:52.2894", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:47:10.6518", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:48:21.9368", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:52:13.7243", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-04-01 12:52:14.3890", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:52:14.6713", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-04-01 12:52:14.6891", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:52:14.7841", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-04-01 12:52:14.7841", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 12:52:14.8921", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-04-01 12:52:14.8921", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:09:09.7379", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:11:08.8047", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:17:20.9696", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:17:51.4641", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:17:56.2067", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:18:05.8567", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:18:11.8190", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:19:05.1870", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:19:51.4430", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:25:35.4896", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:25:46.1106", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:56:56.8404", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:57:10.5520", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 13:57:25.2953", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:11:47.8854", "level": "Error", "severity": "ERROR", "message": "Object reference not set to an instance of an object.", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at IncidentReporter.API.BLL.InspectionsBLL.<ExportInspectionPDF>d__12.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\InspectionsBLL.cs:line 1109" }
{ "timestamp": "2026-04-01 14:11:47.9015", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:42:08.1073", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:45:09.9720", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:45:22.8612", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:51:37.3591", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:52:08.0850", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:52:39.0874", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:53:13.3372", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:53:43.6106", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 14:57:26.2712", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:04:09.9076", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:05:24.1913", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:05:50.2145", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:06:14.6744", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:06:40.1112", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:10:52.4994", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:27:46.3476", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:42:37.4342", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:48:56.6547", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:48:56.8301", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:56:50.2805", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 15:57:12.1459", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:42:16.8328", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:42:36.2825", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:43:43.1275", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:50:22.8701", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:50:32.3211", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:50:37.7599", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:51:40.8633", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:52:19.7173", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:55:25.7072", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 16:57:29.6401", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:02:58.6568", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:03:11.6710", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:03:20.0360", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:03:48.7417", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:06:02.9074", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:06:11.8249", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:06:20.4949", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:06:32.2860", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:13:14.6979", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:13:27.8901", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:23:45.2794", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:23:56.5688", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:27:26.6588", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:27:46.6225", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:32:19.1112", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:32:52.8497", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:48:21.4078", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:48:44.5062", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:48:51.0398", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:49:44.9061", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:50:14.6512", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:52:09.3716", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:53:10.4365", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 17:53:57.1465", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 18:01:21.1355", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 18:01:59.6986", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-04-01 18:02:43.5057", "level": "Error", "severity": "ERROR" }
