Skip to content

Missing object referenced in package.xml

Detection

  • RegExp: An object (.*) of type (.*) was named in package.xml, but was not found in zipped directory

Examples

  • Error Invoice__c An object Invoice__c of type CustomObject was named in package.xml, but was not found in zipped directory

Resolution

manifest/package.xml names {2} {1}, which is not in your sources.
- Save your User Story again: sfdx-hardis builds manifest/package.xml from the files of git
- Or add the missing {2} {1} to your sources: retrieve it from your org with the Metadata Retriever of VS Code, commit it and save your User Story: sfdx-hardis adds it to manifest/package.xml

Comments