[ux] Return error if unknown method specified