{"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.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)\n at Redsand.Site.Data.ApplicationDbContext.SaveChangesAsync(String caller, String file) in E:\\redsand\\inven-check\\Data\\ApplicationDbContext.cs:line 257\n at Redsand.Site.Api.OrdersEcommerceController.Create(EcommerceOrderBody model, String conversationId) in E:\\redsand\\inven-check\\Api\\EcommerceOrder\\OrderController.cs:line 828\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|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":{"exception":"DbUpdateException","message":"An error occurred while saving the entity changes. See the inner exception for details.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore.Relational","stackTrace":" at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)","inner":{"exception":"PostgresException","message":"53100: could not extend file \"base/296013/416833\": No space left on device","helpLink":null,"data":{"severity":"ERROR","invariantSeverity":"ERROR","sqlState":"53100","messageText":"could not extend file \"base/296013/416833\": No space left on device","hint":"Check free disk space.","file":"md.c","line":"630","routine":"mdzeroextend"},"source":"Npgsql","stackTrace":" at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|223_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)\n at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)\n at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)\n at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)\n at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)","inner":null}}},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 26 Dec 2025 17:25:13 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjM2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6IkRDVGVhbUFwcm8iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6IktYTFEyWUoyVU5RTFFTSEpTSVpLUkZHTEZJQ0RTWE5CIiwic3ViIjoiRENUZWFtQXBybyIsImp0aSI6IjU1NzY1OTk4LTVhMzAtNDk5OS05ZTFiLTJhM2M2NmE5ZjM5MiIsImlhdCI6MTc2NDY0ODEyNiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjItbmhhbi12aWVuLXNhbGUiLCI0NS1uaGFuLXZpZW4tc2FsZSIsIjMzLW5oYW4tdmllbi1zYWxlIl0sIm5iZiI6MTc2NDY0ODEyNiwiZXhwIjoxNzY3MjQwMTI2LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.wsKa-PuqXfdM8006VIlXyjdV8uUs0U768dgsIKfcYs4","ContentType":"application/json","x-hour-offset":"7","BranchId":"2","Locale":"vi"},"baseURL":"https://dcdecor.ecrm.vn","paramsSerializer":{},"method":"post","url":"/api/orders","data":"{\"invoice\":{\"type\":1,\"customerId\":null,\"isDiscountPrice\":true,\"discount\":0,\"relatedCustomerId\":null,\"details\":null,\"warehouseId\":2,\"notes\":null,\"vat\":0,\"total\":400000,\"shippingFee\":25000,\"shippingFeeX\":25000,\"ecommerceDetails\":[{\"productId\":3789,\"key\":3789,\"isCombo\":false,\"product\":{\"id\":3789,\"name\":\"Tranh Đơn Tráng Gương Kích Thước 60x120 Khác\",\"weight\":5000,\"length\":60,\"width\":120,\"height\":3,\"isCombo\":false,\"url\":null,\"sku\":\"BP31724377\",\"code\":\"BP31724377\",\"price\":400000,\"unit\":\"Bức\",\"inventoryBefore\":0,\"inventory\":-12147,\"productId\":4179,\"priceAvg\":0,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":5000,\"length\":60,\"width\":120,\"height\":3,\"price\":400000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":400000,\"quantityX\":1}],\"insuranceValue\":\"400000.000\"},\"customer\":null,\"transporter\":\"GiaoHangNhanhV2\",\"transporterId\":30,\"trackingCode\":null,\"weight\":5000,\"salerId\":36,\"status\":1,\"checkingPolicy\":1,\"customerName\":\"Nguyễn Hà\",\"customerNotes\":\"\",\"customerPhoneNumber\":\"0979734028\",\"orderAddress\":{\"provinceId\":\"22\",\"districtId\":\"22195\",\"wardId\":\"2219506760\",\"shippingAddress\":\"tổ 1 khu 11\",\"provinceName\":\"Quảng Ninh\",\"districtName\":\"Thành phố Cẩm Phả\",\"wardName\":\"Phường Mông Dương\"},\"orderExtra\":{\"weight\":5000,\"flagsStr\":\"{}\",\"flags\":{}},\"orderFee\":{\"codFailedAmount\":30000},\"transporterServiceId\":\"53321\",\"transportType\":0,\"isFreeShipping\":true,\"isCustomFee\":false,\"couponIds\":[],\"totalAmount\":400000}"},"request":{}}
"{\"invoice\":{\"type\":1,\"customerId\":null,\"isDiscountPrice\":true,\"discount\":0,\"relatedCustomerId\":null,\"details\":null,\"warehouseId\":2,\"notes\":null,\"vat\":0,\"total\":400000,\"shippingFee\":25000,\"shippingFeeX\":25000,\"ecommerceDetails\":[{\"productId\":3789,\"key\":3789,\"isCombo\":false,\"product\":{\"id\":3789,\"name\":\"Tranh Đơn Tráng Gương Kích Thước 60x120 Khác\",\"weight\":5000,\"length\":60,\"width\":120,\"height\":3,\"isCombo\":false,\"url\":null,\"sku\":\"BP31724377\",\"code\":\"BP31724377\",\"price\":400000,\"unit\":\"Bức\",\"inventoryBefore\":0,\"inventory\":-12147,\"productId\":4179,\"priceAvg\":0,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":5000,\"length\":60,\"width\":120,\"height\":3,\"price\":400000,\"discount\":0,\"isDiscountPrice\":true,\"totalAmount\":400000,\"quantityX\":1}],\"insuranceValue\":\"400000.000\"},\"customer\":null,\"transporter\":\"GiaoHangNhanhV2\",\"transporterId\":30,\"trackingCode\":null,\"weight\":5000,\"salerId\":36,\"status\":1,\"checkingPolicy\":1,\"customerName\":\"Nguyễn Hà\",\"customerNotes\":\"\",\"customerPhoneNumber\":\"0979734028\",\"orderAddress\":{\"provinceId\":\"22\",\"districtId\":\"22195\",\"wardId\":\"2219506760\",\"shippingAddress\":\"tổ 1 khu 11\",\"provinceName\":\"Quảng Ninh\",\"districtName\":\"Thành phố Cẩm Phả\",\"wardName\":\"Phường Mông Dương\"},\"orderExtra\":{\"weight\":5000,\"flagsStr\":\"{}\",\"flags\":{}},\"orderFee\":{\"codFailedAmount\":30000},\"transporterServiceId\":\"53321\",\"transportType\":0,\"isFreeShipping\":true,\"isCustomFee\":false,\"couponIds\":[],\"totalAmount\":400000}"