I'm having trouble deploying my mdapi
Steps:
- sfdx force:mdapi:retrieve -s -r ./mdapipkg -p -- This gets the latest version of managed package from our Packaging Org -- I did not convert to the new source format
- In VSCode, I'm now trying to push it to my new PDO and that's where the problems lie. I've tried a handful of commands.
What does "Unexpected file found in package directory" mean here? I even commented out Dashboards type on my package.xml and still got this error:
Unexpected file... /dashboards/____-meta.xml
**____-MacBook-Pro-2:salesforce-app me$ sfdx force:mdapi:convert --rootdir force-app/main/default --outputdir tmp_convert**
ERROR running force:mdapi:convert: Unexpected file found in package directory: /Users/me/Dev/____/salesforce-app/force-app/main/default/dashboards/____-meta.xml
**____-MacBook-Pro-2:salesforce-app me$ sfdx force:source:deploy -p force-app/main/default**
ERROR running force:source:deploy: Unexpected file found in package directory: /Users/me/Dev/_____/salesforce-app/force-app/main/default/dashboards/Reportname-meta.xml
**____-MacBook-Pro-2:salesforce-app me$ sfdx force:mdapi:deploy -d force-app/main/default**
Job ID | 0Af5w00000XORXICA5
MDAPI PROGRESS | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0/100 Components
The deploy request did not complete within the specified wait time [0 minutes].
To check the status of this deployment, run "sfdx force:mdapi:deploy:report"
**____-MacBook-Pro-2:salesforce-app me$ sfdx force:mdapi:deploy:report**
Job ID | 0Af5w00000XORXICA5
MDAPI PROGRESS | ████████████████████████████████████████ | 0/0 Components
=== Component Failures [1]
TYPE FILE NAME PROBLEM
───── ─────────────────── ─────────── ───────────────────────────────────────────────────────────────────────────────────────
Error default/package.xml package.xml The specified package namespace: ____ does not match the namespace for the server:
ERROR running force:mdapi:deploy:report: The metadata deploy operation failed.