Must specify the metadata file

This error may be returned if the Meta-xml file is not found in Git (promotion branch) when deploying.

This is a generic Salesforce error. Somehow, the corresponding Meta-xml file of the component you are deploying doesn't exist in Git (promotion branch). This could be due to any of the following reasons:

  1. The file was not created in Git when the component was committed for the first time.
  2. The file was somehow deleted.

Please review the branches in Git to see if the file exists in the source branch, the feature branch and the promotion branch. You might need to either commit the component again so that the Meta-xml is created or create the file manually in the branches.


How did we do?