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

Inconsistency between api version, metadataTypeInfos.json, object type, results in "cannot read property 'metadataName' of undefined"

When trying to use sfdx to sync "CustomHelpMenuSection" data, I ran into an error "Cannot read property 'metadataName' of undefined".

The error has something to do with the relationship between the api version I was using with sfdx and the contents of the sfdx project ./org/<username>/metadataTypeInfos.json file.  I was able to determine this splitting a comprehensive package.xml file into type-by-type executions.  Painful.   Hopefully this knowledge can save somebody else the trouble.

Jon Freed
Jon FreedJon Freed