{ "timestamp": "2026-09-28 03:50:31.3029", "level": "Error", "severity": "ERROR", "TraceId": "5fe1a5da-0da0-49fd-b386-0c2aa55c88ac", "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/Users/23889/FieldStaffOrganisations/","Route":"/Users/23889/FieldStaffOrganisations/","Query":"","Body":""} }
{ "timestamp": "2026-09-28 06:53:19.2094", "level": "Error", "severity": "ERROR", "TraceId": "697f6465-f00e-4447-8044-aacd13f58f57", "message": "Response status code does not indicate success: 400 (BAD REQUEST).", "stackTrace": "System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   at IncidentReporter.API.Helpers.SupersetClient.<PostGuestTokenAsync>d__16.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 107\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.Helpers.SupersetClient.<MintGuestTokenAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 83\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.EmbedBll.<GetGuestTokenAsync>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\EmbedBll.cs:line 120", "ApiInput": {"Method":"POST","Url":"https://sibelco-api-staging.oqsha.com/Organisation/271/Embed/GuestToken","Route":"/Organisation/271/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"8"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "697f6465-f00e-4447-8044-aacd13f58f57", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/sibelco-api-staging.oqsha.com\/Organisation\/271\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/271\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"8\"}}" }
{ "timestamp": "2026-09-28 06:57:59.8244", "level": "Error", "severity": "ERROR", "TraceId": "a0a96e42-546e-426f-84b8-d5f139336a2b", "message": "Response status code does not indicate success: 400 (BAD REQUEST).", "stackTrace": "System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   at IncidentReporter.API.Helpers.SupersetClient.<PostGuestTokenAsync>d__16.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 107\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.Helpers.SupersetClient.<MintGuestTokenAsync>d__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 83\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.EmbedBll.<GetGuestTokenAsync>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\EmbedBll.cs:line 120", "ApiInput": {"Method":"POST","Url":"https://shivganga-api-staging.oqsha.com/Organisation/262/Embed/GuestToken","Route":"/Organisation/262/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"3"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "a0a96e42-546e-426f-84b8-d5f139336a2b", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/shivganga-api-staging.oqsha.com\/Organisation\/262\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/262\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"3\"}}" }
{ "timestamp": "2026-09-28 09:40:30.2950", "level": "Error", "severity": "ERROR", "TraceId": "67633441-5ed1-49aa-97d2-56219da8058c", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/80282","Route":"/Organisations/204/Incidents/80282","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "67633441-5ed1-49aa-97d2-56219da8058c", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/comer-api-staging.oqsha.com\/Organisations\/204\/Incidents\/80282\",\"Route\":\"\/Organisations\/204\/Incidents\/80282\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 09:44:09.4694", "level": "Error", "severity": "ERROR", "TraceId": "90fce990-116c-4c5a-b6b7-e787137b2c06", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/80282","Route":"/Organisations/204/Incidents/80282","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "90fce990-116c-4c5a-b6b7-e787137b2c06", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/comer-api-staging.oqsha.com\/Organisations\/204\/Incidents\/80282\",\"Route\":\"\/Organisations\/204\/Incidents\/80282\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 10:08:16.8584", "level": "Error", "severity": "ERROR", "TraceId": "986c7d1d-ca0f-4d62-a61e-927bedfdc9ec", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80283","Route":"/Organisations/232/Incidents/80283","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "986c7d1d-ca0f-4d62-a61e-927bedfdc9ec", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80283\",\"Route\":\"\/Organisations\/232\/Incidents\/80283\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 10:09:29.0796", "level": "Error", "severity": "ERROR", "TraceId": "4d0cdd35-c079-477c-83e5-58bc431256fc", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80283","Route":"/Organisations/232/Incidents/80283","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "4d0cdd35-c079-477c-83e5-58bc431256fc", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80283\",\"Route\":\"\/Organisations\/232\/Incidents\/80283\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 10:10:47.8235", "level": "Error", "severity": "ERROR", "TraceId": "da7e90c6-0baf-4564-b89f-9bff2e4b39ed", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80283","Route":"/Organisations/232/Incidents/80283","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "da7e90c6-0baf-4564-b89f-9bff2e4b39ed", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80283\",\"Route\":\"\/Organisations\/232\/Incidents\/80283\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 10:55:44.1842", "level": "Error", "severity": "ERROR", "TraceId": "36c05473-0445-46cb-9f9d-05773ec578b6", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\232\\incidents\\images\\Screenshot20260925192410OQSHA_fdcbe30e-2dea-40c7-939d-df32ce322cd0.jpeg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://fcpl-api-staging.oqsha.com/Incidents/80284/UploadMedia","Route":"/Incidents/80284/UploadMedia","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-28 10:58:29.0695", "level": "Error", "severity": "ERROR", "TraceId": "4af66f0c-d936-4299-81d3-64445187497c", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80284","Route":"/Organisations/232/Incidents/80284","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "4af66f0c-d936-4299-81d3-64445187497c", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80284\",\"Route\":\"\/Organisations\/232\/Incidents\/80284\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 10:58:37.9363", "level": "Error", "severity": "ERROR", "TraceId": "4ca0022b-7e13-4a87-b75e-74bb60f0ef40", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80284","Route":"/Organisations/232/Incidents/80284","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "4ca0022b-7e13-4a87-b75e-74bb60f0ef40", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80284\",\"Route\":\"\/Organisations\/232\/Incidents\/80284\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 11:08:53.1803", "level": "Error", "severity": "ERROR", "TraceId": "4bfd52cb-f312-475c-8374-2488c896b2c7", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80285","Route":"/Organisations/232/Incidents/80285","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "4bfd52cb-f312-475c-8374-2488c896b2c7", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80285\",\"Route\":\"\/Organisations\/232\/Incidents\/80285\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 11:09:00.9566", "level": "Error", "severity": "ERROR", "TraceId": "6a528800-09a0-4c04-8f7b-9518898bedf4", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/Incidents/80285","Route":"/Organisations/232/Incidents/80285","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "6a528800-09a0-4c04-8f7b-9518898bedf4", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/fcpl-api-staging.oqsha.com\/Organisations\/232\/Incidents\/80285\",\"Route\":\"\/Organisations\/232\/Incidents\/80285\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 11:28:10.2328", "level": "Error", "severity": "ERROR", "TraceId": "506e7092-d148-4964-b47b-ea5d799a1e5a", "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/APIs","Route":"/Modules/APIs","Query":"","Body":""} }
{ "timestamp": "2026-09-28 11:28:10.2432", "level": "Error", "severity": "ERROR", "TraceId": "095c8d7a-bec2-456f-abaf-46cea61d7493", "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/10904/Organisations/","Route":"/Users/10904/Organisations/","Query":"","Body":""} }
{ "timestamp": "2026-09-28 11:35:10.0948", "level": "Error", "severity": "ERROR", "TraceId": "21d81702-1e2e-4512-9041-dfe7f578bacc", "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/Users/11283/Organisations/","Route":"/Users/11283/Organisations/","Query":"","Body":""} }
{ "timestamp": "2026-09-28 12:11:52.1371", "level": "Error", "severity": "ERROR", "TraceId": "d8605332-bd8b-4687-94e7-c6373f8a378a", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\232\\permit-to-work-history\\image1790597508471_88fb3b20-55ee-4890-bab7-078fdc6597e6.jpeg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://fcpl-api-staging.oqsha.com/Organisations/232/PermitToWork/458060/PermitToWorkHistory","Route":"/Organisations/232/PermitToWork/458060/PermitToWorkHistory","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-28 12:51:47.5797", "level": "Error", "severity": "ERROR", "TraceId": "fefd844b-2135-4ea8-895f-b93e742e4b55", "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/AccessControl/Modules/211","Route":"/AccessControl/Modules/211","Query":"","Body":""} }
{ "timestamp": "2026-09-28 12:57:09.7752", "level": "Error", "severity": "ERROR", "TraceId": "aaccb822-9bb7-4acd-83ae-1a54991ae802", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/80286","Route":"/Organisations/204/Incidents/80286","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "aaccb822-9bb7-4acd-83ae-1a54991ae802", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/comer-api-staging.oqsha.com\/Organisations\/204\/Incidents\/80286\",\"Route\":\"\/Organisations\/204\/Incidents\/80286\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
{ "timestamp": "2026-09-28 13:00:24.6146", "level": "Error", "severity": "ERROR", "TraceId": "bd3bb06f-5bed-4570-b705-37f121e84126", "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.IncidentsBLL.<UpdateIncident>d__29.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 2610", "ApiInput": {"Method":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/80287","Route":"/Organisations/204/Incidents/80287","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"}, "MethodName": "UpdateIncident", "EntryPoint": "API", "InputData": null, "TraceId": "bd3bb06f-5bed-4570-b705-37f121e84126", "ApiInputJson": "{\"Method\":\"PUT\",\"Url\":\"https:\/\/comer-api-staging.oqsha.com\/Organisations\/204\/Incidents\/80287\",\"Route\":\"\/Organisations\/204\/Incidents\/80287\",\"Query\":\"\",\"Body\":\"*** MULTIPART FORM DATA \/ FILE UPLOAD (OMITTED FOR LOGGING) ***\"}" }
