Please follow the steps below to rectify this error:
Go to the Payroll module, Pay Element Setup, and select the pay element.
Click the three-dotted button, move Gross Salary Code, and click Save.
Go to the Income Tax module.
Click on the Process tab, click View Tax Records.
Highlight all the records there (both current IR8A and IR8S).
Click on Recalculate.
