{"timestamp": "2026-03-30 03:36:21.319", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 04:18:51.447", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 04:18:51.483", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng", "stackTrace": ""}
{"timestamp": "2026-03-30 04:18:52.030", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:18:52.033", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:05.466", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:05.582", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:05.582", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"Email":"TTK_EHS@oqsha.com","Password":"Oqsha@123","Country":"","Slot":"","PortalVersion":"5.36.0"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:06.451", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:06.485", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:08.286", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:08.343", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:08.464", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:08.533", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:28.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:28.554", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:28.921", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:28.958", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:29.093", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:29.130", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:29.195", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:29.228", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:29.371", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:29.402", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:31.766", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:31.844", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:31.902", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.001", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.244", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.446", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.446", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.506", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.506", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.506", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.527", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/attachments/organisations/TTK_e54e850a-a12b-4b5f-830c-e5eef42ebe61.png", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.615", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.694", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:32.885", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.025", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.092", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.200", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.303", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.352", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.352", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.352", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.649", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.649", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.742", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.774", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.855", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.864", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.864", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.890", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.896", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.896", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.896", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[1637,1574,1575,1576]}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.911", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[]}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","AcmModuleId":46}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.928", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.943", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.943", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.943", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.943", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.956", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.979", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.979", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.979", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:33.979", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.014", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.014", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.082", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetMultiSiteCoursesCounts",
  "Message": "42703: column \"boolstatus\" does not exist",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42703: column "boolstatus" does not exist
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<MultiMapAsync>d__52`8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.DAL.Repositories.CoursesRepo.<GetMultiSiteDashboardCoursesCounts>d__176.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\CoursesRepo.cs:line 6200
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.CoursesBLL.<GetMultiSiteCoursesCounts>d__63.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\CoursesBLL.cs:line 4365"}
{"timestamp": "2026-03-30 04:19:34.096", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.191", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.347", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.377", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.634", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.634", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.646", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.658", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.731", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.731", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.750", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.799", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.888", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.894", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:34.894", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.009", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.093", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.093", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.093", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.174", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.204", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.236", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.236", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.285", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.474", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.502", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.563", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.563", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.593", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:35.637", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.665", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.665", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.702", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.702", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.702", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.765", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.776", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.922", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.934", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:35.995", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.995", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:35.995", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.048", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.054", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.064", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.064", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.158", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.405", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.405", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.409", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.409", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.409", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.409", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.409", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.430", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:36.440", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.615", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.615", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.632", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.632", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.656", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.700", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.754", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:36.788", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.167", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.198", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.304", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.304", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.316", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.316", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.316", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.419", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.435", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.440", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.440", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.440", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.543", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.543", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.543", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.552", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.552", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:37.580", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.605", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.707", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.707", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.762", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.775", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:37.813", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.813", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.875", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.875", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.882", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.920", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.920", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.920", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.985", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:37.990", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.021", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.124", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.132", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.132", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.144", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:38.187", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.207", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.224", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.224", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.224", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.384", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.384", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.412", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.458", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.669", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.669", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.669", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.669", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.892", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.892", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:38.991", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.325", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.330", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.330", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.330", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.330", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.330", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.330", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.367", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:39.415", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.415", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.503", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.503", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.503", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.503", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:39.519", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.558", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.655", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.676", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.676", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.706", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.734", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.734", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.771", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.771", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.788", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.798", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:39.902", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.902", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.919", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.936", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.936", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:39.967", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.006", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.035", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.089", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.100", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.183", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.183", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.215", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.243", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.425", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.425", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.439", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:40.500", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:40.936", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.222", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.265", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.267", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.307", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.335", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.335", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.423", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.423", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.423", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.426", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.439", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:41.488", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.488", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.507", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.604", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.701", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.704", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.704", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.704", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.704", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.808", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.848", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.848", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.861", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:41.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.957", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:41.985", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.013", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.087", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.242", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.347", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.367", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.378", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.554", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:42.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.613", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.670", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.715", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.715", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.773", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.784", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.812", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.912", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.934", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.948", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.958", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:42.958", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:43.042", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.081", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.081", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.081", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.081", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.104", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.124", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.168", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.219", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.368", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.469", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.483", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.513", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.517", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.517", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.517", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:43.590", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.628", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.659", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.659", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.749", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.749", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.749", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.817", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.835", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.878", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:43.942", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.008", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.021", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.021", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.043", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.043", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:44.090", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.122", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.166", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.200", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.208", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.232", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.232", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.551", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.551", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.613", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.741", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.741", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.868", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.876", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.895", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.937", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:44.948", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:44.958", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.019", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.173", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.173", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.191", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.212", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.212", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.297", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.332", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.332", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.370", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.415", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.469", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.501", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.521", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.552", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:45.580", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.650", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.695", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.706", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.721", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.721", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.810", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.872", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.908", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:45.956", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.013", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.050", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.071", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.087", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.100", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:46.135", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.176", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.199", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.208", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.208", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.208", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.223", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.447", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.556", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.556", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.556", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.787", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:46.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.268", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.268", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.284", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.284", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.284", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.284", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:47.381", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.476", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.517", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.568", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.605", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.636", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.703", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.725", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.739", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:47.797", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.802", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.802", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.815", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.839", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.849", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.849", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:47.959", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.021", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.077", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.083", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.126", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.168", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.199", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.211", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:48.250", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.332", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.365", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.379", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.379", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.396", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.426", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.472", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.540", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.540", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.553", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.581", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.643", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.738", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.805", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.818", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.837", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:48.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.922", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:48.947", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.205", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.205", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.205", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.277", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.284", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.357", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.357", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.366", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:49.434", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.434", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.614", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.614", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.614", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.782", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.897", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.911", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.911", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.911", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.911", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:49.911", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:49.995", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.116", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.116", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.116", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.116", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.173", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.173", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.222", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.570", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.570", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.570", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.570", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.633", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.633", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.633", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.633", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.658", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:50.658", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.658", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.658", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.779", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.779", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.779", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.799", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.840", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.867", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.867", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.930", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:50.960", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.004", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.078", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.078", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.089", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:51.103", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.159", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.203", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.322", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.322", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.332", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.551", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.551", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.618", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.635", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.690", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.690", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.729", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:51.803", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.850", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.914", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.914", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.914", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.914", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:51.977", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.064", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.085", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.343", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.347", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.347", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.347", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.360", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.415", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.451", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.461", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.508", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.520", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:52.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:52.901", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.076", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.076", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.076", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.097", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.097", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.097", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.110", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.110", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.149", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.149", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.158", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:53.196", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.236", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.357", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.388", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.451", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.451", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.455", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.490", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.545", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.581", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:53.595", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.632", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.656", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.671", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.680", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.691", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.803", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.803", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.803", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.803", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.803", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.885", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:53.977", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.083", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.142", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.142", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.142", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.437", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.437", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.441", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:54.514", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.514", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.543", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.590", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.600", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.614", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.614", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:54.656", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.725", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.792", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.814", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.867", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.892", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.892", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:54.892", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.014", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.075", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.155", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.214", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.236", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.291", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.384", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.395", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.395", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.410", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:55.871", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:55.944", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.005", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.005", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.178", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:56.193", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:57.154", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.272", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.351", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.592", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.592", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.592", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:57.592", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.022", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.067", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.138", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.436", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.436", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.436", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.447", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:58.447", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.455", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.455", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.455", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.502", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.538", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.538", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.607", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.638", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.653", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.737", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.737", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.773", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.773", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.789", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.808", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:58.884", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.909", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.909", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.923", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.923", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.969", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.979", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:58.997", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.054", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.145", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.145", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.192", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.250", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.272", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.272", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:59.272", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.347", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.375", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.467", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.561", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.561", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.584", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.584", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.651", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.679", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.735", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.775", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.784", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.800", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.800", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:19:59.843", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.870", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.900", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:19:59.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.006", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.066", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.132", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.177", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.223", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.289", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.300", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.318", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:00.318", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.369", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.397", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.437", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.510", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.521", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.563", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.623", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.743", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.784", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:00.945", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:01.002", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.033", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.122", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.122", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.132", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.132", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.196", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.256", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.277", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.324", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.356", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.356", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.365", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.398", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.398", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.436", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.452", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.455", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.455", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:01.502", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.533", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.608", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.613", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.638", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.643", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.718", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.759", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.790", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.832", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.885", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.935", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.976", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.976", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:01.991", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:02.049", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.074", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.144", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.158", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.158", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.185", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.307", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.352", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.371", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.426", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.457", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.479", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.505", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.520", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.533", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:02.571", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.656", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.693", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.723", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.723", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.723", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.791", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.963", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:02.974", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.010", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.028", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.392", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.392", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.392", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.392", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.392", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.434", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:03.798", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.798", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:03.915", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.005", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.005", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.005", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.115", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.205", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.313", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.441", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:04.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.476", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.476", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.476", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.748", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:04.935", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.126", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.357", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.395", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.575", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.646", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.676", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.688", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:05.733", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.793", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.867", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.878", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.922", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.990", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:05.990", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.002", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.498", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.498", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.503", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.503", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:06.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.571", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.788", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.788", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.788", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:06.860", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.917", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.917", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.917", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:06.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.022", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.167", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.167", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.167", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.167", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.245", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.251", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.251", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:07.279", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.336", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.383", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.899", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.899", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.899", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.899", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:07.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.065", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.151", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.151", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.151", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.173", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.242", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.442", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.442", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.442", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.843", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.921", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.921", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.921", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.921", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.924", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.924", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.924", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.924", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.959", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.973", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:08.973", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:08.973", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.055", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.706", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.706", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.736", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.830", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.855", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.866", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.963", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.963", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.963", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.963", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.963", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.971", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:09.971", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:10.054", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.073", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.104", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.104", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.104", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:10.115", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.131", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.163", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.193", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.207", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.534", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.717", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.717", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.717", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.783", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.783", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.783", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.783", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:10.821", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.884", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:10.903", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.043", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.121", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.126", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.126", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.121", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.126", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.121", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.172", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.172", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.191", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:11.313", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.313", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.355", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.394", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.394", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.433", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.465", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.515", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.583", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.636", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.667", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.723", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.774", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.862", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.887", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.887", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.897", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:11.965", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.037", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.173", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.226", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.329", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.484", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.484", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.484", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.484", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.506", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:12.554", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.554", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.564", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.564", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:12.645", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.695", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.695", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.784", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.784", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.835", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.862", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.887", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.899", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:12.916", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.001", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.001", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.017", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:13.121", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.133", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.133", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.133", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.200", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.299", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.340", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.683", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.774", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.831", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.878", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:13.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.033", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.048", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.184", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.220", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:14.238", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.238", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.351", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.362", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.445", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.606", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.802", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.901", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:14.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.140", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.637", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.637", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.637", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.637", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.637", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.642", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.642", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.642", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.890", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.901", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.901", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.901", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:15.919", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:16.234", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.234", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.235", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:16.266", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.266", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.298", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.298", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.339", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.339", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.339", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.443", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.537", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.537", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.537", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.552", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.552", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.596", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:16.620", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:16.655", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.219", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.219", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.219", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.219", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.241", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.307", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.325", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.356", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.401", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.401", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.431", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.457", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.474", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.485", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.565", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.580", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:17.617", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.617", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.629", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.629", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.629", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.775", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.775", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.786", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.786", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.874", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.884", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.912", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.925", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:17.925", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:17.975", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.076", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.106", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.206", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.206", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.481", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.481", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.481", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.481", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.491", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:18.682", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.682", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.682", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.688", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.688", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.714", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.736", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.736", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.785", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.880", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.917", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.929", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.980", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:18.980", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.315", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.331", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:19.538", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.538", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.538", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.538", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.576", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.583", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.620", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.736", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.751", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.751", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.820", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.880", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:19.912", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.912", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.931", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:19.939", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.037", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.037", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.244", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.609", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.609", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.625", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:20.682", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.809", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.809", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.809", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.813", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.813", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.813", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:20.882", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.063", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.182", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.268", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.386", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:21.883", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.292", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.292", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.303", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:22.303", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.303", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.314", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.314", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.314", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.371", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.393", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.431", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.518", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.518", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.536", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:22.550", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.550", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.650", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.650", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.713", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.750", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.757", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.757", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.770", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:22.931", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.045", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.051", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.077", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.107", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.118", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.133", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.142", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:23.199", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.296", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.296", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.345", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.345", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.393", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.508", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.508", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.555", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.585", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.606", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.715", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.724", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.735", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.766", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.777", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:23.828", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.828", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.849", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.870", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.952", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:23.991", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.039", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.080", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.137", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.137", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.292", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.298", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.298", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.298", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.337", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:24.396", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.566", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.659", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.762", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.863", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.926", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.926", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.926", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.944", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:24.958", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:25.099", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.099", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.099", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.130", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.179", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.272", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.336", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.353", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.364", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.378", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.415", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.415", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.469", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.610", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.662", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.662", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.662", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.662", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.662", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.731", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.731", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.781", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.808", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.818", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.831", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.831", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:25.897", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.934", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.934", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.940", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:25.954", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:26.045", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.055", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.156", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.210", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.219", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.253", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.344", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.344", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.416", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.416", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.422", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.454", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:26.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.579", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.579", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.579", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.579", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.645", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.905", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:26.926", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.079", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.095", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.095", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:27.118", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.118", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.128", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.207", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.240", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.437", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.513", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.519", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.519", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.519", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.697", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.697", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.697", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.697", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.711", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.711", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.711", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.722", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:27.744", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.753", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.753", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.895", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.958", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.994", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.994", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:27.994", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.000", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.000", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.000", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.000", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.355", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.363", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.363", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.399", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.460", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.487", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.501", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.501", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.516", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.649", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.649", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.661", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.711", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.731", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.752", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.752", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:28.783", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.846", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:28.860", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:28.877", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.004", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.050", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.089", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.130", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.201", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.201", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.242", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.348", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.366", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.393", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:29.393", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.541", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.586", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.586", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.602", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.815", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:29.815", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.035", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.035", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.035", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.055", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.064", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.064", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.064", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:30.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.400", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.461", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.482", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.488", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.532", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.554", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.554", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.617", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.669", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.674", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.674", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.697", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:30.808", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.808", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.833", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.833", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.868", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.868", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.868", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:30.979", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.013", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.082", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.107", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.162", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.180", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.220", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.220", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:31.262", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.376", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.394", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.394", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.394", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.625", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.656", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.665", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.665", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.835", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.835", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.835", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.835", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:31.835", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:31.926", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.019", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.019", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.019", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.019", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.019", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.134", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.208", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.387", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.441", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.459", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.535", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.548", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.573", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:32.679", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.679", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.756", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.820", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.975", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.975", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:32.986", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.000", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.079", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:33.216", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.248", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.269", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.305", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.305", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.305", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.329", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.329", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.329", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.364", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.465", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.496", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.517", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.563", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.563", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.580", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.631", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.631", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.642", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.666", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:33.673", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.752", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.777", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.777", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.788", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.871", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.901", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.955", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:33.974", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.016", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.050", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.082", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.082", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.101", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.115", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:34.139", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.209", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.209", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.379", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.379", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.424", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.478", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.504", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.504", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.584", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.613", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.693", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.781", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.802", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.849", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:34.860", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:35.157", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.482", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.489", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.666", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.675", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.675", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.820", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:35.852", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:35.919", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.026", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.036", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.090", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.090", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.095", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 04:20:36.131", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.255", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.287", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.361", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.390", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.508", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.610", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.635", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.664", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.664", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.664", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.664", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.721", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=248&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.751", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.788", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.840", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.871", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.902", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.916", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.923", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:36.977", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:37.007", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1637&DivisionId=1574&DivisionId=1575&DivisionId=1576", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:37.089", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:37.089", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:37.116", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:37.116", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:37.204", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:51.855", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:51.871", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:51.903", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:51.918", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:51.981", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:51.989", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=248&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:52.012", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:52.031", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:52.091", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:52.107", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:52.122", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=undefined&StartDate=2026-03-23&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:52.122", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:52.187", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/undefined/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:20:52.218", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:20:52.286", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/undefined/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:21:06.991", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:21:07.035", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 27
   at IncidentReporter.DAL.Repositories.JwtRepo.GetBlacklistedJtiCount(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\JwtRepo.cs:line 28
   at IncidentReporter.API.BLL.JwtBLL.CheckJtiBlacklisted(String jti) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\JwtBLL.cs:line 31
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:21:07.155", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=undefined&StartDate=2026-03-23&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 04:21:07.282", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 04:21:07.282", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/undefined/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 04:21:07.282", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.ArgumentException: token
   at JWT.JwtParts..ctor(String token)
   at JWT.Builder.JwtBuilder.Decode(String token)
   at IncidentReporter.API.Handlers.Authorise.DecodeToken(String token, String secret) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 112
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38", "stackTrace": "System.ArgumentException: token
   at JWT.JwtParts..ctor(String token)
   at JWT.Builder.JwtBuilder.Decode(String token)
   at IncidentReporter.API.Handlers.Authorise.DecodeToken(String token, String secret) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 112
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38"}
{"timestamp": "2026-03-30 04:22:38.989", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 04:22:39.129", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/favicon.ico", "stackTrace": ""}
{"timestamp": "2026-03-30 05:13:28.389", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 06:06:21.246", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 07:13:28.623", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 07:57:15.784", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 08:36:21.356", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 10:26:57.040", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 10:26:57.090", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng", "stackTrace": ""}
{"timestamp": "2026-03-30 10:26:57.557", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 10:26:57.557", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:01.494", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:01.526", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:01.526", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"Email":"MH_Admin_HO@oqsha.com","Password":"Oqsha@123","Country":"","Slot":"","PortalVersion":"5.36.0"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:07.383", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:07.413", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:07.413", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"Email":"MH_Admin_HO@oqsha.com","Password":"Oqsha@1234","Country":"","Slot":"","PortalVersion":"5.36.0"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:07.895", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:07.924", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:10.139", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:10.194", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:10.338", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:10.338", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:10.375", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:10.406", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.015", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.049", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.182", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.216", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.264", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.295", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.529", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:11.961", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.693", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=211&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.718", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.718", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.744", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.744", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Users/1955", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.765", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=211&StartDate=2026-03-30&EndDate=2026-03-30", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.765", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.905", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=211&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1274&DivisionId=1272&DivisionId=1273", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.905", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:19.994", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentCountsAsync",
  "Message": "42883: operator does not exist: boolean = integer",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: operator does not exist: boolean = integer
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.ReportsRepo.GetLocationsByUserId(Int32 userId, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\ReportsRepo.cs:line 605
   at IncidentReporter.API.BLL.ReportsBLL.<GetIncidentCountsAsync>d__11.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ReportsBLL.cs:line 248"}
{"timestamp": "2026-03-30 10:27:20.008", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.008", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/attachments/organisations/logo2_68f3e96c-64c9-4944-91ef-5df7c3d5c925.png", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.008", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.008", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.008", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentStatusReport?OrgId=211&FromDate=2026-03-23&ToDate=2026-03-30&DivisionId=1274&DivisionId=1272&DivisionId=1273", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.016", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.032", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentCategoryCounts",
  "Message": "42883: operator does not exist: boolean = integer",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: operator does not exist: boolean = integer
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.ReportsRepo.GetLocationsByUserId(Int32 userId, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\ReportsRepo.cs:line 605
   at IncidentReporter.API.BLL.ReportsBLL.GetIncidentCategoryCounts(ReportsFilter reportsFilter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ReportsBLL.cs:line 191"}
{"timestamp": "2026-03-30 10:27:20.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.070", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.102", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=211&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1274&DivisionId=1272&DivisionId=1273", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.124", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPendingActionsNotificationsCount",
  "Message": "No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.NpgsqlException (0x80004005): No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)
   at Npgsql.NpgsqlConnector.<AuthenticateSASL>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Authenticate>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Open>d__147.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.OrganisationRepo.<GetOrganisationPreferences>d__12.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\OrganisationRepo.cs:line 379
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetUserAccessibleModules>d__34.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1731
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetPendingActionsNotificationsCount>d__22.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1146"}
{"timestamp": "2026-03-30 10:27:20.151", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.160", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Reports/IncidentCountReport?OrgId=211&StartDate=2026-03-23&EndDate=2026-03-30&DivisionId=1274&DivisionId=1272&DivisionId=1273", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.187", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentCountsAsync",
  "Message": "42601: syntax error at or near \"$4\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$4"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<QueryAsync>d__33`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.DivisionsRepo.<GetAllDivisionsDataAsync>d__4.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\DivisionsRepo.cs:line 159
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.ReportsBLL.<GetIncidentCountsAsync>d__11.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ReportsBLL.cs:line 239"}
{"timestamp": "2026-03-30 10:27:20.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.456", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.494", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/211/OrganisationStats?FromDate=2026-03-23&ToDate=2026-03-30&", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.512", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetOrganisationStats",
  "Message": "42883: operator does not exist: boolean = integer",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: operator does not exist: boolean = integer
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetLocationIds(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2991
   at IncidentReporter.API.BLL.ReportsBLL.GetOrganisationStats(Int32 OrgId, DashboardCountFilter dashboardCountFilter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ReportsBLL.cs:line 136"}
{"timestamp": "2026-03-30 10:27:20.516", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211/EscalatedIncidents", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.516", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/211", "stackTrace": ""}
{"timestamp": "2026-03-30 10:27:20.531", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetIncidentsAfterEscalation",
  "Message": "42601: syntax error at or near \"od\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "od"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.IncidentsRepo.GetOpenIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\IncidentsRepo.cs:line 2506
   at IncidentReporter.API.BLL.IncidentsBLL.GetIncidentsAfterEscalation(Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3961"}
{"timestamp": "2026-03-30 10:27:53.662", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/robots.txt", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:01.368", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:01.687", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:01.687", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:21.573", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:21.688", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:21.688", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"Email":"TTK_EHS@oqsha.com","Password":"Oqsha@123","Country":"","Slot":"","PortalVersion":"5.36.0"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:21.920", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:21.958", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:22.095", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:22.140", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:22.196", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:22.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.399", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.506", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.696", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.726", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.837", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.878", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.942", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:37.984", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:38.072", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:38.112", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.223", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.276", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.333", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.450", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.533", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.632", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.632", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.801", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.801", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.870", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/attachments/organisations/TTK_e54e850a-a12b-4b5f-830c-e5eef42ebe61.png", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.920", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.920", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:39.947", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPendingActionsNotificationsCount",
  "Message": "No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.NpgsqlException (0x80004005): No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)
   at Npgsql.NpgsqlConnector.<AuthenticateSASL>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Authenticate>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Open>d__147.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.OrganisationRepo.<GetOrganisationPreferences>d__12.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\OrganisationRepo.cs:line 379
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetUserAccessibleModules>d__34.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1731
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetPendingActionsNotificationsCount>d__22.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1146"}
{"timestamp": "2026-03-30 10:31:39.984", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.235", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.356", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.396", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.471", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.763", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.763", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.809", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.809", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.912", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:40.949", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.002", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.002", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.011", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.011", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.011", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.033", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.033", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.033", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[1637,1574,1575,1576]}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.040", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.040", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.040", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[]}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.040", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","AcmModuleId":46}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.057", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.077", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.077", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.077", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.077", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.105", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.105", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.105", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.105", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.127", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetMultiSiteTaskCounts",
  "Message": "42883: operator does not exist: task_categories_created_source = text",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: operator does not exist: task_categories_created_source = text
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<QueryRowAsync>d__34`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.TaskRepo.<>c__DisplayClass161_0.<<GetTaskCategoryIdByAcmModuleId>b__0>d.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\TaskRepo.cs:line 5082
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.TaskRepo.<GetTaskCategoryIdByAcmModuleId>d__161.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\TaskRepo.cs:line 5081
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.TaskBLL.<GetMultiSiteTaskCounts>d__73.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\TaskBLL.cs:line 5471"}
{"timestamp": "2026-03-30 10:31:41.672", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/WorkPermit/Statuses", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.672", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Library/Categories", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.689", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.689", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.705", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/WorkPermit/Statuses", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.729", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.729", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.729", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Library/Categories", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.729", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":248}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.729", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.729", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.744", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPlantKpiMasterDropdown",
  "Message": "42601: syntax error at or near \"$4\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$4"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.EmployeeKpiRepo.GetPlantKpiMasterDropdown(KpiDropdownFilter filter, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\EmployeeKpiRepo .cs:line 1611
   at IncidentReporter.API.BLL.EmployeeKpiBLL.GetPlantKpiMasterDropdown(Int32 orgId, KpiDropdownFilter filter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\EmployeeKpiBLL.cs:line 1075"}
{"timestamp": "2026-03-30 10:31:41.744", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library", "stackTrace": ""}
{"timestamp": "2026-03-30 10:31:41.744", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetEmployeeKpiMasterDropdown",
  "Message": "42601: syntax error at or near \"$4\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$4"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.EmployeeKpiRepo.GetEmployeeKpiMasterDropdown(KpiDropdownFilter filter, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\EmployeeKpiRepo .cs:line 1670
   at IncidentReporter.API.BLL.EmployeeKpiBLL.GetEmployeeKpiMasterDropdown(Int32 orgId, KpiDropdownFilter filter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\EmployeeKpiBLL.cs:line 1104"}
{"timestamp": "2026-03-30 10:31:41.744", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetAllLibraryCategoriesAsync",
  "Message": "42883: function found_rows() does not exist",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: function found_rows() does not exist
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteScalar>d__90.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.LibraryRepo.<GetAllLibraryCategoriesAsync>d__5.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\LibraryRepo.cs:line 255
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.LibraryBLL.<GetAllLibraryCategoriesAsync>d__11.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\LibraryBLL.cs:line 270"}
{"timestamp": "2026-03-30 10:31:41.776", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$2"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.UsersRepo.GetRolesWithFullAccess(List`1 moduleNames, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UsersRepo.cs:line 9318
   at IncidentReporter.API.BLL.UsersBLL.GetUsersDropDownByOrganisationId(Int32 organisationId, UserDropDownModuleFilter usersDropDownFilter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 8805", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$2"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.UsersRepo.GetRolesWithFullAccess(List`1 moduleNames, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UsersRepo.cs:line 9318
   at IncidentReporter.API.BLL.UsersBLL.GetUsersDropDownByOrganisationId(Int32 organisationId, UserDropDownModuleFilter usersDropDownFilter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 8805"}
{"timestamp": "2026-03-30 10:43:38.007", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/robots.txt", "stackTrace": ""}
{"timestamp": "2026-03-30 11:47:06.280", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 11:47:06.334", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng", "stackTrace": ""}
{"timestamp": "2026-03-30 11:47:06.944", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 11:47:06.944", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:11.596", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:11.629", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:12.023", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:12.029", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:21.789", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:21.817", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Login", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:21.817", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"Email":"TTK_EHS@oqsha.com","Password":"Oqsha@123","Country":"","Slot":"","PortalVersion":"5.36.0"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:22.605", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:22.628", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:24.537", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:24.560", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:24.675", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:24.696", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:35.811", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:35.898", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.088", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.108", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentLocations?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.228", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.244", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538/incidentsites?isActive=1", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.307", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.332", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.440", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:36.473", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.699", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.741", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.880", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.969", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.980", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:38.980", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.004", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.004", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.038", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.053", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.090", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.121", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.121", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPendingActionsNotificationsCount",
  "Message": "No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.NpgsqlException (0x80004005): No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)
   at Npgsql.NpgsqlConnector.<AuthenticateSASL>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Authenticate>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Open>d__147.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.OrganisationRepo.<GetOrganisationPreferences>d__12.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\OrganisationRepo.cs:line 379
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetUserAccessibleModules>d__34.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1731
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetPendingActionsNotificationsCount>d__22.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1146"}
{"timestamp": "2026-03-30 13:20:39.140", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/attachments/organisations/TTK_e54e850a-a12b-4b5f-830c-e5eef42ebe61.png", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.349", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.375", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/UserPreference", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.469", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.543", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.543", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.564", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.564", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.588", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.588", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.681", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.703", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.757", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.771", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.776", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.776", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.794", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.794", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[1637,1574,1575,1576]}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.794", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.794", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[]}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.794", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.794", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.807", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","AcmModuleId":46}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.826", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.826", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.826", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.839", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.839", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.839", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.839", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.873", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.873", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:39.935", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetMultiSiteTaskCounts",
  "Message": "42883: operator does not exist: task_categories_created_source = text",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: operator does not exist: task_categories_created_source = text
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<QueryRowAsync>d__34`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.TaskRepo.<>c__DisplayClass161_0.<<GetTaskCategoryIdByAcmModuleId>b__0>d.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\TaskRepo.cs:line 5082
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.TaskRepo.<GetTaskCategoryIdByAcmModuleId>d__161.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\TaskRepo.cs:line 5081
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.TaskBLL.<GetMultiSiteTaskCounts>d__73.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\TaskBLL.cs:line 5471"}
{"timestamp": "2026-03-30 13:20:40.400", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/WorkPermit/Statuses", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.400", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Library/Categories", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.400", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.417", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.417", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/WorkPermit/Statuses", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.417", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Library/Categories", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":248}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.432", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetEmployeeKpiMasterDropdown",
  "Message": "42601: syntax error at or near \"$4\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$4"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.EmployeeKpiRepo.GetEmployeeKpiMasterDropdown(KpiDropdownFilter filter, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\EmployeeKpiRepo .cs:line 1670
   at IncidentReporter.API.BLL.EmployeeKpiBLL.GetEmployeeKpiMasterDropdown(Int32 orgId, KpiDropdownFilter filter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\EmployeeKpiBLL.cs:line 1104"}
{"timestamp": "2026-03-30 13:20:40.448", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPlantKpiMasterDropdown",
  "Message": "42601: syntax error at or near \"$4\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$4"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.EmployeeKpiRepo.GetPlantKpiMasterDropdown(KpiDropdownFilter filter, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\EmployeeKpiRepo .cs:line 1611
   at IncidentReporter.API.BLL.EmployeeKpiBLL.GetPlantKpiMasterDropdown(Int32 orgId, KpiDropdownFilter filter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\EmployeeKpiBLL.cs:line 1075"}
{"timestamp": "2026-03-30 13:20:40.448", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library", "stackTrace": ""}
{"timestamp": "2026-03-30 13:20:40.448", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetAllLibraryCategoriesAsync",
  "Message": "42883: function found_rows() does not exist",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: function found_rows() does not exist
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteScalar>d__90.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.LibraryRepo.<GetAllLibraryCategoriesAsync>d__5.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\LibraryRepo.cs:line 255
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.LibraryBLL.<GetAllLibraryCategoriesAsync>d__11.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\LibraryBLL.cs:line 270"}
{"timestamp": "2026-03-30 13:20:40.448", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$2"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.UsersRepo.GetRolesWithFullAccess(List`1 moduleNames, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UsersRepo.cs:line 9318
   at IncidentReporter.API.BLL.UsersBLL.GetUsersDropDownByOrganisationId(Int32 organisationId, UserDropDownModuleFilter usersDropDownFilter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 8805", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$2"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at IncidentReporter.DAL.Repositories.UsersRepo.GetRolesWithFullAccess(List`1 moduleNames, Int32 orgId) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UsersRepo.cs:line 9318
   at IncidentReporter.API.BLL.UsersBLL.GetUsersDropDownByOrganisationId(Int32 organisationId, UserDropDownModuleFilter usersDropDownFilter) in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 8805"}
{"timestamp": "2026-03-30 14:08:31.663", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 14:08:31.698", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/robots.txt", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:31.247", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:31.297", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:31.331", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/eng?orgId=248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:31.815", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:31.847", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:33.657", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:33.667", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:33.692", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Health", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:33.734", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Resources/package-features-eng", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:34.646", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:34.655", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:34.677", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.099", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.276", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Users/5538", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.418", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.418", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.418", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.431", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.431", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Modules", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.454", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.454", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Languages", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.471", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PendingActionsNotifications", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.495", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/attachments/organisations/TTK_e54e850a-a12b-4b5f-830c-e5eef42ebe61.png", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.528", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/AccessControl/Modules/248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.594", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPendingActionsNotificationsCount",
  "Message": "No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.NpgsqlException (0x80004005): No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)
   at Npgsql.NpgsqlConnector.<AuthenticateSASL>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Authenticate>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnector.<Open>d__147.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.ConnectorPool.<AllocateLong>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.OrganisationRepo.<GetOrganisationPreferences>d__12.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\OrganisationRepo.cs:line 379
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetUserAccessibleModules>d__34.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1731
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.NotificationsBLL.<GetPendingActionsNotificationsCount>d__22.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\NotificationsBLL.cs:line 1146"}
{"timestamp": "2026-03-30 14:31:35.616", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.680", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.680", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.706", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Training/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.706", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.732", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/TaskCategories/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.732", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.800", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.889", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Divisions/Dropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.956", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.972", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.972", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.972", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.972", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.972", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.978", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.978", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Incidents/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.978", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[1637,1574,1575,1576]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.978", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.978", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Tasks/List/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30","AcmModuleId":46}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Inspections/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:35.999", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.012", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/ManagementOfChangeList/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.012", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.012", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.012", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.037", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Courses/Counts", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.037", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"SiteIds":["708","744","707","705","709","706"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.135", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetMultiSiteTaskCounts",
  "Message": "42883: operator does not exist: task_categories_created_source = text",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42883: operator does not exist: task_categories_created_source = text
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<QueryRowAsync>d__34`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.TaskRepo.<>c__DisplayClass161_0.<<GetTaskCategoryIdByAcmModuleId>b__0>d.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\TaskRepo.cs:line 5082
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.DAL.Repositories.TaskRepo.<GetTaskCategoryIdByAcmModuleId>d__161.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\TaskRepo.cs:line 5081
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.TaskBLL.<GetMultiSiteTaskCounts>d__73.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\TaskBLL.cs:line 5471"}
{"timestamp": "2026-03-30 14:31:36.448", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/WorkPermit/Statuses", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.448", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Library/Categories", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.465", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.465", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.465", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.477", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/WorkPermit/Statuses", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisations/248/Library/Categories", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":248}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.509", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"OrgId":[248],"SiteId":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.680", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMaster/AverageRatings", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.712", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request URL : https://api-postgres.oqsha.com/Organisation/248/KPI/PlantMaster/AverageRatings", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.712", "level": "Debug", "severity": "DEBUG", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Request Body : {"KpiId":[21,22,23,24,25,33,34,35,36,37,27,28,29,30,31,38,39,40,41,42,16],"SiteIds":["708","744","707","705","709","706"]}", "stackTrace": ""}
{"timestamp": "2026-03-30 14:31:36.740", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "{
  "MethodName": "GetPlantMasterAverageRatings",
  "Message": "42601: syntax error at or near \"$1\"",
  "AdditionalData": {
    "EntryPoint": "API",
    "InputData": null
  }
}", "stackTrace": "Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "$1"
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlConnector.<>c__DisplayClass159_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Dapper.SqlMapper.<QueryAsync>d__33`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at IncidentReporter.DAL.Repositories.EmployeeKpiRepo.<GetPlantMasterAverageRatings>d__72.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\EmployeeKpiRepo .cs:line 2371
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.EmployeeKpiBLL.<GetPlantMasterAverageRatings>d__46.MoveNext() in C:\Users\windows\Osmosys\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\EmployeeKpiBLL.cs:line 2186"}
{"timestamp": "2026-03-30 15:23:31.898", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 17:13:34.001", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 19:13:35.117", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 21:59:38.605", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 22:43:37.184", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
{"timestamp": "2026-03-30 23:21:07.109", "level": "Info", "severity": "INFO", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Application started", "stackTrace": ""}
