Follow the steps below to rectify the error:
Go to the Leave module and click Leave Details.
Click Career Progression and check if the Category is assigned.
In the previous career progression, if there is no Category assigned. Assign it and Save.
Go to Process Leave and click Initialize to initiate the employee's leave.
