sfdx force:mdapi:deploy -d directory -u Production,
It runs successfully and queue the deployment and gives the below message
To check the status of this deployment, run "sfdx force:mdapi:deploy:report"
and once I run sfdx force:mdapi:deploy:report then instead of showing the deployment status it gives below error
ERROR running force:mdapi:deploy:report: INVALID_CROSS_REFERENCE_KEY: invalid cross reference id
after wasting plenty of time with dx I deployed the same with changeset and it got deployed successfully without any error.
Could someone please suggest the reason for this error?