Newer Version Available

This content describes an older version of this product. View Latest

Package2VersionCreateRequestError (Beta)

Represents an error encountered while creating a second-generation package version. Available in API version 41.0 and later.

This release contains a beta version of Second-Generation Packaging, which means it’s a high-quality feature with known limitations. Second-Generation Packaging isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only based on generally available products and features. You can provide feedback and suggestions for Second-Generation Packaging in the Salesforce DX Packaging 2 Beta group in the Trailblazer Community.

Second-generation packaging lets you create developer-controlled packages or managed packages. We support developer-controlled packages through an open pilot program. These packages are designed for enterprise customer use cases, but ISVs can also use them during package development. Pilot programs are subject to change. You can install developer-controlled packages in scratch or sandbox orgs but not in a production org. Check out the Trailblazer Community for details on developer-controlled packages.

Note

Supported SOAP Calls

query(), retrieve()

Supported REST HTTP Methods

Query, GET

Fields

Field Details
Message
Type
textarea
Properties
Filter, Nillable, Sort
Description
The error that was encountered during the creation of a package version.
ParentRequestId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the Package2VersionCreateRequest that encountered an error.