I removed some metadata components from my 2GP package. I had gotten the access to this feature by logging a case in partner portal.

After removing the metadata, I was able to create a new package version, but on promoting it to production, I get this error

ERROR running force:package:beta:version:promote:  Missing message package_version_promote:hasMetadataRemovedWarning for locale en_US.
  • Have you missed any other steps from the documentation?
    – Phil W
    Commented Nov 16, 2022 at 9:59
  • Doesn't seem so. Followed everything
    – vishesh
    Commented Nov 16, 2022 at 10:01
  • I suggest raising another support case if you have followed all the instructions and find this doesn't work.
    – Phil W
    Commented Nov 16, 2022 at 10:07
  • (You could try debugging the CLI to see if you get any additional detail in the debug output...?)
    – Phil W
    Commented Nov 16, 2022 at 10:16

1 Answer 1


Looks like an sfdx bug. You probably should create an issue https://github.com/forcedotcom/sfdx-core/issues

  • 1
    For me this isn't an answer, but rather should have been a comment against the question...
    – Phil W
    Commented Nov 16, 2022 at 12:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .