I've installed a managed package in my scratch org, and now I want to retrieve the source.
sfdx force:mdapi:retrieve -s -r ./mdapipackage -p field_trip -u redacted -w 10
I get the error of:
ERROR running force:mdapi:retrieve: The metadata retrieve operation failed: INVALID_CROSS_REFERENCE_KEY: No package named 'field_trip' found.
Because I don't know the accurate name, I've tried listing the installed packages with
With no results.
What am I doing wrong?