This error may occur when attempting to add a payment that is greater than the matching gift claim. To resolve this, simply choose "Edit matching gift claim" and increase the claim amount to match the payment.