Using same error syntax for 401 and 404.