{"data":{"exception":"AggregateException","message":"One or more errors occurred. (Input string was not in a correct format.)","helpLink":null,"data":{},"source":"Redsand.Site","stackTrace":" at Redsand.Site.Api.BaseController.get_CurrentBranchId() in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\_BaseController.cs:line 169\n at Redsand.Site.Api.BaseController.UserHasCap(String baseCap, Nullable`1 branchId) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\_BaseController.cs:line 371\n at Redsand.Site.Api.ManualDistributeController.GetManagers(Int32 connectionId, Platform platform, Int32 branchId) in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\Nobichat\\ConversationDistribute\\ManualDistributeController.cs:line 61\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":{"exception":"FormatException","message":"Input string was not in a correct format.","helpLink":null,"data":{},"source":"System.Private.CoreLib","stackTrace":" at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)\n at System.Int32.Parse(String s)\n at Redsand.Site.Api.BaseController.GetCurrentBranchId() in D:\\WORKSPACE\\ECRM-NOBI-R2\\Api\\_BaseController.cs:line 289","inner":null}},"status":400,"statusText":"","headers":{"cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Fri, 09 Jan 2026 06:54:31 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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjciLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMDg3NjA1MTU2NyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiQUVMVk40SExKNlNSMlg3Qk83TVdWWldVUUNKNFFPRlAiLCJzdWIiOiIwODc2MDUxNTY3IiwianRpIjoiNzE4ODk3NzItYjY0NS00NjZhLTkzMTEtY2M3YzViZjI0ZjllIiwiaWF0IjoxNzY3MDgwMDEyLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiMS1naWFtLWRvYyIsIjMtc2FsZS10cnVjLXBhZ2UiXSwibmJmIjoxNzY3MDgwMDEyLCJleHAiOjE3NjgzNzYwMTIsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.XG6djjUgL3vzqKKtknWrZxeG1EBXWdovrRNuhG9nzAI","ContentType":"application/json","x-hour-offset":"7","Locale":"vi"},"baseURL":"https://dichung.nobi.pro","paramsSerializer":{},"params":{"branchId":null,"platform":"zaloProfile"},"method":"get","url":"api/conversations/distribute/manager/2"},"request":{}}