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 with Output
Contains extra information about errors. In rare cases, an error message isn't enough to
describe the reason for a failure. For example, when a conflicting precondition exists, the error
result can include the information about the cause of the conflict.
User Interface API enforces Salesforce validation rules. If a validation rule fails, the error is reported here.
| Property | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| enhancedErrorType | String | Indicates the type of the output property. The value is either null or RecordError. | Small, 41.0 | 41.0 |
| message | String | Description of the error. | Small, 41.0 | 41.0 |
| output | Any response body | The response body returned by the requested resource. For example, if a successful request
returns a Object Info response body but an
error triggers the Error with Output response body, the value of the output property is an Object Info response body. When an error occurs related to record create or update, this value is Record Exceptions. |
Small, 41.0 | 41.0 |