Server Error in '/' Application.

siteColor cannot be null or empty
Parameter name: siteColor

Description: An unhandled exception occurred.

Exception Details: System.ArgumentException: siteColor cannot be null or empty
Parameter name: siteColor

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: siteColor cannot be null or empty
Parameter name: siteColor]
   SCommerce.Business.Products.SimpleProductService.GetPrimaryVariant(String modelNumber, String supplierCode, String siteColor, String franchise) +314
   SCommerce.Website.Code.Seo.Impl.ProductPageHeaderDataService.GetPageHeaderDataModel() +2597
   SCommerce.Website.SCom.Renderings.Layout.Controllers.SCommerceLayoutController.Main() in D:\a\1\s\src\SCommerce.Website\SCom\Renderings\Layout\Controllers\SCommerceLayoutController.cs:129
   lambda_method(Closure , ControllerBase , Object[] ) +87
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +80
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +524


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0