Skip to main content

I am following the steps in Trailhead and receiving this error every time I try and create a package version:

 

Error (1): 

Package2Version.SubscriberPackageVersionId, Tag, Branch, CreatedDate, Package2Version.HasMetadataRemoved

                                                                      ^

ERROR at Row:1:Column:121

No such column 'HasMetadataRemoved' on entity 'Package2Version'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

2 Antworten
  1. 18. Juni 2023, 23:20

    I was able to resolve this issue by overriding the Salesforce CLI apiversion back to 54.0 when running the package version create command.

0/9000