InvalidError should be request.InvalidError