{"data":{"exception":"ArgumentNullException","message":"Value cannot be null. (Parameter 'userName')","helpLink":null,"data":{},"source":"Microsoft.Extensions.Identity.Core","stackTrace":" at Microsoft.AspNetCore.Identity.UserManager`1.FindByNameAsync(String userName)\n at Redsand.Site.Controllers.TokenController.Generate(LoginViewModel model, LicenseService licenseService) in D:\\Nobi\\NobiV2\\Controllers\\TokenController.cs:line 74\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":"Bad Request","headers":{"access-control-allow-origin":"*","cache-control":"no-store","connection":"keep-alive","content-length":"1672","content-type":"application/json; charset=utf-8","date":"Fri, 31 Jul 2026 21:24:20 GMT","expires":"0","pragma":"no-cache","server":"nginx/1.28.0"},"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json","Content-Type":"application/json","ContentType":"application/json","x-hour-offset":"1","Locale":"vi"},"baseURL":"https://bshoang.nobi.pro","paramsSerializer":{},"method":"post","url":"/token","data":"{}"},"request":{"_hookId":11}}