{"data":{"error":"Error","name":"InvalidOperationException","message":"An exception has been raised that is likely due to a transient failure.","helpLink":null,"source":"Npgsql.EntityFrameworkCore.PostgreSQL","stackTrace":" at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()\n at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)\n at Redsand.Api.TransportShippingController.FindServices(FindServiceBody model) in /app/Api/TransportController.cs:line 192\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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":{"error":"Error","name":"TimeoutException","message":"The operation has timed out.","helpLink":null,"source":"Npgsql","stackTrace":" at Npgsql.NpgsqlTimeout.Check()\n at Npgsql.NpgsqlConnector.Authenticate(String username, NpgsqlTimeout timeout, Boolean async)\n at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)\n at Npgsql.ConnectorPool.AllocateLong(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)\n at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)","inner":null}},"status":400,"statusText":"","headers":{"content-type":"application/json; charset=utf-8"},"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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjI1IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6IjA4NzYyMDg2ODQiLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6IlZCMk1BNU00SVZIRDZNTk5RTUpSQkRaWkM3VE1UNlpOIiwic3ViIjoiMDg3NjIwODY4NCIsImp0aSI6ImE2YjNmMDIwLWNjY2ItNGQyNy1hMTdmLWNjYWNkZjY5ODIxMSIsImlhdCI6MTc2OTMzODg4NiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiMy10ZWxlc2FsZSIsIm5iZiI6MTc2OTMzODg4NiwiZXhwIjoxNzcwNjM0ODg2LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.ZxZDfNFOzwYNwZdb5Ecz8bW2B0ISFuwK7YcZEUSuRqw","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://lunova.nobi.pro","paramsSerializer":{},"signal":{},"method":"post","url":"https://vc.ecrm.vn/api/transport/find-services","data":"{\"appName\":\"lunova.nobi.pro\",\"fromWardId\":\"0102100601\",\"fromDistrictId\":\"01021\",\"fromAddress\":\"89 Tân Xuân, Đông Ngạc, Bắc Từ Liêm\",\"toDistrictId\":\"24218\",\"toWardID\":\"2421807495\",\"toAddress\":\"cổng trường cấp 1/2 lan mẫu luc nam bac giang\",\"weight\":990,\"transporters\":[{\"id\":3,\"transporter\":\"JNT\",\"displayName\":\"LUNOVA VN\",\"clientId\":\"024LC30728\",\"apiToken\":null,\"createDate\":\"2025-11-01T02:22:33.393651Z\",\"options\":{\"services\":null,\"coupons\":null,\"insured\":false,\"payWhenSendPackage\":false,\"sendAtOffice\":true,\"excludeCodFee\":false,\"serviceCode\":null},\"status\":1,\"branches\":[]},{\"id\":5,\"transporter\":\"JNT\",\"displayName\":\"LUNOVA SHOP\",\"clientId\":\"024LC31833\",\"apiToken\":null,\"createDate\":\"2025-12-19T10:42:33.40025Z\",\"options\":{\"services\":null,\"coupons\":null,\"insured\":false,\"payWhenSendPackage\":false,\"sendAtOffice\":true,\"excludeCodFee\":false,\"serviceCode\":null},\"status\":1,\"branches\":[]}],\"transportType\":0,\"totalAmount\":99000,\"insuranceValue\":\"99000.000\",\"isFreeShipping\":false,\"height\":9,\"width\":15,\"length\":41,\"flags\":{},\"onlyNinjavan\":false,\"checkingPolicy\":1,\"products\":[{\"name\":\"THẮT LƯNG T207(Đen Nguyên Khối)\",\"width\":15,\"height\":9,\"length\":41,\"quantity\":1,\"weight\":1000}]}"},"request":{}}
"{\"appName\":\"lunova.nobi.pro\",\"fromWardId\":\"0102100601\",\"fromDistrictId\":\"01021\",\"fromAddress\":\"89 Tân Xuân, Đông Ngạc, Bắc Từ Liêm\",\"toDistrictId\":\"24218\",\"toWardID\":\"2421807495\",\"toAddress\":\"cổng trường cấp 1/2 lan mẫu luc nam bac giang\",\"weight\":990,\"transporters\":[{\"id\":3,\"transporter\":\"JNT\",\"displayName\":\"LUNOVA VN\",\"clientId\":\"024LC30728\",\"apiToken\":null,\"createDate\":\"2025-11-01T02:22:33.393651Z\",\"options\":{\"services\":null,\"coupons\":null,\"insured\":false,\"payWhenSendPackage\":false,\"sendAtOffice\":true,\"excludeCodFee\":false,\"serviceCode\":null},\"status\":1,\"branches\":[]},{\"id\":5,\"transporter\":\"JNT\",\"displayName\":\"LUNOVA SHOP\",\"clientId\":\"024LC31833\",\"apiToken\":null,\"createDate\":\"2025-12-19T10:42:33.40025Z\",\"options\":{\"services\":null,\"coupons\":null,\"insured\":false,\"payWhenSendPackage\":false,\"sendAtOffice\":true,\"excludeCodFee\":false,\"serviceCode\":null},\"status\":1,\"branches\":[]}],\"transportType\":0,\"totalAmount\":99000,\"insuranceValue\":\"99000.000\",\"isFreeShipping\":false,\"height\":9,\"width\":15,\"length\":41,\"flags\":{},\"onlyNinjavan\":false,\"checkingPolicy\":1,\"products\":[{\"name\":\"THẮT LƯNG T207(Đen Nguyên Khối)\",\"width\":15,\"height\":9,\"length\":41,\"quantity\":1,\"weight\":1000}]}"