In cases where you may need to add two of the same lifecycle statuses in a row, for example two sets of paternity leave, there appears an error.
However as a workaround to circumvent this, the solution would be to make sure that the 'state' ie: Active/Inactive is different for each of the same type of leave added.
For instance, we see that a client wants to add two parental leaves in a row, to get around this and for it to appear on the profile of the employee, make sure that one leave puts them as 'active' and one is set as 'inactive'.