{ "timestamp": "2026-07-14 04:24:10.9141", "level": "Error", "severity": "ERROR", "TraceId": "4ff624ac-d4ab-4ab2-82be-78430cf968e7", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\211\\incidents\\images\\image1784003047796_2691a24f-1586-44b1-8f81-e01dc1b41489.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://api-qa-staging-2.oqsha.com/Incidents/76911/UploadMedia","Route":"/Incidents/76911/UploadMedia","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 04:28:27.4967", "level": "Error", "severity": "ERROR", "TraceId": "8d4bf848-5425-4205-b1a2-f829ff8fe3eb", "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/255/Users/0","Route":"/Organisations/255/Users/0","Query":"","Body":""}, "MethodName": "GetUserOrganisation", "EntryPoint": "API", "InputData": null, "TraceId": "8d4bf848-5425-4205-b1a2-f829ff8fe3eb", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/255\/Users\/0\",\"Route\":\"\/Organisations\/255\/Users\/0\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-14 06:03:06.5770", "level": "Error", "severity": "ERROR", "TraceId": "3ac9e606-5c97-427e-985b-d545df5a1aed", "message": "Incorrect date value: '46219' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46219' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":32,"Field":"dispatch_date","Value":"46219"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "3ac9e606-5c97-427e-985b-d545df5a1aed", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":32,\"Field\":\"dispatch_date\",\"Value\":\"46219\"}]}}" }
{ "timestamp": "2026-07-14 06:03:21.3902", "level": "Error", "severity": "ERROR", "TraceId": "a3522de0-676c-43e5-a44b-7de5501e22d0", "message": "Incorrect date value: '46219' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46219' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":32,"Field":"dispatch_date","Value":"46219"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "a3522de0-676c-43e5-a44b-7de5501e22d0", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":32,\"Field\":\"dispatch_date\",\"Value\":\"46219\"}]}}" }
{ "timestamp": "2026-07-14 06:03:39.2671", "level": "Error", "severity": "ERROR", "TraceId": "bb58fe5b-23a6-4982-b2c6-864f3587fe34", "message": "Incorrect date value: '46219' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46219' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":13,"Field":"dispatch_date","Value":"46219"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "bb58fe5b-23a6-4982-b2c6-864f3587fe34", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":13,\"Field\":\"dispatch_date\",\"Value\":\"46219\"}]}}" }
{ "timestamp": "2026-07-14 06:04:37.5234", "level": "Error", "severity": "ERROR", "TraceId": "9c4e370c-ccc4-41a9-a235-9e07382c5fd6", "message": "Incorrect date value: '46220' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46220' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":14,"Field":"dispatch_date","Value":"46220"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "9c4e370c-ccc4-41a9-a235-9e07382c5fd6", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":14,\"Field\":\"dispatch_date\",\"Value\":\"46220\"}]}}" }
{ "timestamp": "2026-07-14 06:04:51.5049", "level": "Error", "severity": "ERROR", "TraceId": "a7f01d8f-51eb-4f39-ad2e-482b9512362c", "message": "Incorrect date value: '46217' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46217' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":15,"Field":"dispatch_date","Value":"46217"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "a7f01d8f-51eb-4f39-ad2e-482b9512362c", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":15,\"Field\":\"dispatch_date\",\"Value\":\"46217\"}]}}" }
{ "timestamp": "2026-07-14 06:05:10.1964", "level": "Error", "severity": "ERROR", "TraceId": "952cfeab-d317-4fff-a825-7529d73fbbc2", "message": "Incorrect date value: '46221' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46221' for column `qa_stg_oqsha`.`precast_elements`.`dispatch_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":13,"Field":"dispatch_date","Value":"46221"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "952cfeab-d317-4fff-a825-7529d73fbbc2", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":13,\"Field\":\"dispatch_date\",\"Value\":\"46221\"}]}}" }
{ "timestamp": "2026-07-14 06:31:35.3063", "level": "Error", "severity": "ERROR", "TraceId": "2a6615ca-e4a0-4705-86fb-6e2c4243b926", "message": "Duplicate entry '211-12' for key 'uq_precast_elements_org_unique_id'", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '211-12' for key 'uq_precast_elements_org_unique_id'\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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 Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<InsertAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 228\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.PrecastElementsBll.<CreateAsync>d__10.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 200", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements","Route":"/Organisations/211/Precast/Elements","Query":"","Body":{"OrgId":211,"ElementType":"Wall Panel","UniqueId":"12","SdId":"12"}}, "MethodName": "CreateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "2a6615ca-e4a0-4705-86fb-6e2c4243b926", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\",\"Query\":\"\",\"Body\":{\"OrgId\":211,\"ElementType\":\"Wall Panel\",\"UniqueId\":\"12\",\"SdId\":\"12\"}}" }
{ "timestamp": "2026-07-14 07:02:55.5656", "level": "Error", "severity": "ERROR", "TraceId": "4343e868-5070-4424-be9f-50607a123aef", "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.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/262/InspectionType/637?userId=267","Route":"/Organisations/262/InspectionType/637","Query":"?userId=267","Body":""} }
{ "timestamp": "2026-07-14 07:28:25.7779", "level": "Error", "severity": "ERROR", "TraceId": "b4f9e08e-ce98-4f24-82aa-39a2c8497dbb", "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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/87/Workflows/States/Startable","Route":"/Organisations/262/Modules/87/Workflows/States/Startable","Query":"","Body":{"Dimensions":{"CategoryTypeId":["100022"]}}} }
{ "timestamp": "2026-07-14 08:38:35.3007", "level": "Error", "severity": "ERROR", "TraceId": "1ef02ada-74f2-4f23-b812-965b34d78f30", "message": "Duplicate entry '211-UNIQUE-2' for key 'uq_precast_elements_org_unique_id'", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '211-UNIQUE-2' for key 'uq_precast_elements_org_unique_id'\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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 Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<InsertAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 228\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.PrecastElementsBll.<CreateAsync>d__10.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 200", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements","Route":"/Organisations/211/Precast/Elements","Query":"","Body":{"OrgId":211,"ElementType":"Wall Panel","CustomAttrs":{},"UniqueId":"UNIQUE-2","Level":null,"Length":null,"Width":null,"Thickness":null,"VolM3":null,"TonnageMt":null,"Pour":null,"Grade":null,"PlanCastDate":null,"CastedDate":null,"PlanDispatchDate":null,"DispatchDate":null,"PlannedErectionDate":null,"ErectionDate":null,"CastingRemarks":null,"DispatchRemarks":null,"ErectionRemarks":null}}, "MethodName": "CreateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "1ef02ada-74f2-4f23-b812-965b34d78f30", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\",\"Query\":\"\",\"Body\":{\"OrgId\":211,\"ElementType\":\"Wall Panel\",\"CustomAttrs\":{},\"UniqueId\":\"UNIQUE-2\",\"Level\":null,\"Length\":null,\"Width\":null,\"Thickness\":null,\"VolM3\":null,\"TonnageMt\":null,\"Pour\":null,\"Grade\":null,\"PlanCastDate\":null,\"CastedDate\":null,\"PlanDispatchDate\":null,\"DispatchDate\":null,\"PlannedErectionDate\":null,\"ErectionDate\":null,\"CastingRemarks\":null,\"DispatchRemarks\":null,\"ErectionRemarks\":null}}" }
{ "timestamp": "2026-07-14 08:43:27.7052", "level": "Error", "severity": "ERROR", "TraceId": "b130add3-3dac-45f6-9c2d-b47a77cfeef8", "message": "Incorrect date value: '46224' for column `qa_stg_oqsha`.`precast_elements`.`plan_cast_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46224' for column `qa_stg_oqsha`.`precast_elements`.`plan_cast_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":26,"Field":"plan_cast_date","Value":"46224"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "b130add3-3dac-45f6-9c2d-b47a77cfeef8", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":26,\"Field\":\"plan_cast_date\",\"Value\":\"46224\"}]}}" }
{ "timestamp": "2026-07-14 08:43:29.1375", "level": "Error", "severity": "ERROR", "TraceId": "188a5fe0-de77-4285-a85e-0b50f560a5a2", "message": "Incorrect date value: '46214' for column `qa_stg_oqsha`.`precast_elements`.`casted_date` at row 1", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect date value: '46214' for column `qa_stg_oqsha`.`precast_elements`.`casted_date` at row 1\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()\r\n   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(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 Dapper.SqlMapper.<ExecuteImplAsync>d__39.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<UpdateCoreFieldAsync>d__9.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 358\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at IncidentReporter.API.BLL.PrecastElementsBll.<BulkUpdateAsync>d__13.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 456", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements/Bulk","Route":"/Organisations/211/Precast/Elements/Bulk","Query":"","Body":{"Changes":[{"Id":26,"Field":"casted_date","Value":"46214"}]}}, "MethodName": "BulkUpdateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "188a5fe0-de77-4285-a85e-0b50f560a5a2", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\/Bulk\",\"Query\":\"\",\"Body\":{\"Changes\":[{\"Id\":26,\"Field\":\"casted_date\",\"Value\":\"46214\"}]}}" }
{ "timestamp": "2026-07-14 08:53:31.8458", "level": "Error", "severity": "ERROR", "TraceId": "d1d14126-f67a-41ff-9958-f7f065618156", "message": "Duplicate entry '211-MWP-T3' for key 'uq_precast_elements_org_unique_id'", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '211-MWP-T3' for key 'uq_precast_elements_org_unique_id'\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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 Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<InsertAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 228\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.PrecastElementsBll.<CreateAsync>d__10.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 200", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements","Route":"/Organisations/211/Precast/Elements","Query":"","Body":{"OrgId":211,"ElementType":"Wall Panel","CustomAttrs":{},"UniqueId":"MWP-T3","Level":null,"Length":null,"Width":null,"Thickness":null,"VolM3":null,"TonnageMt":null,"Pour":null,"Grade":null,"PlanCastDate":"2026-07-14","CastedDate":"2026-07-14","PlanDispatchDate":null,"DispatchDate":null,"PlannedErectionDate":null,"ErectionDate":null,"CastingRemarks":null,"DispatchRemarks":null,"ErectionRemarks":null,"SdId":"MWP-T3"}}, "MethodName": "CreateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "d1d14126-f67a-41ff-9958-f7f065618156", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\",\"Query\":\"\",\"Body\":{\"OrgId\":211,\"ElementType\":\"Wall Panel\",\"CustomAttrs\":{},\"UniqueId\":\"MWP-T3\",\"Level\":null,\"Length\":null,\"Width\":null,\"Thickness\":null,\"VolM3\":null,\"TonnageMt\":null,\"Pour\":null,\"Grade\":null,\"PlanCastDate\":\"2026-07-14\",\"CastedDate\":\"2026-07-14\",\"PlanDispatchDate\":null,\"DispatchDate\":null,\"PlannedErectionDate\":null,\"ErectionDate\":null,\"CastingRemarks\":null,\"DispatchRemarks\":null,\"ErectionRemarks\":null,\"SdId\":\"MWP-T3\"}}" }
{ "timestamp": "2026-07-14 08:54:52.8174", "level": "Error", "severity": "ERROR", "TraceId": "321466bb-41ab-4108-80e0-ed6366471786", "message": "Duplicate entry '211-MWP-T3' for key 'uq_precast_elements_org_unique_id'", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '211-MWP-T3' for key 'uq_precast_elements_org_unique_id'\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()\r\n   at System.Data.Common.DbCommand.ExecuteScalarAsync(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 Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.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 IncidentReporter.DAL.Repositories.PrecastElementsRepo.<InsertAsync>d__6.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\PrecastElementsRepo.cs:line 228\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.PrecastElementsBll.<CreateAsync>d__10.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\PrecastElementsBll.cs:line 200", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/Precast/Elements","Route":"/Organisations/211/Precast/Elements","Query":"","Body":{"OrgId":211,"ElementType":"Wall Panel","UniqueId":"MWP-T3","SdId":"MWP-T3","PlanCastDate":"2026-07-14","CastedDate":"2026-07-14"}}, "MethodName": "CreateAsync", "EntryPoint": "API", "InputData": null, "TraceId": "321466bb-41ab-4108-80e0-ed6366471786", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/211\/Precast\/Elements\",\"Route\":\"\/Organisations\/211\/Precast\/Elements\",\"Query\":\"\",\"Body\":{\"OrgId\":211,\"ElementType\":\"Wall Panel\",\"UniqueId\":\"MWP-T3\",\"SdId\":\"MWP-T3\",\"PlanCastDate\":\"2026-07-14\",\"CastedDate\":\"2026-07-14\"}}" }
{ "timestamp": "2026-07-14 09:11:19.3093", "level": "Error", "severity": "ERROR", "TraceId": "70a65198-5b09-48a7-a449-c8335f9d9338", "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-07-14 09:32:01.2857", "level": "Error", "severity": "ERROR", "TraceId": "9acb0058-e1bb-4dc4-93be-f96f491c5206", "message": "Error occurred while Whatsapp message.", "stackTrace": "System.Exception: Error occurred while Whatsapp message. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.\r\n   at System.Net.HttpWebRequest.GetResponse()\r\n   at IncidentReporter.API.BLL.UsersBLL.SendMessage(String apiBody) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 261\r\n   --- End of inner exception stack trace ---", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/VisitorManagement","Route":"/Organisations/262/VisitorManagement","Query":"","Body":{"SiteId":841,"CategoryId":100029,"VisitorName":"Test name UV","VisitorPhone":"7898527896","VisitorCountryCode":"+91","VisitorCompany":"Test company UV","StartTrigger":"Request","Checks":{"Sections":[{"SectionId":1,"SectionName":"Visitor Details","SectionType":"text","MandatoryChecksCount":0,"OrganisationId":null,"Status":1,"Rank":1,"AllowAttachments":false,"IsContinuousSectionTable":false,"SectionFiles":[],"MaxRows":null,"RequiredRows":1,"FileUploadControl":{"IsCameraAllowed":false,"IsImageUploadAllowed":false,"IsVideoUploadAllowed":false,"IsAudioUploadAllowed":false,"IsFileUploadAllowed":false},"Checks":[{"Id":"1_1","Check":"Visitor Name","Type":"text","Value":"Test name UV","DisplayValue":null,"IsMandatory":1,"CheckConfiguration":{"Validations":{"Required":true,"RequiredMessage":"This field is required"},"Placeholder":"Enter visitor name","DisplayOrientation":"vertical","ContinuousTableOrientation":null,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[],"DynamicLabels":[],"Multiselect":false,"ShouldReset":false,"FloatingLabel":false,"DisplayAsColumn":false,"ShowNameInsteadOfUid":false,"DisplayAsAutoComplete":false,"DisplayAsFilter":false,"ReadOnly":false},"LayoutMetadata":{"RowNumber":0,"ColumnOrder":0,"WidthPercentage":100}},{"Id":"1_2","Check":"Company","Type":"text","Value":"Test company UV","DisplayValue":null,"IsMandatory":0,"CheckConfiguration":{"Validations":{"Required":false,"RequiredMessage":"This field is required"},"Placeholder":"Enter company name","DisplayOrientation":"vertical","ContinuousTableOrientation":null,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[],"DynamicLabels":[],"Multiselect":false,"ShouldReset":false,"FloatingLabel":false,"DisplayAsColumn":false,"ShowNameInsteadOfUid":false,"DisplayAsAutoComplete":false,"DisplayAsFilter":false,"ReadOnly":false},"LayoutMetadata":{"RowNumber":1,"ColumnOrder":0,"WidthPercentage":100}},{"Id":"1_3","Check":"Phone Number","Type":"text","Value":"7898527896","DisplayValue":null,"IsMandatory":1,"CheckConfiguration":{"Validations":{"Required":true,"RequiredMessage":"This field is required"},"Placeholder":"Enter phone number","DisplayOrientation":"vertical","ContinuousTableOrientation":null,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[],"DynamicLabels":[],"Multiselect":false,"ShouldReset":false,"FloatingLabel":false,"DisplayAsColumn":false,"ShowNameInsteadOfUid":false,"DisplayAsAutoComplete":false,"DisplayAsFilter":false,"ReadOnly":false},"LayoutMetadata":{"RowNumber":2,"ColumnOrder":0,"WidthPercentage":100}}],"IsMainSection":false,"AllowTaskAssociation":false,"AllowTaskAssociationV2":false,"DefaultActionTrackerCategoryId":null,"AllowTaskListPageIntegrationV2":false,"IsMandatoryAttachment":false,"IsSectionTable":false,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[]}]}}}, "MethodName": "SendMessage", "EntryPoint": "API", "InputData": null, "TraceId": "9acb0058-e1bb-4dc4-93be-f96f491c5206", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/262\/VisitorManagement\",\"Route\":\"\/Organisations\/262\/VisitorManagement\",\"Query\":\"\",\"Body\":{\"SiteId\":841,\"CategoryId\":100029,\"VisitorName\":\"Test name UV\",\"VisitorPhone\":\"7898527896\",\"VisitorCountryCode\":\"+91\",\"VisitorCompany\":\"Test company UV\",\"StartTrigger\":\"Request\",\"Checks\":{\"Sections\":[{\"SectionId\":1,\"SectionName\":\"Visitor Details\",\"SectionType\":\"text\",\"MandatoryChecksCount\":0,\"OrganisationId\":null,\"Status\":1,\"Rank\":1,\"AllowAttachments\":false,\"IsContinuousSectionTable\":false,\"SectionFiles\":[],\"MaxRows\":null,\"RequiredRows\":1,\"FileUploadControl\":{\"IsCameraAllowed\":false,\"IsImageUploadAllowed\":false,\"IsVideoUploadAllowed\":false,\"IsAudioUploadAllowed\":false,\"IsFileUploadAllowed\":false},\"Checks\":[{\"Id\":\"1_1\",\"Check\":\"Visitor Name\",\"Type\":\"text\",\"Value\":\"Test name UV\",\"DisplayValue\":null,\"IsMandatory\":1,\"CheckConfiguration\":{\"Validations\":{\"Required\":true,\"RequiredMessage\":\"This field is required\"},\"Placeholder\":\"Enter visitor name\",\"DisplayOrientation\":\"vertical\",\"ContinuousTableOrientation\":null,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[],\"DynamicLabels\":[],\"Multiselect\":false,\"ShouldReset\":false,\"FloatingLabel\":false,\"DisplayAsColumn\":false,\"ShowNameInsteadOfUid\":false,\"DisplayAsAutoComplete\":false,\"DisplayAsFilter\":false,\"ReadOnly\":false},\"LayoutMetadata\":{\"RowNumber\":0,\"ColumnOrder\":0,\"WidthPercentage\":100}},{\"Id\":\"1_2\",\"Check\":\"Company\",\"Type\":\"text\",\"Value\":\"Test company UV\",\"DisplayValue\":null,\"IsMandatory\":0,\"CheckConfiguration\":{\"Validations\":{\"Required\":false,\"RequiredMessage\":\"This field is required\"},\"Placeholder\":\"Enter company name\",\"DisplayOrientation\":\"vertical\",\"ContinuousTableOrientation\":null,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[],\"DynamicLabels\":[],\"Multiselect\":false,\"ShouldReset\":false,\"FloatingLabel\":false,\"DisplayAsColumn\":false,\"ShowNameInsteadOfUid\":false,\"DisplayAsAutoComplete\":false,\"DisplayAsFilter\":false,\"ReadOnly\":false},\"LayoutMetadata\":{\"RowNumber\":1,\"ColumnOrder\":0,\"WidthPercentage\":100}},{\"Id\":\"1_3\",\"Check\":\"Phone Number\",\"Type\":\"text\",\"Value\":\"7898527896\",\"DisplayValue\":null,\"IsMandatory\":1,\"CheckConfiguration\":{\"Validations\":{\"Required\":true,\"RequiredMessage\":\"This field is required\"},\"Placeholder\":\"Enter phone number\",\"DisplayOrientation\":\"vertical\",\"ContinuousTableOrientation\":null,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[],\"DynamicLabels\":[],\"Multiselect\":false,\"ShouldReset\":false,\"FloatingLabel\":false,\"DisplayAsColumn\":false,\"ShowNameInsteadOfUid\":false,\"DisplayAsAutoComplete\":false,\"DisplayAsFilter\":false,\"ReadOnly\":false},\"LayoutMetadata\":{\"RowNumber\":2,\"ColumnOrder\":0,\"WidthPercentage\":100}}],\"IsMainSection\":false,\"AllowTaskAssociation\":false,\"AllowTaskAssociationV2\":false,\"DefaultActionTrackerCategoryId\":null,\"AllowTaskListPageIntegrationV2\":false,\"IsMandatoryAttachment\":false,\"IsSectionTable\":false,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[]}]}}}" }
{ "timestamp": "2026-07-14 09:35:12.8924", "level": "Error", "severity": "ERROR", "TraceId": "852f8480-11cf-4cfd-a4a9-64a1d510339c", "message": "Error occurred while Whatsapp message.", "stackTrace": "System.Exception: Error occurred while Whatsapp message. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.\r\n   at System.Net.HttpWebRequest.GetResponse()\r\n   at IncidentReporter.API.BLL.UsersBLL.SendMessage(String apiBody) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 261\r\n   --- End of inner exception stack trace ---", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/VisitorManagement","Route":"/Organisations/262/VisitorManagement","Query":"","Body":{"SiteId":841,"CategoryId":100029,"VisitorName":"John Visitor","VisitorPhone":"9876543210","VisitorCountryCode":"+91","VisitorCompany":"Acme Corp","StartTrigger":"Request","Checks":{"Sections":[{"SectionId":1,"SectionName":"Visitor Details","SectionType":"text","MandatoryChecksCount":0,"OrganisationId":null,"Status":1,"Rank":1,"AllowAttachments":false,"IsContinuousSectionTable":false,"SectionFiles":[],"MaxRows":null,"RequiredRows":1,"FileUploadControl":{"IsCameraAllowed":false,"IsImageUploadAllowed":false,"IsVideoUploadAllowed":false,"IsAudioUploadAllowed":false,"IsFileUploadAllowed":false},"Checks":[{"Id":"1_1","Check":"Visitor Name","Type":"text","Value":"John Visitor","DisplayValue":null,"IsMandatory":1,"CheckConfiguration":{"Validations":{"Required":true,"RequiredMessage":"This field is required"},"Placeholder":"Enter visitor name","DisplayOrientation":"vertical","ContinuousTableOrientation":null,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[],"DynamicLabels":[],"Multiselect":false,"ShouldReset":false,"FloatingLabel":false,"DisplayAsColumn":false,"ShowNameInsteadOfUid":false,"DisplayAsAutoComplete":false,"DisplayAsFilter":false,"ReadOnly":false},"LayoutMetadata":{"RowNumber":0,"ColumnOrder":0,"WidthPercentage":100}},{"Id":"1_2","Check":"Company","Type":"text","Value":"Acme Corp","DisplayValue":null,"IsMandatory":0,"CheckConfiguration":{"Validations":{"Required":false,"RequiredMessage":"This field is required"},"Placeholder":"Enter company name","DisplayOrientation":"vertical","ContinuousTableOrientation":null,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[],"DynamicLabels":[],"Multiselect":false,"ShouldReset":false,"FloatingLabel":false,"DisplayAsColumn":false,"ShowNameInsteadOfUid":false,"DisplayAsAutoComplete":false,"DisplayAsFilter":false,"ReadOnly":false},"LayoutMetadata":{"RowNumber":1,"ColumnOrder":0,"WidthPercentage":100}},{"Id":"1_3","Check":"Phone Number","Type":"text","Value":"9876543210","DisplayValue":null,"IsMandatory":1,"CheckConfiguration":{"Validations":{"Required":true,"RequiredMessage":"This field is required"},"Placeholder":"Enter phone number","DisplayOrientation":"vertical","ContinuousTableOrientation":null,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[],"DynamicLabels":[],"Multiselect":false,"ShouldReset":false,"FloatingLabel":false,"DisplayAsColumn":false,"ShowNameInsteadOfUid":false,"DisplayAsAutoComplete":false,"DisplayAsFilter":false,"ReadOnly":false},"LayoutMetadata":{"RowNumber":2,"ColumnOrder":0,"WidthPercentage":100}}],"IsMainSection":false,"AllowTaskAssociation":false,"AllowTaskAssociationV2":false,"DefaultActionTrackerCategoryId":null,"AllowTaskListPageIntegrationV2":false,"IsMandatoryAttachment":false,"IsSectionTable":false,"ConditionalRules":[],"VisibilityRules":[],"AccessControlRules":[]}]}}}, "MethodName": "SendMessage", "EntryPoint": "API", "InputData": null, "TraceId": "852f8480-11cf-4cfd-a4a9-64a1d510339c", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/262\/VisitorManagement\",\"Route\":\"\/Organisations\/262\/VisitorManagement\",\"Query\":\"\",\"Body\":{\"SiteId\":841,\"CategoryId\":100029,\"VisitorName\":\"John Visitor\",\"VisitorPhone\":\"9876543210\",\"VisitorCountryCode\":\"+91\",\"VisitorCompany\":\"Acme Corp\",\"StartTrigger\":\"Request\",\"Checks\":{\"Sections\":[{\"SectionId\":1,\"SectionName\":\"Visitor Details\",\"SectionType\":\"text\",\"MandatoryChecksCount\":0,\"OrganisationId\":null,\"Status\":1,\"Rank\":1,\"AllowAttachments\":false,\"IsContinuousSectionTable\":false,\"SectionFiles\":[],\"MaxRows\":null,\"RequiredRows\":1,\"FileUploadControl\":{\"IsCameraAllowed\":false,\"IsImageUploadAllowed\":false,\"IsVideoUploadAllowed\":false,\"IsAudioUploadAllowed\":false,\"IsFileUploadAllowed\":false},\"Checks\":[{\"Id\":\"1_1\",\"Check\":\"Visitor Name\",\"Type\":\"text\",\"Value\":\"John Visitor\",\"DisplayValue\":null,\"IsMandatory\":1,\"CheckConfiguration\":{\"Validations\":{\"Required\":true,\"RequiredMessage\":\"This field is required\"},\"Placeholder\":\"Enter visitor name\",\"DisplayOrientation\":\"vertical\",\"ContinuousTableOrientation\":null,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[],\"DynamicLabels\":[],\"Multiselect\":false,\"ShouldReset\":false,\"FloatingLabel\":false,\"DisplayAsColumn\":false,\"ShowNameInsteadOfUid\":false,\"DisplayAsAutoComplete\":false,\"DisplayAsFilter\":false,\"ReadOnly\":false},\"LayoutMetadata\":{\"RowNumber\":0,\"ColumnOrder\":0,\"WidthPercentage\":100}},{\"Id\":\"1_2\",\"Check\":\"Company\",\"Type\":\"text\",\"Value\":\"Acme Corp\",\"DisplayValue\":null,\"IsMandatory\":0,\"CheckConfiguration\":{\"Validations\":{\"Required\":false,\"RequiredMessage\":\"This field is required\"},\"Placeholder\":\"Enter company name\",\"DisplayOrientation\":\"vertical\",\"ContinuousTableOrientation\":null,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[],\"DynamicLabels\":[],\"Multiselect\":false,\"ShouldReset\":false,\"FloatingLabel\":false,\"DisplayAsColumn\":false,\"ShowNameInsteadOfUid\":false,\"DisplayAsAutoComplete\":false,\"DisplayAsFilter\":false,\"ReadOnly\":false},\"LayoutMetadata\":{\"RowNumber\":1,\"ColumnOrder\":0,\"WidthPercentage\":100}},{\"Id\":\"1_3\",\"Check\":\"Phone Number\",\"Type\":\"text\",\"Value\":\"9876543210\",\"DisplayValue\":null,\"IsMandatory\":1,\"CheckConfiguration\":{\"Validations\":{\"Required\":true,\"RequiredMessage\":\"This field is required\"},\"Placeholder\":\"Enter phone number\",\"DisplayOrientation\":\"vertical\",\"ContinuousTableOrientation\":null,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[],\"DynamicLabels\":[],\"Multiselect\":false,\"ShouldReset\":false,\"FloatingLabel\":false,\"DisplayAsColumn\":false,\"ShowNameInsteadOfUid\":false,\"DisplayAsAutoComplete\":false,\"DisplayAsFilter\":false,\"ReadOnly\":false},\"LayoutMetadata\":{\"RowNumber\":2,\"ColumnOrder\":0,\"WidthPercentage\":100}}],\"IsMainSection\":false,\"AllowTaskAssociation\":false,\"AllowTaskAssociationV2\":false,\"DefaultActionTrackerCategoryId\":null,\"AllowTaskListPageIntegrationV2\":false,\"IsMandatoryAttachment\":false,\"IsSectionTable\":false,\"ConditionalRules\":[],\"VisibilityRules\":[],\"AccessControlRules\":[]}]}}}" }
{ "timestamp": "2026-07-14 09:39:42.4232", "level": "Error", "severity": "ERROR", "TraceId": "4e5a26c5-16e4-496e-980e-07b1a1f3a64a", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\129\\IMG_6299_2026-07-14_09-39-42-3942_c83e78d0-3be9-4341-be61-a2f9f7fc6058.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/129/FileUpload","Route":"/Organisations/264/Modules/129/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 09:39:42.4232", "level": "Error", "severity": "ERROR", "TraceId": "846eb065-0ed0-4320-ad4e-427d4e692efb", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\129\\IMG_6299_2026-07-14_09-39-42-3942_334a3f3c-3d21-40fc-b9ee-0f435f9591b2.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/129/FileUpload","Route":"/Organisations/264/Modules/129/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 09:40:20.9536", "level": "Error", "severity": "ERROR", "TraceId": "fe152f3b-c26b-4d9d-9bb5-9ea82442ac02", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\264\\static_image\\1fa1acf967e44e83ba1b14f5d230a6c0_2026-07-14_09-40-20-4020_bb179834-0bbe-432f-a37b-6c67d6e85ffb.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://api-qa-staging-2.oqsha.com/Organisations/264/Setup/Check/Attachment","Route":"/Organisations/264/Setup/Check/Attachment","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:01:46.1706", "level": "Error", "severity": "ERROR", "TraceId": "5653cb58-2748-4950-a543-da972dfdc0af", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\264\\static_image\\feca1155591e4828ad2cd7c3078a79d4_2026-07-14_10-01-46-146_2500c152-d79b-4ee2-9e85-5eea671e0539.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://api-qa-staging-2.oqsha.com/Organisations/264/Setup/Check/Attachment","Route":"/Organisations/264/Setup/Check/Attachment","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:02:01.4377", "level": "Error", "severity": "ERROR", "TraceId": "efbe89a1-23b4-44cf-a2a7-48552a179d4b", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\264\\static_image\\ef20ecc1d67845e081586ddc39376514_2026-07-14_10-02-01-21_00691fb9-0275-4ff3-a2d1-a2b12335180a.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://api-qa-staging-2.oqsha.com/Organisations/264/Setup/Check/Attachment","Route":"/Organisations/264/Setup/Check/Attachment","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:07:22.6202", "level": "Error", "severity": "ERROR", "TraceId": "6c47895c-fad6-4628-966e-416238d94064", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\129\\Image (47)_2026-07-14_10-07-22-722_53a73b7b-b375-4e5d-b69d-2157a76d2db6.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/129/FileUpload","Route":"/Organisations/264/Modules/129/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:07:22.7130", "level": "Error", "severity": "ERROR", "TraceId": "d4ceda42-eda6-4f74-8fd1-df85b5348e27", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\129\\Image (47)_2026-07-14_10-07-22-722_c9b972cf-41da-4352-8b4a-134a9b5854d1.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/129/FileUpload","Route":"/Organisations/264/Modules/129/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:07:22.7889", "level": "Error", "severity": "ERROR", "TraceId": "6c47895c-fad6-4628-966e-416238d94064", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\129\\Image (47)_2026-07-14_10-07-22-722_4f1b3c10-cd73-4390-b492-afda7513e4ef.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/129/FileUpload","Route":"/Organisations/264/Modules/129/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:07:22.8410", "level": "Error", "severity": "ERROR", "TraceId": "d4ceda42-eda6-4f74-8fd1-df85b5348e27", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\129\\Image (47)_2026-07-14_10-07-22-722_840538b8-ff4a-45b6-afc7-e9bed0fed554.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/129/FileUpload","Route":"/Organisations/264/Modules/129/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 10:09:16.5021", "level": "Error", "severity": "ERROR", "TraceId": "fdf2e332-87da-4e40-82cc-529dbb1f7e9f", "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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Incidents","Route":"/Incidents","Query":"","Body":{"ReportedByUserIds":[],"OrgId":[123],"LocationId":[],"DivisionId":[],"DepartmentId":[],"AssignedTo":[],"StartDate":"2026-07-07","EndDate":"2026-07-21","ShowReportedTicket":false,"PageNumber":1,"PageLimit":10}} }
{ "timestamp": "2026-07-14 10:09:16.5055", "level": "Error", "severity": "ERROR", "TraceId": "fa6b557c-5f8d-474f-a3fd-aafb01314586", "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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/123/TicketStatus/Counts","Route":"/Organisations/123/TicketStatus/Counts","Query":"","Body":{"ReportedByUserIds":[],"OrgId":[123],"LocationId":[],"DivisionId":[],"DepartmentId":[],"AssignedTo":[],"StartDate":"2026-07-07","EndDate":"2026-07-21","ShowReportedTicket":false,"PageNumber":1,"PageLimit":10}} }
{ "timestamp": "2026-07-14 11:24:15.0780", "level": "Error", "severity": "ERROR", "TraceId": "65ceaf2d-e147-4470-9a77-9f0fbc8bf2c2", "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://api-qa-staging-2.oqsha.com/Organisation/257/Embed/GuestToken","Route":"/Organisation/257/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"1"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "65ceaf2d-e147-4470-9a77-9f0fbc8bf2c2", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisation\/257\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/257\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"1\"}}" }
{ "timestamp": "2026-07-14 11:24:21.6582", "level": "Error", "severity": "ERROR", "TraceId": "3de4964b-3a0a-44d8-949c-bb5c4503ff83", "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://api-qa-staging-2.oqsha.com/Organisation/257/Embed/GuestToken","Route":"/Organisation/257/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"1"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "3de4964b-3a0a-44d8-949c-bb5c4503ff83", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisation\/257\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/257\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"1\"}}" }
{ "timestamp": "2026-07-14 11:29:32.8447", "level": "Error", "severity": "ERROR", "TraceId": "16969595-2708-42b4-9b24-d17a62f7ca31", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\211\\incident-management\\Image - 2026-07-14T160300.748_2026-07-14_11-29-32-2932_86c346a9-5173-456f-9244-1a7bbbca17a7.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://api-qa-staging-2.oqsha.com/Organisations/211/IncidentManagement/FileUpload","Route":"/Organisations/211/IncidentManagement/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 11:44:25.0230", "level": "Error", "severity": "ERROR", "TraceId": "97dc0397-b0bc-4d33-9c17-aff10e9285ee", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\211\\incident-management\\image (48)_2026-07-14_11-44-25-4425_068ee1d5-c827-4824-a65b-ed971285c174.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/IncidentManagement/FileUpload","Route":"/Organisations/211/IncidentManagement/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 11:44:25.0328", "level": "Error", "severity": "ERROR", "TraceId": "71d2e370-2a6b-42a5-bd38-436371358817", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\211\\incident-management\\image (43)_2026-07-14_11-44-25-4425_2c9b2782-2fb1-4957-a99c-0f875693d658.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/IncidentManagement/FileUpload","Route":"/Organisations/211/IncidentManagement/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 11:56:25.4666", "level": "Error", "severity": "ERROR", "TraceId": "05c069ea-eee6-4f59-a635-e42704e85fe8", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\211\\ppe\\image48_fdbc054e-e5f0-4cbb-9862-b17364d60cf7.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/PPEIssue/1570/Attachments","Route":"/Organisations/211/PPEIssue/1570/Attachments","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-14 12:29:19.3916", "level": "Error", "severity": "ERROR", "TraceId": "69733851-392e-4c4c-9a01-61cb7dfcf8fc", "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/4833/FieldStaffOrganisations/","Route":"/Users/4833/FieldStaffOrganisations/","Query":"","Body":""} }
{ "timestamp": "2026-07-14 18:03:20.3672", "level": "Error", "severity": "ERROR", "TraceId": "239ed4b5-4772-4d21-b67b-f730dec53bbf", "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/Assets/AssetTypes?OrgId=264&SortingOrder=Asc&SortingColumn=Name&userId=678","Route":"/Assets/AssetTypes","Query":"?OrgId=264&SortingOrder=Asc&SortingColumn=Name&userId=678","Body":""} }
{ "timestamp": "2026-07-14 18:04:05.8536", "level": "Error", "severity": "ERROR", "TraceId": "0c5ad6fb-6ab1-408e-bd2d-a3f178a74590", "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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Divisions/List","Route":"/Organisations/264/Divisions/List","Query":"","Body":{"OrgId":[264],"SiteId":[900],"DivisionId":[0],"UserId":678,"UserTypeId":1,"SearchTerm":""}} }
{ "timestamp": "2026-07-14 18:05:36.1265", "level": "Error", "severity": "ERROR", "TraceId": "7973b3a1-5102-45c8-98dc-fc848a5157e7", "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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Divisions/List","Route":"/Organisations/264/Divisions/List","Query":"","Body":{"OrgId":[264],"SiteId":[845],"DivisionId":[0],"UserId":678,"UserTypeId":1,"SearchTerm":""}} }
{ "timestamp": "2026-07-14 18:10:30.5157", "level": "Error", "severity": "ERROR", "TraceId": "e1fddabb-439d-40e8-838b-129d70cbf6fc", "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/Organisations/264/WorkPermit/Statuses","Route":"/Organisations/264/WorkPermit/Statuses","Query":"","Body":""} }
{ "timestamp": "2026-07-14 18:57:45.7688", "level": "Error", "severity": "ERROR", "TraceId": "340ce987-a000-4cc9-8f1a-838bfb971efe", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\248\\library\\imagegallery_7af00714-10f9-4e74-85eb-3ec3098e67c7.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":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/248/LibraryDocument","Route":"/Organisations/248/LibraryDocument","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
