This error is caused when the records in your query are not eligible for Gift Aid, to check eligibility:

1.    The Persona on an account should be Personal
2.    Go to Journal and check the person has a valid declaration:
  • Effect From Date is on or before the Gift Date
  • Effect To Date is blank or after the Gift Date
  • If Verbal declaration, Confirmation Date must be on or before Gift Date