{ "timestamp": "2026-06-26 04:02:23.6669", "level": "Error", "severity": "ERROR", "TraceId": "ca298229-f7b4-4da2-9f79-9b94a38d3451", "message": "Unhandled Exception in Web API", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/AccessControl/Modules/211","Route":"/AccessControl/Modules/211","Query":"","Body":""} }
{ "timestamp": "2026-06-26 04:35:57.3161", "level": "Error", "severity": "ERROR", "TraceId": "21678015-5081-4113-9639-4c264022dec0", "message": "Nullable object must have a value.", "stackTrace": "System.InvalidOperationException: Nullable object must have a value.\r\n   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at IncidentReporter.API.BLL.PtwBLL.<GetWorkPermitDetailsByPermitId>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PtwBLL.cs:line 0", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/393540?extensionRequestedDate=2026-06-26","Route":"/Organisations/211/PermitToWork/393540","Query":"?extensionRequestedDate=2026-06-26","Body":""}, "MethodName": "GetWorkPermitDetailsByPermitId", "EntryPoint": "API", "InputData": null, "TraceId": "21678015-5081-4113-9639-4c264022dec0", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/PermitToWork\/393540?extensionRequestedDate=2026-06-26\",\"Route\":\"\/Organisations\/211\/PermitToWork\/393540\",\"Query\":\"?extensionRequestedDate=2026-06-26\",\"Body\":\"\"}" }
{ "timestamp": "2026-06-26 04:36:16.0053", "level": "Error", "severity": "ERROR", "TraceId": "3acc2f8e-739d-4320-bded-e0b78d97cab9", "message": "Nullable object must have a value.", "stackTrace": "System.InvalidOperationException: Nullable object must have a value.\r\n   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at IncidentReporter.API.BLL.PtwBLL.<GetWorkPermitDetailsByPermitId>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PtwBLL.cs:line 0", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/393540?extensionRequestedDate=2026-06-26","Route":"/Organisations/211/PermitToWork/393540","Query":"?extensionRequestedDate=2026-06-26","Body":""}, "MethodName": "GetWorkPermitDetailsByPermitId", "EntryPoint": "API", "InputData": null, "TraceId": "3acc2f8e-739d-4320-bded-e0b78d97cab9", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/PermitToWork\/393540?extensionRequestedDate=2026-06-26\",\"Route\":\"\/Organisations\/211\/PermitToWork\/393540\",\"Query\":\"?extensionRequestedDate=2026-06-26\",\"Body\":\"\"}" }
{ "timestamp": "2026-06-26 06:21:32.1133", "level": "Error", "severity": "ERROR", "TraceId": "f00776ce-68fd-4e1a-87e8-b9da7b1acd88", "message": "Unhandled Exception in Web API", "stackTrace": "System.InvalidOperationException: The given header was not found.\r\n   at System.Net.Http.Headers.HttpHeaders.GetValues(String name)\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.GetToken(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 214\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.OnActionExecuting(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 37\r\n   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken)\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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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 System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Dashboard/Organisation/387","Route":"/Dashboard/Organisation/387","Query":"","Body":""} }
{ "timestamp": "2026-06-26 07:18:03.1896", "level": "Error", "severity": "ERROR", "TraceId": "5b2c5f89-e2a6-477c-9cd6-20ab8ca048f5", "message": "Unexpected character encountered while parsing value: <. Path '', line 0, position 0.", "stackTrace": "Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.\r\n   at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\r\n   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)\r\n   at IncidentReporter.DAL.Helpers.HttpRequestHelper.<DeserializeHttpResponseAsync>d__4`1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Helpers\\HttpRequestHelper.cs:line 0\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.IotDevicesBLL.<GetAllIotDeviceTypes>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 57", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/deviceTypes","Route":"/Organisations/262/deviceTypes","Query":"","Body":""}, "MethodName": "GetAllIotDeviceTypes", "EntryPoint": "API", "InputData": null, "TraceId": "5b2c5f89-e2a6-477c-9cd6-20ab8ca048f5", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/262\/deviceTypes\",\"Route\":\"\/Organisations\/262\/deviceTypes\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-06-26 07:35:02.7734", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending." }
{ "timestamp": "2026-06-26 09:30:59.4249", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-06-26 09:44:59.3991", "level": "Error", "severity": "ERROR", "TraceId": "e33d2464-a9c0-4a11-baf6-d1ccc09b38f5", "message": "Unhandled Exception in Web API", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Nominations/Nomination-Statuses","Route":"/Organisations/264/Nominations/Nomination-Statuses","Query":"","Body":""} }
{ "timestamp": "2026-06-26 10:28:23.7714", "level": "Error", "severity": "ERROR", "TraceId": "16d07ce4-1278-4f80-b7da-3b1ce24cffeb", "message": "Nullable object must have a value.", "stackTrace": "System.InvalidOperationException: Nullable object must have a value.\r\n   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at IncidentReporter.API.BLL.PtwBLL.<GetWorkPermitDetailsByPermitId>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PtwBLL.cs:line 0", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/393850?extensionRequestedDate=2026-06-26","Route":"/Organisations/211/PermitToWork/393850","Query":"?extensionRequestedDate=2026-06-26","Body":""}, "MethodName": "GetWorkPermitDetailsByPermitId", "EntryPoint": "API", "InputData": null, "TraceId": "16d07ce4-1278-4f80-b7da-3b1ce24cffeb", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/PermitToWork\/393850?extensionRequestedDate=2026-06-26\",\"Route\":\"\/Organisations\/211\/PermitToWork\/393850\",\"Query\":\"?extensionRequestedDate=2026-06-26\",\"Body\":\"\"}" }
{ "timestamp": "2026-06-26 12:02:38.6880", "level": "Error", "severity": "ERROR", "TraceId": "ee4314a5-9b00-4621-bc73-ff400c44452e", "message": "Unhandled Exception in Web API", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Modules/Version/All?Appversion=7.9.0","Route":"/Modules/Version/All","Query":"?Appversion=7.9.0","Body":""} }
{ "timestamp": "2026-06-26 12:10:22.4975", "level": "Error", "severity": "ERROR", "TraceId": "4ce230a4-e44d-4700-a431-34ee38495afc", "message": "Unhandled Exception in Web API", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Users/2176/FieldStaffOrganisations/","Route":"/Users/2176/FieldStaffOrganisations/","Query":"","Body":""} }
{ "timestamp": "2026-06-26 12:18:10.3479", "level": "Error", "severity": "ERROR", "TraceId": "b8c25b78-aec6-444b-a7d3-f7dcd3d1a56b", "message": "Unhandled Exception in Web API", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\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.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards","Route":"/Organisations/264/Reports/Dashboards","Query":"","Body":""} }
{ "timestamp": "2026-06-26 12:29:55.4045", "level": "Error", "severity": "ERROR", "TraceId": "ae29cc68-b93c-4bca-a634-4a048ecbda9d", "message": "Nullable object must have a value.", "stackTrace": "System.InvalidOperationException: Nullable object must have a value.\r\n   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at IncidentReporter.API.BLL.PtwBLL.<GetWorkPermitDetailsByPermitId>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PtwBLL.cs:line 0", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/393894?extensionRequestedDate=2026-06-26","Route":"/Organisations/211/PermitToWork/393894","Query":"?extensionRequestedDate=2026-06-26","Body":""}, "MethodName": "GetWorkPermitDetailsByPermitId", "EntryPoint": "API", "InputData": null, "TraceId": "ae29cc68-b93c-4bca-a634-4a048ecbda9d", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/PermitToWork\/393894?extensionRequestedDate=2026-06-26\",\"Route\":\"\/Organisations\/211\/PermitToWork\/393894\",\"Query\":\"?extensionRequestedDate=2026-06-26\",\"Body\":\"\"}" }
{ "timestamp": "2026-06-26 13:09:58.6716", "level": "Error", "severity": "ERROR", "TraceId": "d91541e4-8441-410d-b0b0-a373f67d4d8c", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation.", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/260/Users/0","Route":"/Organisations/260/Users/0","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "d91541e4-8441-410d-b0b0-a373f67d4d8c", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/260\/Users\/0\",\"Route\":\"\/Organisations\/260\/Users\/0\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-06-26 20:59:43.1166", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
