Leave Application Import

Hi Frappe Team
I try to migrate leave application from an old ERP to ERPNext.
Although all pre requisist are fullfilled I still get the error message Application period cannot be outside leave allocation period

Leave policy, allocation periods, etc, all set.

The leaves I try to import are from 2018 and 2019

Any solution for this problem?

Can you check the date in the leave allocation of the employee? Make sure the date in the leave application is within the date range of the leave allocation.

Also, could you please provide screenshots so that we could guide you accordingly?

Hello Michelle,
yes, the application is within the allocation period.
Please check the attached screenshots