This should use a different code and message, since it's not actually an invalid action.