Error parsing file
Detection
- RegExp:
Error (.*) Error parsing file: (.*)
Examples
Error Account.Status__c Error parsing file: Element {http://soap.sforce.com/2006/04/metadata}valueSet invalid at this location
Resolution
The XML file of {1} is not valid: {2}
- Open the file of {1} and look for the error: merge conflict markers, typo, XML tag not closed...
- If the element is valid for a newer API version only, the built-in replacement rules remove the known ones for older orgs (https://sfdx-hardis.cloudity.com/salesforce-devops-config-replacement-rules-builtin/)