{"Message":"An error has occurred.","ExceptionMessage":"An item with the same key has already been added. Key: affiliate","ExceptionType":"ArgumentException","StackTrace":" at System.Collections.Generic.Dictionary\u00602.TryInsert(TKey key, TValue value, InsertionBehavior behavior)\n at NetRefer.SignUpApi.CustomErrors.CustomModelStateError..ctor(ActionContext actionContext) in D:\\a\\1\\s\\Src\\NetRefer.SignUpApi\\CustomErrors\\CustomModelStateError.cs:line 41\n at Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter.OnActionExecuting(ActionExecutingContext context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Logged|17_1(ResourceInvoker invoker)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Logged|17_1(ResourceInvoker invoker)\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)\n at NetRefer.SignUpApi.Middleware.BadResultLogger.Invoke(HttpContext httpContext) in D:\\a\\1\\s\\Src\\NetRefer.SignUpApi\\Middleware\\BadResultLogger.cs:line 24\n at NetRefer.SignUpApi.Middleware.XssProtectionMiddleware.Invoke(HttpContext httpContext) in D:\\a\\1\\s\\Src\\NetRefer.SignUpApi\\Middleware\\XssProtectionMiddleware.cs:line 33\n at NetRefer.SignUpApi.Middleware.ErrorHandlerMiddleware.Invoke(HttpContext context) in D:\\a\\1\\s\\Src\\NetRefer.SignUpApi\\Middleware\\ErrorHandlerMiddleware.cs:line 27","InnerException":null}