This error is displayed if the receipt tag which is attached to the segment has different processing function apart from "Sum of Quantity" and we are selecting "Sum Quantities" in the segment after selecting the "Contain receipt tag".
Solution: In case if "Sum Quantities" needs to be selected in the segment using the receipt tag, "Sum of Quantities" needs to be selected in the Qualification Criterion.