{"data":{"exception":"NullReferenceException","message":"Object reference not set to an instance of an object.","helpLink":null,"data":{},"source":"Redsand.Site","stackTrace":" at Redsand.Site.Api.FbConversationController.SetOption(Int32 idConnection, Platform platform, FbChatSettings setting) in E:\\redsand\\inven-check\\Api\\Nobichat\\ConversationController.cs:line 2358\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":null},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","cache-control":"no-store","content-type":"application/json; charset=utf-8","date":"Wed, 25 Mar 2026 17:59: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","Content-Type":"application/json","Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjMiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZ2lhbWRvYyIsIkFzcE5ldC5JZGVudGl0eS5TZWN1cml0eVN0YW1wIjoiTUxLR1dWVlRKSk83NVBMTU5NS0tSNUFVNVE1VzNYSTQiLCJzdWIiOiJnaWFtZG9jIiwianRpIjoiMDhhNDMzYTktN2JkOS00ZGVkLWIzNDgtY2FhZTAyN2NiYzdiIiwiaWF0IjoxNzc0NDYxNTA4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOlsiQWRtaW5pc3RyYXRvcnMiLCIxLWdpYW0tZG9jIiwiNS1waG8tZ2QiXSwibmJmIjoxNzc0NDYxNTA4LCJleHAiOjE3NzQ1NDc5MDgsImlzcyI6IlJTIiwiYXVkIjoiUlMifQ.JoIm_hDKeILzD0uJKkWLpo7HdhpF0UucT1rUnwJmVHo","ContentType":"application/json","x-hour-offset":"7","BranchId":"1","Locale":"vi"},"baseURL":"https://thinhlongkhanh.ecrm.vn","paramsSerializer":{},"method":"post","url":"/api/conversations/option/1?platform=facebook","data":"{\"FbChatGeneralSetting\":{\"NewMessageNotification\":false,\"SoundNotification\":false,\"UnreadFirst\":false,\"AutoLikeComment\":false,\"AutoCreateOrder\":false,\"BrandId\":1,\"AutoHideComment\":{\"HideComment\":true,\"HideAllComment\":true,\"CommnetHasPhone\":false,\"CommnetNotPhone\":false,\"UnhideComment\":0,\"CreatedTime\":\"2026-03-25T17:59:43.913Z\",\"TextValue\":\"HideAllComment\"},\"NextConversation\":false,\"KeepConvStatusFor3rdMessages\":false,\"AutoLikeFriendTagComment\":false,\"FriendTagNotification\":{},\"WorkingTime\":{\"TimeStart\":\"08:00:00\",\"TimeEnd\":\"17:00:00\"},\"AutoLead\":{\"Auto\":false,\"Selection\":false,\"BrandId\":1},\"ShowTagName\":false,\"UserManages\":false,\"UserManagerIds\":[],\"MainBrandId\":1}}"},"request":{}}
"{\"FbChatGeneralSetting\":{\"NewMessageNotification\":false,\"SoundNotification\":false,\"UnreadFirst\":false,\"AutoLikeComment\":false,\"AutoCreateOrder\":false,\"BrandId\":1,\"AutoHideComment\":{\"HideComment\":true,\"HideAllComment\":true,\"CommnetHasPhone\":false,\"CommnetNotPhone\":false,\"UnhideComment\":0,\"CreatedTime\":\"2026-03-25T17:59:43.913Z\",\"TextValue\":\"HideAllComment\"},\"NextConversation\":false,\"KeepConvStatusFor3rdMessages\":false,\"AutoLikeFriendTagComment\":false,\"FriendTagNotification\":{},\"WorkingTime\":{\"TimeStart\":\"08:00:00\",\"TimeEnd\":\"17:00:00\"},\"AutoLead\":{\"Auto\":false,\"Selection\":false,\"BrandId\":1},\"ShowTagName\":false,\"UserManages\":false,\"UserManagerIds\":[],\"MainBrandId\":1}}"