End date must be later than last Closed Won Opportunity's Close Date
This error occurs when a recurring donation is processed and cancelled on the same day. It is a timing issue, not a data problem, and resolves itself the following day.
Error message#
You may see this error in your execution log:
End Date must be later than the last Closed Won Opportunity's Close Date
For help finding this error, see Reading and understanding error messages.
What causes this error#
This error is caused by an NPSP validation rule that prevents a recurring donation's end date from matching the close date of its last payment.
Here is the sequence that triggers it:
- A donor makes a payment and cancels their recurring gift on the same day.
- MoveData processes the donation first. NPSP creates a Closed Won opportunity with a close date of today.
- MoveData then processes the cancellation. NPSP sets the recurring donation status to "Cancelled" and the end date to today.
- NPSP's validation rule checks whether the end date is later than the last Closed Won opportunity's close date.
- Both dates are today, so the validation fails.
Note
This only happens when a donation and a cancellation arrive on the same day. It is uncommon but can occur with any fundraising platform.
How to fix it#
Reprocess the failed notification the following day.
When you reprocess the next day, NPSP sets the end date to that day's date. The end date is now later than the close date, so the validation passes.
- Wait until the next calendar day.
- Open the failed notification in the MoveData app.
- Click Reprocess.
For detailed steps, see How to reprocess failed notifications.
Success
You do not need to change any data. The same notification will succeed when reprocessed the following day.
Why this is not a data issue#
The underlying data is correct — the donor did make a payment and cancel on the same day. The error comes from an NPSP validation rule that does not account for same-day scenarios. Reprocessing the next day satisfies the validation without altering any records.