function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AndrewTaylorAndrewTaylor 

CustomMetadata was named in package.xml, but was not found in zipped directory

I've this error when deploying custom metadata: "Error: An object '<custom metdata>__mdt' of type CustomMetadata was named in package.xml, but was not found in zipped directory"?

The custom metadata definition is in the objects directory (<custom metadata>__mdt), and a directory with the metadata in customMetadata 

I came across the link below, and had a similar issue with the retrieve stripping __mdt from the metadata files; I tried renaming these, but to no avail

https://jungleeforce.wordpress.com/2017/04/10/error-an-object-custommetadata-record-md-of-type-custommetadata-was-named-in-package-xml-but-was-not-found-in-zipped-directory/