{"data":{"exception":"InvalidOperationException","message":"An exception has been raised that is likely due to a transient failure.","helpLink":null,"data":{},"source":"Npgsql.EntityFrameworkCore.PostgreSQL","stackTrace":" at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)\n at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()\n at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\n at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\n at Redsand.Site.Api.OrdersEcommerceController.GetFilteredQueryAsync(OrderFilter filter, Int32 CurrentUserId, Int32 CurrentBranchId) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\EcommerceOrder\\OrderController.cs:line 4554\n at Redsand.Site.Api.OrdersEcommerceController.GetListImplementationCount(OrderFilter filter) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\EcommerceOrder\\OrderController.cs:line 4160\n at Redsand.Site.Api.OrdersEcommerceController.GetListCountViaPost(OrderFilter filter) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\EcommerceOrder\\OrderController.cs:line 4106\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":{"exception":"NpgsqlException","message":"The connection pool has been exhausted, either raise 'Max Pool Size' (currently 35) or 'Timeout' (currently 15 seconds) in your connection string.","helpLink":null,"data":{},"source":"Npgsql","stackTrace":" at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)\n at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)\n at Npgsql.NpgsqlConnection.Open()\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)\n at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)","inner":{"exception":"TimeoutException","message":"The operation has timed out.","helpLink":null,"data":{},"source":null,"stackTrace":null,"inner":null}}},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Tue, 24 Feb 2026 14:34:26 GMT","expires":"0","pragma":"no-cache","server":"nginx/1.28.0"},"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6Ijk1IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6Im5oYW52aWVuZHVvbmcwMSIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiRkVLVU1DV0kyRVpNQjVXRDVTU0pHQlIyVVgyTkpCNEsiLCJzdWIiOiJuaGFudmllbmR1b25nMDEiLCJqdGkiOiJkMjJiMDM0NS02NmViLTRmYmItOTk1Yy02YTNiY2Q0MzNjZGIiLCJpYXQiOjE3NzE4OTY3NzcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIxLWdpYW0tZG9jIiwiMy1zYWxlLXRydWMtcGFnZSIsIjYtbmhhbi12aWVuLWJhbi1oYW5nIl0sIm5iZiI6MTc3MTg5Njc3NywiZXhwIjoxNzcxOTgzMTc3LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.9K80Dd16NPAd9b5SIPvTyZst9WrZ5lW1myqwBxDOS2U","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://thoitrangcaocap6666.nobi.pro","paramsSerializer":{},"method":"post","url":"/api/orders/count","data":"{\"filters\":[],\"isLock\":false,\"page\":1,\"pagesize\":50,\"status\":[1,2,4,20,21,22,25,26,27,28,30,31,40,49,50,51,53,54,58,60,61,62,63,70,71,73,74,75,77,78,79,80,96,97,98,99],\"isAuto\":false,\"isReturnPart\":null,\"currentView\":\"all\",\"refresh\":false,\"priceType\":\"totalPrice\",\"priceType1\":\"totalPrice\",\"createTime\":[\"02/23/2026 17:00:00\",\"02/24/2026 16:59:59\"],\"ecommerceType\":[\"4\"],\"salerIds\":[95],\"transporters\":[\"0\"],\"shopIds\":[],\"pageIds\":[],\"zaloIds\":[],\"countStatus\":true,\"isCountStatus\":true}"},"request":{}}
"{\"filters\":[],\"isLock\":false,\"page\":1,\"pagesize\":50,\"status\":[1,2,4,20,21,22,25,26,27,28,30,31,40,49,50,51,53,54,58,60,61,62,63,70,71,73,74,75,77,78,79,80,96,97,98,99],\"isAuto\":false,\"isReturnPart\":null,\"currentView\":\"all\",\"refresh\":false,\"priceType\":\"totalPrice\",\"priceType1\":\"totalPrice\",\"createTime\":[\"02/23/2026 17:00:00\",\"02/24/2026 16:59:59\"],\"ecommerceType\":[\"4\"],\"salerIds\":[95],\"transporters\":[\"0\"],\"shopIds\":[],\"pageIds\":[],\"zaloIds\":[],\"countStatus\":true,\"isCountStatus\":true}"