Updated error message for validation.