Newer Version Available

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

PackagePushError

Represents an error encountered during a push request. The number of PackagePushError records created depends on the number of push jobs in the request that result in an error.

Supported Calls

describeSObjects(), query(), retrieve()

Fields

Field Name Details
ErrorDetails
Type
string
Properties
Nillable, Sort
Description
Explanation of the error.
ErrorMessage
Type
string
Properties
Nillable, Sort
Description
The error code that appears in the API.
ErrorSeverity
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Valid values are:
  • Error
  • Warning
ErrorTitle
Type
string
Properties
Nillable, Sort
Description
The error message title that appears in the API.
ErrorType
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Valid values are:
  • ApexTestFailure
  • DeployError
  • FeatureMissing
  • IneligibleUpgrade
  • LimitExceeded
  • LockingFailure
  • PACError
  • UnclassifiedError
PackagePushJobId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Required. The parent push job record ID.

Usage

Suppose that your push upgrade request wasn’t successful due to some of its jobs failing. Let’s write some code to find out what those errors were.

This code sample uses the Web Services Connector (WSC).