How to resolve this error: The content of elements must consist of well-formed character data or markup

644    Asked by DavidEDWARDS in Salesforce , Asked on Apr 19, 2023

Error when deploying knowledge fields via sfdx. I am getting following error :

enter image description here

Has anyone encountered this in the past ?

I have checked and the current deploying user has the knowledge user checkbox checked on the org. It is giving error on the object while I am NOT deploying the object file but only fields

Answered by Darsh K

After struggling, I got it to work and now the error: The content of elements must consist of well-formed character data or markup is resolved. The fact that I was using git to move file to and from branches, I got a merge conflict on the file but ignore it, so There was this line added to the xml :

  <<<<<<<> conflict here 

Which was breaking my xml



Your Answer

Interviews

Parent Categories