Explanation of the error:
This Salesforce error may surface when you've made a change on the
ApprovalProcess, for example by adding an approval step.
It may be that the approver in Salesforce UI (source environment of the deployment) is filled and has an active user in it.
But when you look at the
Approval process metadata type of the failing component within Gearset comparison results (in below example it is
Moneyback__c.Consumer_PartialAppeasement_SeniorMgr1), you may notice that its XML shows
<type>PreviousApprover</type> on one of the lines.
This is likely to fail your validation because 'PreviousApprover' appears to be recognised as an invalid type by Salesforce.
To resolve the error, if possible consider removing
<type>PreviousApprover</type> from the XML file before you attempt to re-deploy the changes.
If the source environment is a Git branch, you can use VS Code, or a similar XML editor, to edit the XML file of the failing component.
If the changes to XML cannot be made, try to amend the
Queue on the
ApprovalProcess in the Salesforce org from which changes are being migrated.
Also, note that the
PreviousApprover can't be a valid option for the first step approval because, in such case, there is no previous approver. This is another reason why Salesforce may surface this error when it thinks that the value would be