| Time | Method | IP | Host | Path | Query | Status |
|---|---|---|---|---|---|---|
| 03/04 09:16 | GET | 100.96.1.48 | hunghung.nobi.pro | /SendFbCampaign/207849 | 500 | |
| 03/04 09:16 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/262093 | 500 | |
| 03/04 09:16 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/264329 | 500 | |
| 03/04 09:15 | GET | 100.96.1.48 | thoitrangcaocap6666.nobi.pro | /SendFbCampaign/1524193 | 500 | |
| 03/04 09:15 | GET | 100.96.1.48 | anhtt91.ecrm.vn | /SendFbCampaign/2513492 | 500 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /overview-report/density | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/top-campaign | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/users/inferior | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/inventory | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/ads | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/transport | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/reportSale | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/order-report | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | thammylavian.dcso.pro | /api/voip/client/token | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /task-manager | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /application/new | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /task-manager/count | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /notifications/checkNew | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /product-categories/type | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/loyalty | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/transporters | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /voip/number | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/departments | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/tags | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/customViews | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/ecom/account/shopcache | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/branches | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | khosiphukiennu.dcso.pro | /SendFbCampaign/725119 | 500 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/transporters/allTransportInfo | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/warehouse | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/orders/transporter | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/users | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/account | 400 | |
| 03/04 09:15 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/options | 400 | |
| 03/04 09:14 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/fields | 400 | |
| 03/04 09:14 | GET | 100.96.1.48 | mbht1.nobi.pro | /SendFbCampaign/13175 | 500 | |
| 03/04 09:14 | POST | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/options | 400 | |
| 03/04 09:14 | GET | 100.96.1.48 | hunghung.nobi.pro | /SendFbCampaign/207810 | 500 | |
| 03/04 09:14 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/255863 | 500 | |
| 03/04 09:13 | GET | 100.96.1.48 | bshoang.nobi.pro | /api/voip/client/token | 400 | |
| 03/04 09:13 | PUT | 100.96.1.48 | 582-ptlim84a.dcso.pro | /api/orders/16091 | 400 | |
| 03/04 09:13 | GET | 100.96.1.48 | anhtt91.ecrm.vn | /SendFbCampaign/2513161 | 500 | |
| 03/04 09:12 | GET | 100.96.1.48 | havinh.nobi.pro | /SendFbCampaign/82060 | 500 | |
| 03/04 09:12 | POST | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/options | 400 | |
| 03/04 09:12 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/users/inferior | 400 | |
| 03/04 09:12 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /overview-report/density | 400 | |
| 03/04 09:12 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/top-campaign | 400 | |
| 03/04 09:12 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/ads | 400 | |
| 03/04 09:12 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/transport | 400 | |
| 03/04 09:12 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/overview-report/inventory | 400 | |
| 03/04 07:38 | GET | 100.96.1.48 | hailynhcosmetic.nobi.pro | /SendFbCampaign/129382 | 500 |
{"ClassName":"System.Exception","Message":"Không thể tải file lên facebook","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FacebookApiService.cs:line 240\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Controllers\\BackgroundController.cs:line 778","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FacebookApiService.cs:line 240\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Controllers\\BackgroundController.cs:line 778","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken, Int32 retry) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 35\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FacebookApiService.cs:line 243\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\Nobi\\NobiV2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookApiService.cs:line 243\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/density","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9631","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:30 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"api/overview-report/density"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/top-campaign","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9636","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:29 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createTime","condition":"byDate","pagesize":5,"isOverview":true},"signal":{},"method":"get","url":"/api/overview-report/top-campaign"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/users/inferior","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9622","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:28 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/users/inferior"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/inventory","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9633","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:27 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate","onlyInside":true},"signal":{},"method":"get","url":"/api/overview-report/inventory"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/ads","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9627","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:26 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"/api/overview-report/ads"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/transport","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9633","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:25 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"/api/overview-report/transport"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/reportSale","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9634","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:24 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"/api/overview-report/reportSale"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/order-report","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9636","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:23 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"/api/overview-report/order-report"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"ArgumentException","message":"IDX10703: Cannot create a 'Microsoft.IdentityModel.Tokens.SymmetricSecurityKey', key length is zero.","helpLink":null,"data":{},"source":"Microsoft.IdentityModel.Tokens","stackTrace":" at Microsoft.IdentityModel.Tokens.SymmetricSecurityKey..ctor(Byte[] key)\n at Mobifone3cSdk.Client.MobiFone3c.GenToken(String agentId) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Lib\\Mobifone3c\\Mobifone3c.cs:line 56\n at Redsand.Site.Services.MobifoneService.GetToken(String agentId) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Voip\\MobifoneService.cs:line 67\n at Redsand.Site.Api.ClientController.GetClientToken() in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\Voip\\ClientController.cs:line 31\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":null},"status":400,"statusText":"","headers":{"cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:22 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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjQ1NSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJjaGlwdGsiLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6IllBSVNTQ1dLN0dXTjUyWTVJM1JOV09ZTTNKNU5RUFE3Iiwic3ViIjoiY2hpcHRrIiwianRpIjoiN2U5MGI0NjgtMTQ3Yy00OTY2LTliMTQtOTRjZDIzYjU3OTI3IiwiaWF0IjoxNzc1MTEyMjQzLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiIyODEtdGVsZXNhbGUiLCJuYmYiOjE3NzUxMTIyNDMsImV4cCI6MTc3NTE5ODY0MywiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.ovSILkhKks6W05p4DCxWWxlE_C-prWm44cq_wQbJEn8","ContentType":"application/json","x-hour-offset":"7","BranchId":"8","Locale":"vi"},"baseURL":"https://thammylavian.dcso.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjQ1NSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJjaGlwdGsiLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6IllBSVNTQ1dLN0dXTjUyWTVJM1JOV09ZTTNKNU5RUFE3Iiwic3ViIjoiY2hpcHRrIiwianRpIjoiN2U5MGI0NjgtMTQ3Yy00OTY2LTliMTQtOTRjZDIzYjU3OTI3IiwiaWF0IjoxNzc1MTEyMjQzLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiIyODEtdGVsZXNhbGUiLCJuYmYiOjE3NzUxMTIyNDMsImV4cCI6MTc3NTE5ODY0MywiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.ovSILkhKks6W05p4DCxWWxlE_C-prWm44cq_wQbJEn8","ContentType":"application/json","x-hour-offset":"7","BranchId":"8","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/task-manager","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9620","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:22 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"offset":0},"method":"get","url":"api/task-manager"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/application/new","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9623","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:21 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"api/application/new"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/task-manager/count","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9626","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:19 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"api/task-manager/count"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/notifications/checkNew","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9630","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:18 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"api/notifications/checkNew"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/product-categories/type","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9631","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:17 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"api/product-categories/type"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/loyalty","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9615","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:16 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/loyalty"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/transporters","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9620","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:15 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/transporters"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/voip/number","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 77\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 89\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9619","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:14 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"api/voip/number"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/departments","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9619","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:13 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"currentBranchOnly":true},"method":"get","url":"/api/departments"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/tags","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9612","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:12 GMT","expires":"-1","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","Cache-Control":"no-cache","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/tags"},"request":{}}
{"Accept":"application/json","Cache-Control":"no-cache","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/customViews","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9619","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:11 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/customViews"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/ecom/account/shopcache","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9630","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:09 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/ecom/account/shopcache"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/branches","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9616","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:08 GMT","expires":"-1","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","Cache-Control":"no-cache","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/branches"},"request":{}}
{"Accept":"application/json","Cache-Control":"no-cache","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken, Int32 retry) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 35\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FacebookApiService.cs:line 243\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\Nobi\\NobiV2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\Nobi\\NobiV2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/transporters/allTransportInfo","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9637","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:07 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/transporters/allTransportInfo"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/warehouse","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9617","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:06 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/warehouse"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/orders/transporter","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9626","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:05 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/orders/transporter"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/users","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9613","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:04 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"noPagination":true,"forSelect":true},"method":"get","url":"/api/users"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/account","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9615","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:02 GMT","expires":"-1","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","Cache-Control":"no-cache","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/account"},"request":{}}
{"Accept":"application/json","Cache-Control":"no-cache","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/options","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9615","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:15:01 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/options"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.AsNoTracking[TEntity](IQueryable`1 source)\n at Redsand.Site.Api.ViewAndField.CustomFieldsController.GetList(String search) in D:\\Nobi\\NobiV2\\Api\\ViewAndField\\CustomFieldsController.cs:line 71\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":null},"status":400,"statusText":"","headers":{"cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:14:58 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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/fields"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookApiService.cs:line 243\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/options","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 136\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-cache,no-store","content-length":"9615","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:14:47 GMT","expires":"-1","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"post","url":"/api/options","data":"{\"currency\":\"VND\"}"},"request":{}}
{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
"{\"currency\":\"VND\"}"
{"ClassName":"System.Exception","Message":"Không thể tải file lên facebook","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FacebookApiService.cs:line 240\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Services\\Facebook\\FbSender.cs:line 296\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\NobiV2\\Controllers\\BackgroundController.cs:line 778","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"data":{"exception":"Exception","message":"Không thể đăng nhập Mobifone","helpLink":null,"data":{},"source":"Redsand.Site","stackTrace":" at Mobifone3cSdk.Client.MobiFone3c.LoginAsync(String token) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Lib\\Mobifone3c\\Mobifone3c.cs:line 83\n at Redsand.Site.Services.MobifoneService.LoginAsync(String token) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Voip\\MobifoneService.cs:line 73\n at Redsand.Site.Api.ClientController.GetClientToken() in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\Voip\\ClientController.cs:line 38\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":"Exception","message":"{\"code\":\"errors\",\"message\":\"Domain not Found\"}","helpLink":null,"data":{},"source":null,"stackTrace":null,"inner":{"exception":"Exception","message":"Không tìm thấy trang","helpLink":null,"data":{},"source":null,"stackTrace":null,"inner":null}}},"status":400,"statusText":"","headers":{"cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:13:51 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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjI1IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6ImdpYW1kb2MyIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJJR0ZVNVhTUFJHR0c1WEVXTDdNS0JPSURYQktSSFFWVCIsInN1YiI6ImdpYW1kb2MyIiwianRpIjoiZDM4NGUwYzMtZWY0MC00NzlhLWE5ZWUtMGMxOTg3NTFjYmU2IiwiaWF0IjoxNzc1MDk2NzYxLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiIxLWdpYW0tZG9jIiwibmJmIjoxNzc1MDk2NzYxLCJleHAiOjE3NzUxODMxNjEsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.qGT7ikP2m8Q-zMsUi4L2h35FJSx32kq_2f8Cp1YtSPg","ContentType":"application/json","x-hour-offset":"7","BranchId":"4","Locale":"vi"},"baseURL":"https://bshoang.nobi.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjI1IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6ImdpYW1kb2MyIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJJR0ZVNVhTUFJHR0c1WEVXTDdNS0JPSURYQktSSFFWVCIsInN1YiI6ImdpYW1kb2MyIiwianRpIjoiZDM4NGUwYzMtZWY0MC00NzlhLWE5ZWUtMGMxOTg3NTFjYmU2IiwiaWF0IjoxNzc1MDk2NzYxLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiIxLWdpYW0tZG9jIiwibmJmIjoxNzc1MDk2NzYxLCJleHAiOjE3NzUxODMxNjEsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.qGT7ikP2m8Q-zMsUi4L2h35FJSx32kq_2f8Cp1YtSPg","ContentType":"application/json","x-hour-offset":"7","BranchId":"4","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","message":"The instance of entity type 'EcommerceOrder' cannot be tracked because another instance with the key value '{Id: 16091}' is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.ThrowIdentityConflict(InternalEntityEntry entry)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking(InternalEntityEntry entry)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintAction(EntityEntryGraphNode`1 node)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraph[TState](EntityEntryGraphNode`1 node, Func`2 handleNode)\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.AttachGraph(InternalEntityEntry rootEntry, EntityState targetState, EntityState storeGeneratedWithKeySetTargetState, Boolean forceStateWhenUnknownKey)\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.SetEntityState(InternalEntityEntry entry, EntityState entityState)\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.Attach(TEntity entity)\n at Redsand.Site.Services.OrderService.EcommerceUpdateInventoryAsync(EcommerceOrder order, String message, Boolean reInclude, ApplicationDbContext _db) in E:\\redsand\\BaseV2-Net6\\Services\\Order\\OrderService.cs:line 398\n at Redsand.Site.Api.OrdersEcommerceController.Update(Int32 id, EcommerceOrderBody model) in E:\\redsand\\BaseV2-Net6\\Api\\EcommerceOrder\\OrderController.cs:line 3382\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":null},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:13:46 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjI2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6Im5nb2N0aHV5Nzg4IiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJJT0RKR0wyVzZDRTNGSTZGNEFOQ0ZOWEZaVVpDNVJGMyIsInN1YiI6Im5nb2N0aHV5Nzg4IiwianRpIjoiNzg3ZTVlZTMtY2M0OS00NDUyLWEyMDQtZTEwNTQ2MDVjZGUwIiwiaWF0IjoxNzc0NDk0NDk4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiI5LW5oYW4tdmllbi1raW5oLWRvYW5oIiwibmJmIjoxNzc0NDk0NDk4LCJleHAiOjE3NzU3OTA0OTgsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.LHYXn6eMLtS0DYT3AIPZslQwGKe3wz9lCovakw6u2eY","ContentType":"application/json","x-hour-offset":"7","BranchId":"2","Locale":"vi"},"baseURL":"https://582-ptlim84a.dcso.pro","paramsSerializer":{},"method":"put","url":"/api/orders/16091","data":"{\"invoice\":{\"type\":1,\"customerId\":19693,\"isDiscountPrice\":false,\"relatedCustomerId\":null,\"id\":18867,\"code\":\"XB016077\",\"userId\":26,\"couponCode\":null,\"discount\":0,\"createDate\":\"2026-04-03T02:09:44.991854Z\",\"notes\":\"đã nhặt\",\"reason\":null,\"vat\":0,\"cod\":0,\"posOrderId\":null,\"posSyncDate\":null,\"warehouseId\":2,\"branchId\":2,\"depositAmount\":null,\"shippingFee\":17601,\"shippingFeeX\":17601,\"transferAmount\":null,\"total\":615000,\"insuranceValue\":\"615000.000\",\"status\":1,\"branchName\":\"Kho Lim\",\"isEmpty\":false,\"ecommerceDetails\":[{\"productId\":3244,\"key\":3244,\"isCombo\":false,\"product\":{\"id\":3244,\"name\":\"Đất xốp 36 màu to\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT401\",\"price\":23000,\"unit\":\"Vỉ\",\"inventoryBefore\":0,\"inventory\":-2457,\"productId\":4317,\"priceAvg\":18037,\"ecommerceFloorVariationId\":null},\"quantity\":20,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":22000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":440000,\"quantityX\":20},{\"productId\":3434,\"key\":3434,\"isCombo\":false,\"product\":{\"id\":3434,\"name\":\"Keo nến nhỏ (bó 100c)\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT272\",\"price\":80000,\"unit\":\"Bó\",\"inventoryBefore\":0,\"inventory\":-90,\"productId\":4444,\"priceAvg\":48076,\"ecommerceFloorVariationId\":null},\"quantity\":0.5,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":60000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":30000,\"quantityX\":0.5},{\"productId\":3145,\"key\":3145,\"isCombo\":false,\"product\":{\"id\":3145,\"name\":\"Bút chì K6 (12c)\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT506\",\"price\":19000,\"unit\":\"Hộp\",\"inventoryBefore\":0,\"inventory\":584,\"productId\":4220,\"priceAvg\":15468,\"ecommerceFloorVariationId\":null},\"quantity\":5,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":19000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":95000,\"quantityX\":5},{\"productId\":3020,\"key\":3020,\"isCombo\":false,\"product\":{\"id\":3020,\"name\":\"Ship\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT705\",\"price\":25000,\"unit\":\"Lần\",\"inventoryBefore\":0,\"inventory\":-658,\"productId\":4703,\"priceAvg\":0,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":50000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":50000,\"quantityX\":1}],\"returnFee\":0,\"coupons\":[],\"details\":null},\"customer\":null,\"transporter\":\"ViettelPost\",\"id\":16091,\"createDate\":\"2026-04-03T02:09:45.004348Z\",\"campaignId\":null,\"campaignName\":null,\"code\":\"DH016077\",\"invoiceId\":18867,\"salerId\":26,\"shop\":null,\"status\":1,\"customerName\":\"Tuyền\",\"customerNotes\":\"\",\"customerPhoneNumber\":\"0949705872\",\"buyerPriceTotal\":1600000,\"customerAvatar\":null,\"customerPageScopeId\":\"\",\"deliveringNote\":null,\"totalAmount\":615000,\"discountTotal\":0,\"priceTotal\":1600000,\"country\":null,\"wardId\":\"9191331012\",\"provinceId\":\"91\",\"districtId\":\"91913\",\"shippingAddress\":\"Trường Tiểu học Phạm Văn Hớn, Ấp Cạn Ngọn A\",\"districtName\":\"Huyện U Minh Thượng\",\"provinceName\":\"Kiên Giang\",\"addressLevel4\":null,\"wardName\":\"Xã Thạnh Yên\",\"shippingStatus\":1,\"packageId\":null,\"totalVat\":0,\"transporterId\":11,\"transporterServiceId\":\"VSL9\",\"trackingCode\":null,\"sendTransporterDate\":null,\"expectedDeliveryTime\":null,\"customerReceivedDate\":null,\"isFreeShipping\":true,\"transportType\":0,\"weight\":26.5,\"length\":null,\"height\":null,\"width\":null,\"adId\":null,\"conversationId\":null,\"checkingPolicy\":1,\"orderFee\":{\"id\":16091,\"discountVoucher\":0,\"discountVoucherPlatform\":0,\"discountShopeeCoin\":0,\"discountWallet\":0,\"shippingFeeSeller\":0,\"shippingFeePlatform\":0,\"originalShippingFee\":0,\"priceExcel\":0,\"transactionFee\":0,\"affiliateCommission\":0,\"platformCommission\":0,\"previousRevenue\":0,\"settlementRevenue\":null,\"tikTokDiscountFee\":0,\"settlementAmount\":0,\"settlementInfo\":null,\"settlementInfoObj\":null,\"salePrice\":1544999,\"customerPrice\":1600000,\"customerPriceCod\":null},\"orderAddress\":{\"id\":16092,\"shippingAddress\":\"Trường Tiểu học Phạm Văn Hớn, Ấp Cạn Ngọn A\",\"provinceId\":\"91\",\"districtId\":\"91913\",\"wardId\":\"9191331012\",\"wardName\":\"Xã Thạnh Yên\",\"provinceName\":\"Kiên Giang\",\"districtName\":\"Huyện U Minh Thượng\"},\"orderExtra\":{\"id\":16091,\"userCrossCheckedId\":null,\"userCrossChecked\":null,\"userConfirmReturnedId\":null,\"userConfirmReturned\":null,\"cancelReason\":null,\"crossCheckedStatus\":null,\"currentWarehouseName\":\"KGG, HBKGUT, Bưu cục U Minh Thượng - KGG - Kiên Giang, 0971283438, 924601, XÃ THẠNH YÊN\",\"numberOfPackages\":null,\"isInfoFromChat\":false,\"unLockDate\":null,\"sendTransporterDate\":null,\"expectedDeliveryTime\":null,\"customerReceivedDate\":null,\"lastUpdateTime\":null,\"cancelTime\":null,\"confirmReturnedDate\":null,\"crossCheckedDate\":null,\"flags\":{},\"flagsStr\":\"{}\",\"sortLine\":null,\"weight\":26.5},\"type\":4,\"flags\":{\"isFood\":false,\"isFragile\":false,\"isSealBox\":false,\"noStack\":false,\"arranged\":false,\"bbseco\":false,\"partialDelivery\":false,\"orderServiceAdd\":null},\"transporterName\":\"ViettelPost - PT MỚI\",\"isCustomFee\":false,\"sourceName\":null,\"salerName\":\"Ngọc Thúy\",\"salerPhoneNumber\":\"0355528788\",\"customerBuy\":{\"address\":\", \",\"fullName\":\". Thúy\",\"phone\":\"0354379564\",\"location\":{\"provinceId\":null,\"districtId\":null,\"wardId\":null,\"wardName\":\"Xã Tân Thành\",\"provinceName\":\"Bình Phước\",\"districtName\":\"Thị xã Đồng Xoài\"}},\"tags\":[],\"couponIds\":[],\"orderAddressId\":16092,\"orderExtraId\":16091,\"orderFeeId\":16091}"},"request":{}}
{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjI2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6Im5nb2N0aHV5Nzg4IiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJJT0RKR0wyVzZDRTNGSTZGNEFOQ0ZOWEZaVVpDNVJGMyIsInN1YiI6Im5nb2N0aHV5Nzg4IiwianRpIjoiNzg3ZTVlZTMtY2M0OS00NDUyLWEyMDQtZTEwNTQ2MDVjZGUwIiwiaWF0IjoxNzc0NDk0NDk4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiI5LW5oYW4tdmllbi1raW5oLWRvYW5oIiwibmJmIjoxNzc0NDk0NDk4LCJleHAiOjE3NzU3OTA0OTgsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.LHYXn6eMLtS0DYT3AIPZslQwGKe3wz9lCovakw6u2eY","ContentType":"application/json","x-hour-offset":"7","BranchId":"2","Locale":"vi"}
"{\"invoice\":{\"type\":1,\"customerId\":19693,\"isDiscountPrice\":false,\"relatedCustomerId\":null,\"id\":18867,\"code\":\"XB016077\",\"userId\":26,\"couponCode\":null,\"discount\":0,\"createDate\":\"2026-04-03T02:09:44.991854Z\",\"notes\":\"đã nhặt\",\"reason\":null,\"vat\":0,\"cod\":0,\"posOrderId\":null,\"posSyncDate\":null,\"warehouseId\":2,\"branchId\":2,\"depositAmount\":null,\"shippingFee\":17601,\"shippingFeeX\":17601,\"transferAmount\":null,\"total\":615000,\"insuranceValue\":\"615000.000\",\"status\":1,\"branchName\":\"Kho Lim\",\"isEmpty\":false,\"ecommerceDetails\":[{\"productId\":3244,\"key\":3244,\"isCombo\":false,\"product\":{\"id\":3244,\"name\":\"Đất xốp 36 màu to\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT401\",\"price\":23000,\"unit\":\"Vỉ\",\"inventoryBefore\":0,\"inventory\":-2457,\"productId\":4317,\"priceAvg\":18037,\"ecommerceFloorVariationId\":null},\"quantity\":20,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":22000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":440000,\"quantityX\":20},{\"productId\":3434,\"key\":3434,\"isCombo\":false,\"product\":{\"id\":3434,\"name\":\"Keo nến nhỏ (bó 100c)\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT272\",\"price\":80000,\"unit\":\"Bó\",\"inventoryBefore\":0,\"inventory\":-90,\"productId\":4444,\"priceAvg\":48076,\"ecommerceFloorVariationId\":null},\"quantity\":0.5,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":60000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":30000,\"quantityX\":0.5},{\"productId\":3145,\"key\":3145,\"isCombo\":false,\"product\":{\"id\":3145,\"name\":\"Bút chì K6 (12c)\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT506\",\"price\":19000,\"unit\":\"Hộp\",\"inventoryBefore\":0,\"inventory\":584,\"productId\":4220,\"priceAvg\":15468,\"ecommerceFloorVariationId\":null},\"quantity\":5,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":19000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":95000,\"quantityX\":5},{\"productId\":3020,\"key\":3020,\"isCombo\":false,\"product\":{\"id\":3020,\"name\":\"Ship\",\"weight\":1,\"length\":null,\"width\":null,\"height\":null,\"isCombo\":false,\"url\":null,\"sku\":null,\"code\":\"PT705\",\"price\":25000,\"unit\":\"Lần\",\"inventoryBefore\":0,\"inventory\":-658,\"productId\":4703,\"priceAvg\":0,\"ecommerceFloorVariationId\":null},\"quantity\":1,\"weight\":1,\"length\":1,\"width\":1,\"height\":1,\"price\":50000,\"discount\":0,\"isDiscountPrice\":false,\"totalAmount\":50000,\"quantityX\":1}],\"returnFee\":0,\"coupons\":[],\"details\":null},\"customer\":null,\"transporter\":\"ViettelPost\",\"id\":16091,\"createDate\":\"2026-04-03T02:09:45.004348Z\",\"campaignId\":null,\"campaignName\":null,\"code\":\"DH016077\",\"invoiceId\":18867,\"salerId\":26,\"shop\":null,\"status\":1,\"customerName\":\"Tuyền\",\"customerNotes\":\"\",\"customerPhoneNumber\":\"0949705872\",\"buyerPriceTotal\":1600000,\"customerAvatar\":null,\"customerPageScopeId\":\"\",\"deliveringNote\":null,\"totalAmount\":615000,\"discountTotal\":0,\"priceTotal\":1600000,\"country\":null,\"wardId\":\"9191331012\",\"provinceId\":\"91\",\"districtId\":\"91913\",\"shippingAddress\":\"Trường Tiểu học Phạm Văn Hớn, Ấp Cạn Ngọn A\",\"districtName\":\"Huyện U Minh Thượng\",\"provinceName\":\"Kiên Giang\",\"addressLevel4\":null,\"wardName\":\"Xã Thạnh Yên\",\"shippingStatus\":1,\"packageId\":null,\"totalVat\":0,\"transporterId\":11,\"transporterServiceId\":\"VSL9\",\"trackingCode\":null,\"sendTransporterDate\":null,\"expectedDeliveryTime\":null,\"customerReceivedDate\":null,\"isFreeShipping\":true,\"transportType\":0,\"weight\":26.5,\"length\":null,\"height\":null,\"width\":null,\"adId\":null,\"conversationId\":null,\"checkingPolicy\":1,\"orderFee\":{\"id\":16091,\"discountVoucher\":0,\"discountVoucherPlatform\":0,\"discountShopeeCoin\":0,\"discountWallet\":0,\"shippingFeeSeller\":0,\"shippingFeePlatform\":0,\"originalShippingFee\":0,\"priceExcel\":0,\"transactionFee\":0,\"affiliateCommission\":0,\"platformCommission\":0,\"previousRevenue\":0,\"settlementRevenue\":null,\"tikTokDiscountFee\":0,\"settlementAmount\":0,\"settlementInfo\":null,\"settlementInfoObj\":null,\"salePrice\":1544999,\"customerPrice\":1600000,\"customerPriceCod\":null},\"orderAddress\":{\"id\":16092,\"shippingAddress\":\"Trường Tiểu học Phạm Văn Hớn, Ấp Cạn Ngọn A\",\"provinceId\":\"91\",\"districtId\":\"91913\",\"wardId\":\"9191331012\",\"wardName\":\"Xã Thạnh Yên\",\"provinceName\":\"Kiên Giang\",\"districtName\":\"Huyện U Minh Thượng\"},\"orderExtra\":{\"id\":16091,\"userCrossCheckedId\":null,\"userCrossChecked\":null,\"userConfirmReturnedId\":null,\"userConfirmReturned\":null,\"cancelReason\":null,\"crossCheckedStatus\":null,\"currentWarehouseName\":\"KGG, HBKGUT, Bưu cục U Minh Thượng - KGG - Kiên Giang, 0971283438, 924601, XÃ THẠNH YÊN\",\"numberOfPackages\":null,\"isInfoFromChat\":false,\"unLockDate\":null,\"sendTransporterDate\":null,\"expectedDeliveryTime\":null,\"customerReceivedDate\":null,\"lastUpdateTime\":null,\"cancelTime\":null,\"confirmReturnedDate\":null,\"crossCheckedDate\":null,\"flags\":{},\"flagsStr\":\"{}\",\"sortLine\":null,\"weight\":26.5},\"type\":4,\"flags\":{\"isFood\":false,\"isFragile\":false,\"isSealBox\":false,\"noStack\":false,\"arranged\":false,\"bbseco\":false,\"partialDelivery\":false,\"orderServiceAdd\":null},\"transporterName\":\"ViettelPost - PT MỚI\",\"isCustomFee\":false,\"sourceName\":null,\"salerName\":\"Ngọc Thúy\",\"salerPhoneNumber\":\"0355528788\",\"customerBuy\":{\"address\":\", \",\"fullName\":\". Thúy\",\"phone\":\"0354379564\",\"location\":{\"provinceId\":null,\"districtId\":null,\"wardId\":null,\"wardName\":\"Xã Tân Thành\",\"provinceName\":\"Bình Phước\",\"districtName\":\"Thị xã Đồng Xoài\"}},\"tags\":[],\"couponIds\":[],\"orderAddressId\":16092,\"orderExtraId\":16091,\"orderFeeId\":16091}"
{"ClassName":"System.Exception","Message":"(#551) Người này hiện không có mặt.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookApiService.cs:line 243\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"ClassName":"System.Exception","Message":"This Page access token belongs to a Page that is not accessible.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in E:\\redsand\\inven-check\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 28\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in E:\\redsand\\inven-check\\Services\\Facebook\\FacebookApiService.cs:line 240\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in E:\\redsand\\inven-check\\Services\\Facebook\\FbSender.cs:line 198\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in E:\\redsand\\inven-check\\Services\\Facebook\\FbSender.cs:line 294\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in E:\\redsand\\inven-check\\Controllers\\BackgroundController.cs:line 778","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/options","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-cache,no-store","content-length":"9614","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:38 GMT","expires":"-1","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"post","url":"/api/options","data":"{\"allowImport\":false}"},"request":{}}
{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
"{\"allowImport\":false}"
{"data":{"exception":"InvalidOperationException","path":"/api/users/inferior","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9621","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:37 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/users/inferior"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/density","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9630","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:36 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"api/overview-report/density"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/top-campaign","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9635","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:35 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createTime","condition":"byDate","pagesize":5,"isOverview":true},"signal":{},"method":"get","url":"/api/overview-report/top-campaign"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/ads","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9626","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:34 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"/api/overview-report/ads"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/transport","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9632","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:33 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate"},"signal":{},"method":"get","url":"/api/overview-report/transport"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"data":{"exception":"InvalidOperationException","path":"/api/overview-report/inventory","message":"The entity type 'Error' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.","helpLink":null,"data":{},"source":"Microsoft.EntityFrameworkCore","stackTrace":" at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidateNonNullPrimaryKeys(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.NpgsqlModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)\n at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)\n at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()\n at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()\n at Microsoft.EntityFrameworkCore.DbContext.get_Model()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()\n at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()\n at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\n at Redsand.Site.RsCapAuthorizationHandler.<>c__DisplayClass7_0.<<HandleRequirementAsync>b__10>d.MoveNext() in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 71\n--- End of stack trace from previous location ---\n at Redsand.Site.Services.CacheService.GetOrCreateAsync[T](String key, Func`2 factory, Boolean setCache) in D:\\Nobi\\NobiV2\\Services\\CacheService.cs:line 84\n at Redsand.Site.RsCapAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, RsCapAuthorizationRequirement requirement) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationHandler.cs:line 68\n at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)\n at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)\n at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthorizeAsync(AuthorizationPolicy policy, AuthenticateResult authenticationResult, HttpContext context, Object resource)\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Redsand.Site.Services.SignalRAuthorizationMiddleware.Invoke(HttpContext httpContext) in D:\\Nobi\\NobiV2\\Services\\Auth\\AuthorizationMiddleware.cs:line 60\n at Redsand.Site.RequestCultureMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 appsettings) in D:\\Nobi\\NobiV2\\Services\\Translate\\RequestCultureMiddleware.cs:line 56\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"no-cache,no-store","content-length":"9632","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 02:12:32 GMT","expires":"-1","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"params":{"branchIds":[1],"fromDate":"2026-03-27T00:00:00+07:00","toDate":"2026-04-03T23:59:59+07:00","typeFilter":"createInvoice","condition":"byDate","onlyInside":true},"signal":{},"method":"get","url":"/api/overview-report/inventory"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic3lzdGVtYWRtaW4iLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik9SRDQzU1BBREFaNkRSTEZKRTdUVkxaWldURTNLVUUzIiwic3ViIjoic3lzdGVtYWRtaW4iLCJqdGkiOiIzNjI3YTI3NS03ODdhLTRiYWEtYjdhNS0zMGUzOGIyYzM5ZjgiLCJpYXQiOjE3NzUwMzMyMjcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluaXN0cmF0b3JzIiwibmJmIjoxNzc1MDMzMjI3LCJleHAiOjE3Nzc2MjUyMjcsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.whoqwL9G4W1kryOw2IE77C6ReCDIbOfixNN1zZDXtrE","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"ClassName":"System.Exception","Message":"(#10) Tin nhắn này được gửi ngoài khoảng thời gian cho phép. Tìm hiểu thêm về chính sách mới tại đây: https://developers.facebook.com/docs/messenger-platform/policy-overview","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Redsand.Site.Services.Facebook.Sdk.PageClient.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\n at Redsand.Site.Services.FacebookApiService.SendMessaging(Messaging messaging, String pageToken) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FacebookApiService.cs:line 243\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Services.FbSender.SendAsync(FbCampaign campaign, FbMessage facebook, Boolean resend, ApplicationDbContext _db) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Facebook\\FbSender.cs:line 308\n at Redsand.Site.Controllers.BackgroundController.SendFbCampaign(String camIds, Boolean debug) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Controllers\\BackgroundController.cs:line 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}