{ "timestamp": "2026-09-02 07:10:59.3942", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "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()" }
{ "timestamp": "2026-09-02 07:11:05.1747", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "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()" }
{ "timestamp": "2026-09-02 07:11:05.4193", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "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()" }
{ "timestamp": "2026-09-02 07:13:40.7820", "level": "Error", "severity": "ERROR", "message": "The process cannot access the file 'D:\\App-Data\\iis\\devapi.incidentreporter365.com\\devapi.oqsha.com\\attachments\\temp\\OQSHA_UserAppointments_2026-09-02_12-43-40.csv' because it is being used by another process.", "stackTrace": "System.IO.IOException: The process cannot access the file 'D:\\App-Data\\iis\\devapi.incidentreporter365.com\\devapi.oqsha.com\\attachments\\temp\\OQSHA_UserAppointments_2026-09-02_12-43-40.csv' because it is being used by another process.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)\r\n   at IncidentReporter.API.BLL.UsersBLL.ExportUserData() in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 5102" }
{ "timestamp": "2026-09-02 07:13:40.8120", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 08:48:52.6601", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 08:59:00.4838", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 08:59:27.5067", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:00:34.1046", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:02:28.6678", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-09-02 09:31:14.0077", "level": "Error", "severity": "ERROR", "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:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 261\r\n   --- End of inner exception stack trace ---" }
{ "timestamp": "2026-09-02 09:31:14.0567", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:32:48.5141", "level": "Error", "severity": "ERROR", "message": "The system cannot find the file specified", "stackTrace": "System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportSitePDFHelper.ExportSitePDF(String qrImagePath, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String templateFile, LocationDBO locationData, String qrCodeType) in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportSitePDFHelper.cs:line 65\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<GetQrCodePDF>d__60.MoveNext() in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 4750" }
{ "timestamp": "2026-09-02 09:32:48.5226", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:34:44.5058", "level": "Error", "severity": "ERROR", "message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(\r\n                            IFNULL(c.action_checks, '{\"ActionsTaken\":[]}'),\r\n' at line 64", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(\r\n                            IFNULL(c.action_checks, '{\"ActionsTaken\":[]}'),\r\n' at line 64\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 Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)\r\n   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)\r\n   at IncidentReporter.DAL.Helpers.PendingWithQueryHelper.GetPendingWithNameMap(IDbConnection conn, Int32 orgId, Int32 moduleId, List`1 entityIds, String entityTable, String checksTable, String checksFkColumn, String stateColumn, String stateTypeIdColumn, String categoryIdColumn, String createdByColumn) in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Helpers\\PendingWithQueryHelper.cs:line 212\r\n   at IncidentReporter.DAL.Repositories.SafetyKaizenV2Repo.GetPendingWithNames(Int32 orgId, Int32 moduleId, List`1 entityIds) in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\SafetyKaizenV2Repo.cs:line 904\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<GetSafetyKaizenV2ListAsync>d__12.MoveNext() in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 987" }
{ "timestamp": "2026-09-02 09:34:44.5423", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:34:51.4271", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:35:27.1774", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:35:36.2400", "level": "Error", "severity": "ERROR", "message": "The system cannot find the file specified", "stackTrace": "System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportSitePDFHelper.ExportSitePDF(String qrImagePath, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String templateFile, LocationDBO locationData, String qrCodeType) in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportSitePDFHelper.cs:line 65\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<GetQrCodePDF>d__60.MoveNext() in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 4750" }
{ "timestamp": "2026-09-02 09:35:36.2400", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 09:35:39.2878", "level": "Error", "severity": "ERROR", "message": "The system cannot find the file specified", "stackTrace": "System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportSitePDFHelper.ExportSitePDF(String qrImagePath, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String templateFile, LocationDBO locationData, String qrCodeType) in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportSitePDFHelper.cs:line 65\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<GetQrCodePDF>d__60.MoveNext() in C:\\Users\\KIIT\\Desktop\\OQSHA\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 4750" }
{ "timestamp": "2026-09-02 09:35:39.2983", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-09-02 21:37:07.9898", "level": "Error", "severity": "ERROR", "TraceId": "656f4140-06ab-4821-8c57-610e811f8d0f", "message": "Exception in Dhilog HTTP POST: An error occurred while sending the request.", "ApiInput": {"Method":"GET","Url":"https://devapi.incidentreporter365.com/assets/.env","Route":"/assets/.env","Query":"","Body":""} }
