Try each of the following steps in order until the issue is resolved:

1. Click OK to the error message
2. Use the binoculars to browse to the constituent's record
3. Open the constituent's record to relink it to the gift
4. Delete the constituent from the batch and re-enter them