To rectify this error in the ePortal, please do as follows:
Go to the Core module, click Employment Details.
Select the employee and click the Employee ID field.
Check if there are any empty spaces behind, remove them, and click Save.
Then log in to eportal as admin and try to add the employee again.
