Reputation: 397
anyone here experienced facing this following issue on salesforce deployment process:
An object '....' of type '.....' was named in package.xml, but was not found in zipped directory
Already looking the answer from internet but still didn't found clear solution. And I got totally almost 1000 error like that hope anyone can help me to fix this.
Thanks in advance
Upvotes: 0
Views: 5120
Reputation: 569
The error is because the component or meta data is mentioned in package.xml but is not in your repo/ project folder (force/main/default)
The root cause: The component is not retrieved. Verify the spelling of the component in package.xml
In your case it is an object. Verify if the object retrieved from the Org if it is already retrieved. Check the spelling of the object in package.xml.
In my case it was not retrieved from org because of the spelling mistake in package.xml.
Upvotes: 0
Reputation: 1
To fix this Usually the best way is to Git pull origin Dev
Dev is the branch you are using to create the working feature branch. It worked for me but it occured a while back again for anyone finds RCA and perma solution for this please share.
Upvotes: 0