A serious labeling mistake has led to a recall for a snack sold in vending machines in two states.