{ "timestamp": "2026-09-10 05:34:22.0517", "level": "Error", "severity": "ERROR", "TraceId": "4cf2179a-8eeb-4c36-aa89-f3fa5d8ce0ee", "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__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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": "4cf2179a-8eeb-4c36-aa89-f3fa5d8ce0ee", "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-10 06:16:20.5344", "level": "Error", "severity": "ERROR", "TraceId": "77676c32-da72-4b1e-b3a3-768ece69bb6a", "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__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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": "77676c32-da72-4b1e-b3a3-768ece69bb6a", "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-10 07:38:49.5058", "level": "Error", "severity": "ERROR", "TraceId": "2e36a0c5-3154-4e66-85ff-542bb9e24971", "message": "Failed to send audit log: BadRequest\nRequest Payload: {\"EntityTypeId\":43,\"EntityId\":211,\"ChangedBy\":{\"UserId\":1955,\"Name\":null},\"ChangeType\":\"Updated\",\"OldValue\":{\"OrganisationId\":\"8G8U3R\",\"OrganisationName\":\"Galecto Inc.\",\"OrganisationType\":\"Construction\",\"Packages\":[{\"PackageId\":1,\"InvoiceId\":306,\"StartDate\":\"2024-09-03T00:00:00\",\"EndDate\":\"2024-09-18T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":null},{\"PackageId\":1,\"InvoiceId\":308,\"StartDate\":\"2024-09-04T00:00:00\",\"EndDate\":\"2025-12-30T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":\"\"},{\"PackageId\":4,\"InvoiceId\":408,\"StartDate\":\"2025-12-31T00:00:00\",\"EndDate\":\"2026-12-31T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":\"\"}],\"EnabledPayments\":\"No\",\"EnableSMSNotifications\":\"No\",\"EnableCallOut\":\"No\",\"OrganisationModules\":{\"Action Trackers IsVisible\":0,\"Appointments IsVisible\":0,\"Areas IsVisible\":0,\"Assets IsVisible\":1,\"Attendance IsVisible\":0,\"Audit Management IsVisible\":1,\"Audit V2 IsVisible\":1,\"Breakdown Maintenance IsVisible\":0,\"Bulk Export IsVisible\":0,\"Companies IsVisible\":1,\"Consequence Management IsVisible\":0,\"Contractor Lifecycle IsVisible\":0,\"Courses IsVisible\":0,\"Customer Complaints IsVisible\":0,\"Dashboard IsVisible\":1,\"Dashboard V2 IsVisible\":0,\"Departments IsVisible\":0,\"Employee Recognition IsVisible\":0,\"Environment Management IsVisible\":0,\"Esg IsVisible\":0,\"FIR IsVisible\":0,\"Health IsVisible\":0,\"Health V2 IsVisible\":0,\"Heatmap IsVisible\":1,\"HIRA IsVisible\":1,\"HIRA V2 IsVisible\":0,\"Incident Management IsVisible\":1,\"Inspection V2 IsVisible\":0,\"Inspections IsVisible\":1,\"Inventory IsVisible\":0,\"Investigations IsVisible\":0,\"IoT Device Types IsVisible\":0,\"IoT Devices IsVisible\":0,\"Kiken Yochi Training IsVisible\":0,\"KPI IsVisible\":0,\"Library IsVisible\":0,\"Library V2 IsVisible\":0,\"MOC IsVisible\":1,\"Moc V2 IsVisible\":0,\"My training IsVisible\":0,\"Nominations IsVisible\":0,\"Notifications IsVisible\":0,\"Oqo Chatbot IsVisible\":0,\"Organisations IsVisible\":1,\"OsmoVision IsVisible\":0,\"Periodic Health Checkup IsVisible\":0,\"Permit to work IsVisible\":1,\"PMC V2 IsVisible\":0,\"PPE Issuance IsVisible\":1,\"Pre Startup Safety Review IsVisible\":0,\"Precast IsVisible\":0,\"Preventive Maintenance IsVisible\":0,\"Processes IsVisible\":0,\"Projects IsVisible\":0,\"PSSR IsVisible\":1,\"Quality Management IsVisible\":0,\"r6 IsVisible\":0,\"Reports IsVisible\":0,\"Reports V2 IsVisible\":0,\"Roles IsVisible\":1,\"Safety Alerts IsVisible\":0,\"Safety Kaizen IsVisible\":0,\"Safety Kaizen V2 IsVisible\":0,\"Sections IsVisible\":0,\"Setup IsVisible\":1,\"Sites IsVisible\":1,\"Support IsVisible\":0,\"Tasks IsVisible\":1,\"Tickets IsVisible\":1,\"TNI IsVisible\":0,\"TNI Progress IsVisible\":0,\"TNI V2 IsVisible\":0,\"Toolbox Talk IsVisible\":0,\"Training register IsVisible\":0,\"Training report IsVisible\":0,\"Users IsVisible\":1,\"Visitor Management IsVisible\":0,\"Work Permit IsVisible\":0,\"Work Permit V2 IsVisible\":0,\"Zones IsVisible\":0},\"PtwPreferences\":null},\"NewValue\":{\"OrganisationId\":\"8G8U3R\",\"OrganisationName\":\"Galecto Inc.\",\"OrganisationType\":\"Construction\",\"Packages\":[{\"PackageId\":1,\"InvoiceId\":306,\"StartDate\":\"2024-09-03T00:00:00\",\"EndDate\":\"2024-09-18T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":null},{\"PackageId\":1,\"InvoiceId\":308,\"StartDate\":\"2024-09-04T00:00:00\",\"EndDate\":\"2025-12-30T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":\"\"},{\"PackageId\":4,\"InvoiceId\":408,\"StartDate\":\"2025-12-31T00:00:00\",\"EndDate\":\"2026-12-31T00:00:00\",\"OrganisationId\":null,\"IsActive\":null,\"CreatedOn\":\"0001-01-01T00:00:00\",\"ModifiedOn\":\"0001-01-01T00:00:00\",\"Comments\":\"\"}],\"EnabledPayments\":\"No\",\"EnableSMSNotifications\":\"No\",\"EnableCallOut\":\"No\",\"OrganisationModules\":{\"Action Trackers IsVisible\":0,\"Appointments IsVisible\":0,\"Areas IsVisible\":0,\"Assets IsVisible\":1,\"Attendance IsVisible\":0,\"Audit Management IsVisible\":1,\"Audit V2 IsVisible\":1,\"Breakdown Maintenance IsVisible\":0,\"Bulk Export IsVisible\":0,\"Companies IsVisible\":1,\"Consequence Management IsVisible\":0,\"Contractor Lifecycle IsVisible\":0,\"Courses IsVisible\":0,\"Customer Complaints IsVisible\":0,\"Dashboard IsVisible\":1,\"Dashboard V2 IsVisible\":0,\"Departments IsVisible\":0,\"Employee Recognition IsVisible\":0,\"Environment Management IsVisible\":0,\"Esg IsVisible\":0,\"FIR IsVisible\":0,\"Health IsVisible\":0,\"Health V2 IsVisible\":0,\"Heatmap IsVisible\":1,\"HIRA IsVisible\":1,\"HIRA V2 IsVisible\":0,\"Incident Management IsVisible\":1,\"Inspection V2 IsVisible\":0,\"Inspections IsVisible\":1,\"Inventory IsVisible\":0,\"Investigations IsVisible\":0,\"IoT Device Types IsVisible\":0,\"IoT Devices IsVisible\":0,\"Kiken Yochi Training IsVisible\":0,\"KPI IsVisible\":0,\"Library IsVisible\":0,\"Library V2 IsVisible\":0,\"MOC IsVisible\":1,\"Moc V2 IsVisible\":0,\"My training IsVisible\":0,\"Nominations IsVisible\":0,\"Notifications IsVisible\":0,\"Oqo Chatbot IsVisible\":0,\"Organisations IsVisible\":1,\"OsmoVision IsVisible\":0,\"Periodic Health Checkup IsVisible\":0,\"Permit to work IsVisible\":1,\"PMC V2 IsVisible\":0,\"PPE Issuance IsVisible\":1,\"Pre Startup Safety Review IsVisible\":0,\"Precast IsVisible\":0,\"Preventive Maintenance IsVisible\":0,\"Processes IsVisible\":0,\"Projects IsVisible\":0,\"PSSR IsVisible\":1,\"Quality Management IsVisible\":0,\"r6 IsVisible\":0,\"Reports IsVisible\":0,\"Reports V2 IsVisible\":0,\"Roles IsVisible\":1,\"Safety Alerts IsVisible\":0,\"Safety Kaizen IsVisible\":0,\"Safety Kaizen V2 IsVisible\":0,\"Sections IsVisible\":0,\"Setup IsVisible\":1,\"Sites IsVisible\":1,\"Support IsVisible\":0,\"Tasks IsVisible\":1,\"Tickets IsVisible\":1,\"TNI IsVisible\":0,\"TNI Progress IsVisible\":0,\"TNI V2 IsVisible\":0,\"Toolbox Talk IsVisible\":0,\"Training register IsVisible\":0,\"Training report IsVisible\":0,\"Users IsVisible\":1,\"Visitor Management IsVisible\":0,\"Work Permit IsVisible\":0,\"Work Permit V2 IsVisible\":0,\"Zones IsVisible\":0},\"PtwPreferences\":null}}\nAPI Response: {\"type\":\"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\"title\":\"One or more validation errors occurred.\",\"status\":400,\"errors\":{\"ChangedBy.Name\":[\"The Name field is required.\"]},\"traceId\":\"00-e53eb4e6c7c13d7fca3a684428d8c6ac-b0df8a2eeadf218e-00\"}", "ApiInput": {"Method":"PUT","Url":"https://myhome-api-staging.oqsha.com/Dashboard/UpdateOrganisation/211","Route":"/Dashboard/UpdateOrganisation/211","Query":"","Body":{"Id":211,"FirstName":"Renard","Lastname":"Whatley","DisplayName":"RenardWhatley","OrganisationIcon":"","OrganisationName":"Galecto Inc.","OrganisationShortCode":"GLTO","TimezoneId":1,"IsCloseOrganisation":true,"Email":"MH_Admin_HO@oqsha.com","OrganisationUid":"8G8U3R","UserId":1955,"Address":"Mount Olive","AllowPortalUserCreation":false,"NotificationTimeWindow":{"NotificationTimeRestrictionEnabled":false,"StartTime":"00:00:00","EndTime":"00:00:00"},"OwnerIds":[1955]}} }
{ "timestamp": "2026-09-10 07:46:38.2769", "level": "Error", "severity": "ERROR", "TraceId": "5ddb7369-872e-4955-ac88-cf368e10a217", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\204\\incidents\\images\\image1789026394189_76298900-7ef3-491b-aedc-b27875a5a905.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://comer-api-staging.oqsha.com/Incidents/79500/UploadMedia","Route":"/Incidents/79500/UploadMedia","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 07:48:53.9663", "level": "Error", "severity": "ERROR", "TraceId": "1e969c49-7680-4ff9-889e-e79369f09ccb", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\204\\incidents\\Screenshot20260910123918AndroidSystem_79ed8028-b54b-4d11-89dd-ba76bbf9c2c5.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":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/79501","Route":"/Organisations/204/Incidents/79501","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 07:48:55.3812", "level": "Error", "severity": "ERROR", "TraceId": "1e969c49-7680-4ff9-889e-e79369f09ccb", "message": "System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\\iis\\api-qa-staging.oqsha.com\\Templates\\IncidentStatusUpdateEmail.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.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\EmailHelper.cs:line 40", "stackTrace": "System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\\iis\\api-qa-staging.oqsha.com\\Templates\\IncidentStatusUpdateEmail.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.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\EmailHelper.cs:line 40", "ApiInput": {"Method":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/79501","Route":"/Organisations/204/Incidents/79501","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 07:49:16.5472", "level": "Error", "severity": "ERROR", "TraceId": "6fb960a4-1f8f-4bf9-a3c6-696661a3058c", "message": "System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\\iis\\api-qa-staging.oqsha.com\\Templates\\IncidentStatusUpdateEmail.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.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\EmailHelper.cs:line 40", "stackTrace": "System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\\iis\\api-qa-staging.oqsha.com\\Templates\\IncidentStatusUpdateEmail.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.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\EmailHelper.cs:line 40", "ApiInput": {"Method":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/79501","Route":"/Organisations/204/Incidents/79501","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 09:10:33.4996", "level": "Error", "severity": "ERROR", "TraceId": "0290dd4f-6eab-4043-81bd-0b75420de584", "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__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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://neco-api-staging.oqsha.com/Organisation/264/Embed/GuestToken","Route":"/Organisation/264/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"4"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "0290dd4f-6eab-4043-81bd-0b75420de584", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/neco-api-staging.oqsha.com\/Organisation\/264\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/264\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"4\"}}" }
{ "timestamp": "2026-09-10 09:12:54.3453", "level": "Error", "severity": "ERROR", "TraceId": "74315e1e-84b9-4fc1-9784-94a367afc390", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\204\\permit-to-work-history\\image1789031564321_3e605c62-b66a-4dea-8935-c866b85a1a7a.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://comer-api-staging.oqsha.com/Organisations/204/PermitToWork/443862/PermitToWorkHistory","Route":"/Organisations/204/PermitToWork/443862/PermitToWorkHistory","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 09:20:41.1670", "level": "Error", "severity": "ERROR", "TraceId": "df4d0f7a-a51c-4173-be9a-c26afd17a365", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\204\\incidents\\Screenshot20260910123346_53799bbc-ca30-406d-81e7-9921f2d15a68.png: 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":"PUT","Url":"https://comer-api-staging.oqsha.com/Organisations/204/Incidents/79500","Route":"/Organisations/204/Incidents/79500","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 09:35:30.3618", "level": "Error", "severity": "ERROR", "TraceId": "2afd1e0c-3051-44b7-8384-40feffd62b48", "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-09-10 09:51:02.9870", "level": "Error", "severity": "ERROR", "TraceId": "5cc84c3a-2830-4277-b5e8-1bd80ccfed22", "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/Organisation/211/UserDetails","Route":"/Organisation/211/UserDetails","Query":"","Body":""} }
{ "timestamp": "2026-09-10 10:51:54.3441", "level": "Error", "severity": "ERROR", "TraceId": "b1f7d570-f32c-4a9b-9eff-2383db2e4a72", "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__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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://neco-api-staging.oqsha.com/Organisation/264/Embed/GuestToken","Route":"/Organisation/264/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"4"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "b1f7d570-f32c-4a9b-9eff-2383db2e4a72", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/neco-api-staging.oqsha.com\/Organisation\/264\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/264\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"4\"}}" }
{ "timestamp": "2026-09-10 10:53:05.2182", "level": "Error", "severity": "ERROR", "TraceId": "21f47019-645a-4f12-b36b-25318d96a0a2", "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=6.6.0","Route":"/Modules/Version/All","Query":"?Appversion=6.6.0","Body":""} }
{ "timestamp": "2026-09-10 12:13:54.1409", "level": "Error", "severity": "ERROR", "TraceId": "4ef8b4e7-e4be-4371-908a-3b2d80b2f1c5", "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/Modules/Version/All?Appversion=7.9.0","Route":"/Modules/Version/All","Query":"?Appversion=7.9.0","Body":""} }
{ "timestamp": "2026-09-10 12:53:05.8515", "level": "Error", "severity": "ERROR", "TraceId": "8d69cfbd-6dac-4417-90ea-42bd6ef1fa39", "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/5517/Organisations/","Route":"/Users/5517/Organisations/","Query":"","Body":""} }
{ "timestamp": "2026-09-10 13:26:27.3577", "level": "Error", "severity": "ERROR", "TraceId": "d39386c0-6846-4c29-93ab-903ee4163357", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\users\\Media_ef98e1ba-8b88-43f5-8d45-7d0cc9cd2cd9.jpg: 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://ttk-api-staging.oqsha.com/Users/23472/UploadUsersAssociatedMedia","Route":"/Users/23472/UploadUsersAssociatedMedia","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-09-10 13:39:56.5083", "level": "Error", "severity": "ERROR", "TraceId": "4521b941-6417-4938-b359-2fe45217eea1", "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__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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://neco-api-staging.oqsha.com/Organisation/264/Embed/GuestToken","Route":"/Organisation/264/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"4"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "4521b941-6417-4938-b359-2fe45217eea1", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/neco-api-staging.oqsha.com\/Organisation\/264\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/264\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"4\"}}" }
{ "timestamp": "2026-09-10 17:49:24.2818", "level": "Error", "severity": "ERROR", "TraceId": "f7add74e-b6fa-45a9-8284-489c5d31e4e7", "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__15.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 95\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__14.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\SupersetClient.cs:line 71\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": "f7add74e-b6fa-45a9-8284-489c5d31e4e7", "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\"}}" }
