How do I access the ModelState from an ActionFilter? May 21, 2023 by Tarik That would be by: filterContext.Controller.ViewData.ModelState