| Time | Method | IP | Host | Path | Query | Status |
|---|---|---|---|---|---|---|
| 03/04 11:48 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/fields | 400 | |
| 03/04 11:47 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/authSSO/check-sso | 404 | |
| 03/04 11:47 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/account | 404 | |
| 03/04 11:47 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/enums | 404 | |
| 03/04 11:47 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/fields | 404 | |
| 03/04 11:47 | GET | 100.96.1.48 | thoitrangcaocap6666.nobi.pro | /SendFbCampaign/1524964 | 500 | |
| 03/04 11:47 | GET | 100.96.1.48 | onete.nobi.pro | /SendFbCampaign/242534 | 500 | |
| 03/04 11:46 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/267516 | 500 | |
| 03/04 11:46 | GET | 100.96.1.48 | vingoothuong.nobi.pro | /SendFbCampaign/7146921 | 500 | |
| 03/04 11:45 | GET | 100.96.1.48 | thammylavian.dcso.pro | /api/voip/client/token | 400 | |
| 03/04 11:45 | GET | 100.96.1.48 | tranyen.nobi.pro | /SendFbCampaign/9153 | 500 | |
| 03/04 11:44 | GET | 100.96.1.48 | sacmauviet.nobi.pro | /api/voip/client/token | 400 | |
| 03/04 11:44 | GET | 100.96.1.48 | thoitrangcaocap6666.nobi.pro | /SendFbCampaign/1524963 | 500 | |
| 03/04 11:43 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /voip/agent | 400 | |
| 03/04 11:43 | GET | 100.96.1.48 | vingoothuong.nobi.pro | /SendFbCampaign/7166002 | 500 | |
| 03/04 11:43 | GET | 100.96.1.48 | vingoothuong.nobi.pro | /SendFbCampaign/7144227 | 500 | |
| 03/04 11:43 | GET | 100.96.1.48 | thinhlongkhanh.ecrm.vn | /SendFbCampaign/1851501 | 500 | |
| 03/04 11:43 | GET | 100.96.1.48 | thinhlongkhanh.ecrm.vn | /SendFbCampaign/1851500 | 500 | |
| 03/04 11:42 | PUT | 100.96.1.48 | thammylavian.dcso.pro | /api/leads/logs/countdown/642216 | 404 | |
| 03/04 11:42 | GET | 100.96.1.48 | thammylavian.dcso.pro | /api/conversations | 404 | |
| 03/04 11:42 | GET | 100.96.1.48 | thammylavian.dcso.pro | /api/voip/client/token | 400 | |
| 03/04 11:42 | GET | 100.96.1.48 | hunghung.nobi.pro | /SendFbCampaign/208001 | 500 | |
| 03/04 11:42 | GET | 100.96.1.48 | dhtshop.dcso.prohttps | //locations.ecrm.vn/api/locations/find | ?address= | 400 |
| 03/04 11:41 | GET | 100.96.1.48 | khosiphukiennu.dcso.pro | /SendFbCampaign/725230 | 500 | |
| 03/04 11:41 | GET | 100.96.1.48 | thinhlongkhanh.ecrm.vn | /SendFbCampaign/1851497 | 500 | |
| 03/04 11:41 | GET | 100.96.1.48 | thinhlongkhanh.ecrm.vn | /SendFbCampaign/1851496 | 500 | |
| 03/04 11:41 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/247125 | 500 | |
| 03/04 11:41 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/264404 | 500 | |
| 03/04 11:41 | GET | 100.96.1.48 | mrtrung.ecrm.vn | /SendFbCampaign/264397 | 500 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /notifications/checkNew | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/ecom/account/shopcache | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/departments | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/loyalty | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | uni.nobi.pro | /api/voip/client/token | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/transporters/allTransportInfo | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /voip/number | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/warehouse | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vnapi | /product-categories/type | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/tags | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/customViews | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/orders/transporter | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | vohuyen.dcso.pro | /api/voip/client/token | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | drlinhnguyen.nobi.pro | /api/voip/client/token | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | khosiphukiennu.dcso.pro | /SendFbCampaign/725229 | 500 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/transporters | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/users | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/branches | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/account | 400 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | / | 466 | |
| 03/04 11:40 | GET | 100.96.1.48 | nobiv2-stable.ecrm.vn | /api/options | 400 | |
| 03/04 10:15 | GET | 100.96.1.48 | hunghung.nobi.pro | /SendFbCampaign/207966 | 500 |
{"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.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProvider p)\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.CheckState()\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:\\ECRM-NOBI-R2\\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 04:48:07 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","ContentType":"application/json","x-hour-offset":"7","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/fields"},"request":{}}
{"Accept":"application/json","ContentType":"application/json","x-hour-offset":"7","Locale":"vi"}
{}
{"data":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n","status":404,"statusText":"","headers":{"content-length":"555","content-type":"text/html","date":"Fri, 03 Apr 2026 04:47:49 GMT","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","ContentType":"application/json","x-hour-offset":"7","Locale":"en"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/authSSO/check-sso"},"request":{}}
{"Accept":"application/json","ContentType":"application/json","x-hour-offset":"7","Locale":"en"}
{}
{"data":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n","status":404,"statusText":"","headers":{"content-length":"555","content-type":"text/html","date":"Fri, 03 Apr 2026 04:47:49 GMT","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","ContentType":"application/json","x-hour-offset":"7","Locale":"en"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/account"},"request":{}}
{"Accept":"application/json","Cache-Control":"no-cache","ContentType":"application/json","x-hour-offset":"7","Locale":"en"}
{}
{"data":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n","status":404,"statusText":"","headers":{"content-length":"555","content-type":"text/html","date":"Fri, 03 Apr 2026 04:47:49 GMT","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","ContentType":"application/json","x-hour-offset":"7","Locale":"en"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/enums"},"request":{}}
{"Accept":"application/json","Cache-Control":"no-cache","ContentType":"application/json","x-hour-offset":"7","Locale":"en"}
{}
{"data":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n","status":404,"statusText":"","headers":{"content-length":"555","content-type":"text/html","date":"Fri, 03 Apr 2026 04:47:49 GMT","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","ContentType":"application/json","x-hour-offset":"7","Locale":"en"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"/api/fields"},"request":{}}
{"Accept":"application/json","ContentType":"application/json","x-hour-offset":"7","Locale":"en"}
{}
{"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 E:\\redsand\\inven-check\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\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 296\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 296\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}
{}
{"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":"(#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 E:\\redsand\\inven-check\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\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 296\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 296\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":"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 04:45:10 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjE1MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJOR09DTElOSCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTVpMTzZOQkFKNFhST0hYRzVHVkVGVEZPNVZESEE3RUgiLCJzdWIiOiJOR09DTElOSCIsImp0aSI6ImZkYTBjYWI0LWFjNjMtNDNmNC1iN2ZjLTcwZGZlYjAwN2VkMyIsImlhdCI6MTc3MzgwNzI0OSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjMzNi1uby1ydWxlIiwiMjgwLXRlbGVzYWxlIl0sIm5iZiI6MTc3MzgwNzI0OSwiZXhwIjoxNzc2Mzk5MjQ5LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.40mqktj9if0MLykHPOAmz8RvHCJQ38IdrjdMb8BfnaE","ContentType":"application/json","x-hour-offset":"7","BranchId":"7","Locale":"vi"},"baseURL":"https://thammylavian.dcso.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjE1MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJOR09DTElOSCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTVpMTzZOQkFKNFhST0hYRzVHVkVGVEZPNVZESEE3RUgiLCJzdWIiOiJOR09DTElOSCIsImp0aSI6ImZkYTBjYWI0LWFjNjMtNDNmNC1iN2ZjLTcwZGZlYjAwN2VkMyIsImlhdCI6MTc3MzgwNzI0OSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjMzNi1uby1ydWxlIiwiMjgwLXRlbGVzYWxlIl0sIm5iZiI6MTc3MzgwNzI0OSwiZXhwIjoxNzc2Mzk5MjQ5LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.40mqktj9if0MLykHPOAmz8RvHCJQ38IdrjdMb8BfnaE","ContentType":"application/json","x-hour-offset":"7","BranchId":"7","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":"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 04:44:59 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjciLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic2FsZTMiLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik5KU1VJN0pZS1pTR1NHSjdaWkxOWFJVNUdGU1VPTkxKIiwic3ViIjoic2FsZTMiLCJqdGkiOiI0N2M0MTdmNy1mZjc4LTQ2NmEtOTQ4ZS0xNWU5YzllODliYzgiLCJpYXQiOjE3NzQ1NzMzMzIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIxLXNhbGUiLCIzLW5oYW4tdmllbi1zYWxlIl0sIm5iZiI6MTc3NDU3MzMzMiwiZXhwIjoxNzc3MTY1MzMyLCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.HH4lLz9fxHbl5pCNkR5XN5p7pS95vyNgSeyraI4eNhU","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://sacmauviet.nobi.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjciLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic2FsZTMiLCJBc3BOZXQuSWRlbnRpdHkuU2VjdXJpdHlTdGFtcCI6Ik5KU1VJN0pZS1pTR1NHSjdaWkxOWFJVNUdGU1VPTkxKIiwic3ViIjoic2FsZTMiLCJqdGkiOiI0N2M0MTdmNy1mZjc4LTQ2NmEtOTQ4ZS0xNWU5YzllODliYzgiLCJpYXQiOjE3NzQ1NzMzMzIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIxLXNhbGUiLCIzLW5oYW4tdmllbi1zYWxlIl0sIm5iZiI6MTc3NDU3MzMzMiwiZXhwIjoxNzc3MTY1MzMyLCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.HH4lLz9fxHbl5pCNkR5XN5p7pS95vyNgSeyraI4eNhU","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":"Exception","message":"keySid invalid","helpLink":null,"data":{},"source":"Redsand.Site","stackTrace":" at StringeeSdk.Client.StringeeBaseClient.GetListAsync[T](Int32 page, Int32 limit) in D:\\ECRM-NOBI-R2\\Lib\\Stringee\\StringeeBaseClient.cs:line 49\n at StringeeSdk.Client.AgentClient.GetListAsync(Int32 page, Int32 limit) in D:\\ECRM-NOBI-R2\\Lib\\Stringee\\Client\\AgentClient.cs:line 37\n at Redsand.Site.Api.AgentController.GetList(Boolean force) in D:\\ECRM-NOBI-R2\\Api\\Voip\\Stringee\\AgentController.cs:line 129\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":{"cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 04:43:48 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNjFhMjFiYWUtNzM4Zi00MDVlLWE5NTAtOGM3N2QxMWM4MDI4IiwiaWF0IjoxNzc1MTkxNDI3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxOTE0MjcsImV4cCI6MTc3NTI3NzgyNywiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.rFoGlX9DsiK60IV5lp7NM_FATXtfIVLGob5gWs7lMUc","ContentType":"application/json","x-hour-offset":"7","Locale":"vi"},"baseURL":"https://nobiv2-stable.ecrm.vn","paramsSerializer":{},"method":"get","url":"api/voip/agent"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNjFhMjFiYWUtNzM4Zi00MDVlLWE5NTAtOGM3N2QxMWM4MDI4IiwiaWF0IjoxNzc1MTkxNDI3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxOTE0MjcsImV4cCI6MTc3NTI3NzgyNywiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.rFoGlX9DsiK60IV5lp7NM_FATXtfIVLGob5gWs7lMUc","ContentType":"application/json","x-hour-offset":"7","Locale":"vi"}
{}
{"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 E:\\redsand\\inven-check\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\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 296\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 296\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}
{}
{"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 E:\\redsand\\inven-check\\Services\\Facebook\\FacebookSdk\\PageApiClient.cs:line 29\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 296\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 296\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}
{}
{"ClassName":"System.Exception","Message":"(#10) Không gửi được tin nhắn do một ứng dụng khác hiện đang kiểm soát thread này.","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 29\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 296\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 296\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}
{}
{"ClassName":"System.Exception","Message":"(#10) Không gửi được tin nhắn do một ứng dụng khác hiện đang kiểm soát thread này.","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 29\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 296\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 296\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":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n","status":404,"statusText":"","headers":{"content-length":"555","content-type":"text/html","date":"Fri, 03 Apr 2026 04:42:56 GMT","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjE1MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJOR09DTElOSCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTVpMTzZOQkFKNFhST0hYRzVHVkVGVEZPNVZESEE3RUgiLCJzdWIiOiJOR09DTElOSCIsImp0aSI6ImZkYTBjYWI0LWFjNjMtNDNmNC1iN2ZjLTcwZGZlYjAwN2VkMyIsImlhdCI6MTc3MzgwNzI0OSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjMzNi1uby1ydWxlIiwiMjgwLXRlbGVzYWxlIl0sIm5iZiI6MTc3MzgwNzI0OSwiZXhwIjoxNzc2Mzk5MjQ5LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.40mqktj9if0MLykHPOAmz8RvHCJQ38IdrjdMb8BfnaE","ContentType":"application/json","x-hour-offset":"7","BranchId":"7","Locale":"vi"},"baseURL":"https://thammylavian.dcso.pro","paramsSerializer":{},"method":"put","url":"/api/leads/logs/countdown/642216","data":"{\"nextActionTime\":\"2026-04-05T01:00:47.300Z\"}"},"request":{}}
{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjE1MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJOR09DTElOSCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTVpMTzZOQkFKNFhST0hYRzVHVkVGVEZPNVZESEE3RUgiLCJzdWIiOiJOR09DTElOSCIsImp0aSI6ImZkYTBjYWI0LWFjNjMtNDNmNC1iN2ZjLTcwZGZlYjAwN2VkMyIsImlhdCI6MTc3MzgwNzI0OSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjMzNi1uby1ydWxlIiwiMjgwLXRlbGVzYWxlIl0sIm5iZiI6MTc3MzgwNzI0OSwiZXhwIjoxNzc2Mzk5MjQ5LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.40mqktj9if0MLykHPOAmz8RvHCJQ38IdrjdMb8BfnaE","ContentType":"application/json","x-hour-offset":"7","BranchId":"7","Locale":"vi"}
"{\"nextActionTime\":\"2026-04-05T01:00:47.300Z\"}"
{"data":"<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n","status":404,"statusText":"","headers":{"content-length":"555","content-type":"text/html","date":"Fri, 03 Apr 2026 04:42:53 GMT","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEyMiIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJHU0NMIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJCRUxJRkpVNjZGNFhDQjdXV0tJQlJONVhLUFhOVkpHUyIsInN1YiI6IkdTQ0wiLCJqdGkiOiJiMzYzYWZiNy00NzhmLTQ4ZGEtOTdiYS1kY2Y5NWFlMWEzOTciLCJpYXQiOjE3NzQ1MTM4ODIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIzMDMtdHJ1b25nLXBob25nIiwiMzc5LXRydW9uZy1waG9uZyIsIjM3OS10ZWxlc2FsZSIsIjM3OS1sZWFkIiwiMjgwLWNoZWNrLXZvaWNlIiwiMjgxLWNoZWNrLXZvaWNlIiwiMzM2LW5vLXJ1bGUiLCIzODEtdHJ1b25nLXBob25nIiwiMzgzLXRydW9uZy1waG9uZyIsIjM4NS10cnVvbmctcGhvbmciLCIzOTEtdHJ1b25nLXBob25nIiwiMzkxLXRlbGVzYWxlIiwiMzA0LWxlYWQtc2FsZSIsIjMzMi10cnVvbmctcGhvbmciLCIzMzItbGVhZCIsIjMzNC1sZWFkIiwiMjc3LWxlYWQiLCIyODAtdGVsZXNhbGUiLCIyODAtbGVhZCIsIjI4MS10ZWxlc2FsZSIsIjI4MS1sZWFkIiwiMjc3LXphbG8tcHJvZmlsZSIsIjI4MC16YWxvLXByb2ZpbGUiLCIyODEtemFsby1wcm9maWxlIiwiMzA0LXphbG8tcHJvZmlsZSIsIjM3OS16YWxvLXByb2ZpbGUiLCIzMzUtemFsby1wcm9maWxlIiwiMjc3LXRydW9uZy1waG9uZyIsIjMzNS10cnVvbmctcGhvbmciXSwibmJmIjoxNzc0NTEzODgyLCJleHAiOjE3NzcxMDU4ODIsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.9SUpzRf1Sr8b9NgSuttPimWpV_3GxlxlK0Uer1WYzAs","ContentType":"application/json","x-hour-offset":"7","BranchId":"26","Locale":"vi"},"baseURL":"https://thammylavian.dcso.pro","paramsSerializer":{},"params":{"searchTarget":"customer","offset":0,"facebook":[],"zalo":[],"shopee":[],"lazada":[],"tiktok":[],"platforms":["zaloProfile"],"zaloProfile":[223,232,221],"instagram":[],"search":"Mưa Nhỏ"},"signal":{},"method":"get","url":"/api/conversations"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjEyMiIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJHU0NMIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJCRUxJRkpVNjZGNFhDQjdXV0tJQlJONVhLUFhOVkpHUyIsInN1YiI6IkdTQ0wiLCJqdGkiOiJiMzYzYWZiNy00NzhmLTQ4ZGEtOTdiYS1kY2Y5NWFlMWEzOTciLCJpYXQiOjE3NzQ1MTM4ODIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIzMDMtdHJ1b25nLXBob25nIiwiMzc5LXRydW9uZy1waG9uZyIsIjM3OS10ZWxlc2FsZSIsIjM3OS1sZWFkIiwiMjgwLWNoZWNrLXZvaWNlIiwiMjgxLWNoZWNrLXZvaWNlIiwiMzM2LW5vLXJ1bGUiLCIzODEtdHJ1b25nLXBob25nIiwiMzgzLXRydW9uZy1waG9uZyIsIjM4NS10cnVvbmctcGhvbmciLCIzOTEtdHJ1b25nLXBob25nIiwiMzkxLXRlbGVzYWxlIiwiMzA0LWxlYWQtc2FsZSIsIjMzMi10cnVvbmctcGhvbmciLCIzMzItbGVhZCIsIjMzNC1sZWFkIiwiMjc3LWxlYWQiLCIyODAtdGVsZXNhbGUiLCIyODAtbGVhZCIsIjI4MS10ZWxlc2FsZSIsIjI4MS1sZWFkIiwiMjc3LXphbG8tcHJvZmlsZSIsIjI4MC16YWxvLXByb2ZpbGUiLCIyODEtemFsby1wcm9maWxlIiwiMzA0LXphbG8tcHJvZmlsZSIsIjM3OS16YWxvLXByb2ZpbGUiLCIzMzUtemFsby1wcm9maWxlIiwiMjc3LXRydW9uZy1waG9uZyIsIjMzNS10cnVvbmctcGhvbmciXSwibmJmIjoxNzc0NTEzODgyLCJleHAiOjE3NzcxMDU4ODIsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.9SUpzRf1Sr8b9NgSuttPimWpV_3GxlxlK0Uer1WYzAs","ContentType":"application/json","x-hour-offset":"7","BranchId":"26","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 65\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()\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 04:42:44 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjE1MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJOR09DTElOSCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTVpMTzZOQkFKNFhST0hYRzVHVkVGVEZPNVZESEE3RUgiLCJzdWIiOiJOR09DTElOSCIsImp0aSI6ImZkYTBjYWI0LWFjNjMtNDNmNC1iN2ZjLTcwZGZlYjAwN2VkMyIsImlhdCI6MTc3MzgwNzI0OSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjMzNi1uby1ydWxlIiwiMjgwLXRlbGVzYWxlIl0sIm5iZiI6MTc3MzgwNzI0OSwiZXhwIjoxNzc2Mzk5MjQ5LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.40mqktj9if0MLykHPOAmz8RvHCJQ38IdrjdMb8BfnaE","ContentType":"application/json","x-hour-offset":"7","BranchId":"7","Locale":"vi"},"baseURL":"https://thammylavian.dcso.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjE1MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJOR09DTElOSCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTVpMTzZOQkFKNFhST0hYRzVHVkVGVEZPNVZESEE3RUgiLCJzdWIiOiJOR09DTElOSCIsImp0aSI6ImZkYTBjYWI0LWFjNjMtNDNmNC1iN2ZjLTcwZGZlYjAwN2VkMyIsImlhdCI6MTc3MzgwNzI0OSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIjMzNi1uby1ydWxlIiwiMjgwLXRlbGVzYWxlIl0sIm5iZiI6MTc3MzgwNzI0OSwiZXhwIjoxNzc2Mzk5MjQ5LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.40mqktj9if0MLykHPOAmz8RvHCJQ38IdrjdMb8BfnaE","ContentType":"application/json","x-hour-offset":"7","BranchId":"7","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\\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 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}
{"data":{"error":"Error","name":"ArgumentNullException","message":"Value cannot be null. (Parameter 'input')","helpLink":null,"source":"System.Text.RegularExpressions","stackTrace":" at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)\n at Redsand.Services.GoogleMapService.ParseAddress(String address) in /app/Services/GoogleMapService.cs:line 403\n at Redsand.Services.GoogleMapService.FindLocationAsync(String address, Boolean debug) in /app/Services/GoogleMapService.cs:line 232\n at Redsand.Api.LocationsController.FindLocation(String address, Boolean debug) in /app/Api/LocationsController.cs:line 231\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 where exception was thrown ---\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":null},"status":400,"statusText":"","headers":{"cache-control":"public,max-age=600","content-type":"application/json; charset=utf-8"},"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjM2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6InRodXRyYWRodCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiNjVaVktIVUVMRFFJT1UzVzNKSjZYNFpEWUFCSTRTNk0iLCJzdWIiOiJ0aHV0cmFkaHQiLCJqdGkiOiJlMzg4YmY0My00ZTRlLTQ0NWYtYjBmYi01NWNjMzEwNWU0MDMiLCJpYXQiOjE3NzUxODA1NzEsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIzLXNhbGUtdHJ1Yy1wYWdlIiwiMy10ZWxlc2FsZSIsIjUtbmhhbi12aWVuLXZhbi1kb24iLCI3LW5oYW4tdmllbi1iYW4taGFuZyIsIjE0LWxlYWQtc2FsZSJdLCJuYmYiOjE3NzUxODA1NzEsImV4cCI6MTc3NTI2Njk3MSwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.EUq1Gp266J78LXhXVrjm976er_wdAdWkGdXyJoMVqbs","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://dhtshop.dcso.pro","paramsSerializer":{},"method":"get","url":"https://locations.ecrm.vn/api/locations/find?address="},"request":{}}
?address=
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjM2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6InRodXRyYWRodCIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiNjVaVktIVUVMRFFJT1UzVzNKSjZYNFpEWUFCSTRTNk0iLCJzdWIiOiJ0aHV0cmFkaHQiLCJqdGkiOiJlMzg4YmY0My00ZTRlLTQ0NWYtYjBmYi01NWNjMzEwNWU0MDMiLCJpYXQiOjE3NzUxODA1NzEsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6WyIzLXNhbGUtdHJ1Yy1wYWdlIiwiMy10ZWxlc2FsZSIsIjUtbmhhbi12aWVuLXZhbi1kb24iLCI3LW5oYW4tdmllbi1iYW4taGFuZyIsIjE0LWxlYWQtc2FsZSJdLCJuYmYiOjE3NzUxODA1NzEsImV4cCI6MTc3NTI2Njk3MSwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.EUq1Gp266J78LXhXVrjm976er_wdAdWkGdXyJoMVqbs","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}
{}
{"ClassName":"System.Exception","Message":"(#10) Không gửi được tin nhắn do một ứng dụng khác hiện đang kiểm soát thread này.","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 29\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 296\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 296\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}
{}
{"ClassName":"System.Exception","Message":"(#10) Không gửi được tin nhắn do một ứng dụng khác hiện đang kiểm soát thread này.","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 29\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 296\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 296\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}
{}
{"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) 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":"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 04:40:50 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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 04:40:49 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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 04:40:48 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 04:40:46 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"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 80\n at Redsand.Site.Services.MobifoneService.LoginAsync(String token) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Services\\Voip\\MobifoneService.cs:line 72\n at Redsand.Site.Api.ClientController.GetClientToken() in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\Voip\\ClientController.cs:line 32\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 04:40:44 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjUwIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6IkNHLU5IVU5HIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiI3NzRCQ1RaNkVWWlg0VFlYUEJaSEJJTjRGQ09SSkFLVyIsInN1YiI6IkNHLU5IVU5HIiwianRpIjoiZDEyMDc0ZGMtNTAyOC00YTBlLTkyY2UtNzJmMGQ5YWNhOWMxIiwiaWF0IjoxNzc0OTQ3Mzc3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiIzNi10ZWxlc2FsZXMtMSIsIm5iZiI6MTc3NDk0NzM3NywiZXhwIjoxNzc3NTM5Mzc3LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.5_as3sTk2G6of6v6ScLswlhVEOrn43qq41QIc96u_rg","ContentType":"application/json","x-hour-offset":"7","BranchId":"6","Locale":"vi"},"baseURL":"https://uni.nobi.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjUwIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6IkNHLU5IVU5HIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiI3NzRCQ1RaNkVWWlg0VFlYUEJaSEJJTjRGQ09SSkFLVyIsInN1YiI6IkNHLU5IVU5HIiwianRpIjoiZDEyMDc0ZGMtNTAyOC00YTBlLTkyY2UtNzJmMGQ5YWNhOWMxIiwiaWF0IjoxNzc0OTQ3Mzc3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiIzNi10ZWxlc2FsZXMtMSIsIm5iZiI6MTc3NDk0NzM3NywiZXhwIjoxNzc3NTM5Mzc3LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.5_as3sTk2G6of6v6ScLswlhVEOrn43qq41QIc96u_rg","ContentType":"application/json","x-hour-offset":"7","BranchId":"6","Locale":"vi"}
{}
{"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 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":"9637","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 04:40:44 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 04:40:43 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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":"9617","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 04:40:42 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 04:40:41 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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":"9612","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 04:40:39 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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 04:40: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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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 04:40: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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 E:\\redsand\\inven-check\\Lib\\Mobifone3c\\Mobifone3c.cs:line 56\n at Redsand.Site.Services.MobifoneService.GetToken(String agentId) in E:\\redsand\\inven-check\\Services\\Voip\\MobifoneService.cs:line 67\n at Redsand.Site.Api.ClientController.GetClientToken() in E:\\redsand\\inven-check\\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 04:40:34 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjM2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6ImN0eWFkZWxpIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJJSzJTNkhCSVhSRUoyTUJXUUxEUVhVUFVPREszM0RaWiIsInN1YiI6ImN0eWFkZWxpIiwianRpIjoiNmQ3YmQyOTYtZWZmMS00ZDBlLTljZDctMGZmNzJkNGQ3MmFhIiwiaWF0IjoxNzc0NTc0Njk0LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiQWRtaW5pc3RyYXRvcnMiLCI2LWdpYW0tZG9jIl0sIm5iZiI6MTc3NDU3NDY5NCwiZXhwIjoxNzc3MTY2Njk0LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.xv5c5MiIsHovM2LjsKU5XWvZm-mrLCUbWY3WhnpofkM","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://vohuyen.dcso.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjM2IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSI6ImN0eWFkZWxpIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJJSzJTNkhCSVhSRUoyTUJXUUxEUVhVUFVPREszM0RaWiIsInN1YiI6ImN0eWFkZWxpIiwianRpIjoiNmQ3YmQyOTYtZWZmMS00ZDBlLTljZDctMGZmNzJkNGQ3MmFhIiwiaWF0IjoxNzc0NTc0Njk0LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiQWRtaW5pc3RyYXRvcnMiLCI2LWdpYW0tZG9jIl0sIm5iZiI6MTc3NDU3NDY5NCwiZXhwIjoxNzc3MTY2Njk0LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.xv5c5MiIsHovM2LjsKU5XWvZm-mrLCUbWY3WhnpofkM","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 E:\\redsand\\BaseV2-Net6\\Lib\\Mobifone3c\\Mobifone3c.cs:line 65\n at Redsand.Site.Api.ClientController.GetClientToken() in E:\\redsand\\BaseV2-Net6\\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()\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 04:40:28 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjgiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoia2hhbmhsaW5oMTIzIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJRVEJQUllQSVBUNU5QQVZLN1MyT05JTzVHUDJKN0xOMyIsInN1YiI6ImtoYW5obGluaDEyMyIsImp0aSI6ImQ1N2YwZDg1LTFkNDgtNGJlZC04ZmY2LTU1Y2Y0YTAyYjgzNyIsImlhdCI6MTc3MzE5NDM4NCwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiMy10ZWxlc2FsZSIsIm5iZiI6MTc3MzE5NDM4NCwiZXhwIjoxNzc1Nzg2Mzg0LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.fpXooNyg9N_1TdzvVLcdvYtHkXTUi8r1SWkre2UYaU0","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://drlinhnguyen.nobi.pro","paramsSerializer":{},"method":"get","url":"/api/voip/client/token"},"request":{}}
{"Accept":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjgiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoia2hhbmhsaW5oMTIzIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJRVEJQUllQSVBUNU5QQVZLN1MyT05JTzVHUDJKN0xOMyIsInN1YiI6ImtoYW5obGluaDEyMyIsImp0aSI6ImQ1N2YwZDg1LTFkNDgtNGJlZC04ZmY2LTU1Y2Y0YTAyYjgzNyIsImlhdCI6MTc3MzE5NDM4NCwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiMy10ZWxlc2FsZSIsIm5iZiI6MTc3MzE5NDM4NCwiZXhwIjoxNzc1Nzg2Mzg0LCJpc3MiOiJSUyIsImF1ZCI6IlJTIn0.fpXooNyg9N_1TdzvVLcdvYtHkXTUi8r1SWkre2UYaU0","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","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 04:40: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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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":"9613","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 04:40: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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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":"9616","content-type":"application/json; charset=utf-8","date":"Fri, 03 Apr 2026 04:40:03 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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 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 04:40: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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"}
{}
{"name":"TypeError","message":"Cannot read properties of undefined (reading 'voipProvider')","stack":"TypeError: Cannot read properties of undefined (reading 'voipProvider')\n at https://nobiv2-stable.ecrm.vn/assets/index-0G48pHxR.js:987:36690\n at https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:1091:1569\n at v (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:1091:436)\n at https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:1091:643\n at Object.useSyncExternalStore (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:51:24274)\n at Mc.useSyncExternalStore (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:9:6572)\n at Pan.useSyncExternalStoreWithSelector (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:1091:712)\n at o (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:1091:1610)\n at C_ (https://nobiv2-stable.ecrm.vn/assets/index-0G48pHxR.js:987:36670)\n at Jqe (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:51:17180)\n at HWt (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:53:44521)\n at DWt (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:53:40186)\n at eVn (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:53:40109)\n at Tde (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:53:39956)\n at lWe (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:53:36268)\n at TWt (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:53:35205)\n at F (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:38:1624)\n at MessagePort.re (https://nobiv2-stable.ecrm.vn/assets/vendor-DmjwnqOh.js:38:2001)"}
{"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 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 04:40:00 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiSjNJNzQ3UjczN0NVNEpJVlBMWklPVkdPTzRHVFRDQTMiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiNmE4MGVjZDItZGRiMC00M2M1LTk1NTAtMWFiMWQxNmM1MTFlIiwiaWF0IjoxNzc1MTE4MjM4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjc5LXF1YW4tbGktY2EiLCIyLWdpYW0tZG9jLWNoaS1uaGFuaCJdLCJuYmYiOjE3NzUxMTgyMzgsImV4cCI6MTc3NTIwNDYzOCwiaXNzIjoiUlMiLCJhdWQiOiJSUyJ9.5GjevUG9lhXNu_Jw2vIAoIB0x2Wu-cPAh9vuOucifMk","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\\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 802","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Redsand.Site","WatsonBuckets":null}
{}