Cannot apply indexing with [] to an expression of type ‘System.Dynamic.DynamicObject’ August 13, 2023 by Tarik Have you tried ViewBag.SuccessBody = TempData["successBody"];