Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Error

Represents an error that occurred during a synchronous CRUD (createMetadata(), updateMetadata(), or deleteMetadata()) operation.

Version

Available in API version 30.0 and later.

Properties

Name Type Description
extendedErrorDetails ExtendedErrorDetails More details about the error, including an extended error code and extra error properties, when available. Reserved for future use.

For a description of the ExtendedErrorDetails element, see ExtendedErrorDetails in the SOAP API Developer Guide.

fields string[] An array containing names of fields that affected the error condition.
message string The error message text.
statusCode StatusCode A status code corresponding to the error.

For a description of each StatusCode value, see StatusCode in the SOAP API Developer Guide.