@{ Layout = "_LayoutError"; ViewData["Title"] = "417 - Expectation Failed"; } You've unfortunately failed expectations of manager Pavlenex. Poor you. Check your request `Except` header and do better.