Don't return error for invald error if ignore flag is set.