forcedotcom / forcedotcom/cli

Package metadata can be retrieved for only second-generation managed package version, incorrect release note

Open
#3,454 6 comments 0 reactions 0 assignees View on GitHub
area:packaging feature owned by another team
Dominant language
No language data
Stars
571
Forks
80
Avg merge
2d 15h
Merged PRs (30d)
3

Description

https://github.com/forcedotcom/cli/blob/aaea86f6de6087acbd49d48691368f3858541df5/releasenotes/README.md?plain=1#L45

> NEW: Retrieve package metadata for a specified package version with the new package version retrieve command. Package metadata can be retrieved for only second-generation managed package versions or unlocked packages.

Actual result using a 2GP package that is not an upgraded 1GP package
> Error (DownloadDeveloperPackageZipHasNoDataError): Can't retrieve package metadata. We're unable to retrieve metadata for the package version you specified. Retrieving package metadata is available to converted 2GP package versions only. If the package you specified is a converted 2GP package, try creating a new package version, and then retry retrieving the package metadata for the new package version. If your package is a 1GP, start by converting the package to 2GP, and then retry retrieving metadata from the converted 2GP package version

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.