Get Started with Revenue Management Developer Resources
Revenue Management Settings
Preview Approval
Preview Approval Chain Item
Preview Approval Error
Preview Approval Item
Previous Versions
Output representation of the error details associated with the Preview Approval API.
This example shows a sample error scenario.
1{
2 "approvalChainItems": [],
3 "error": {
4 "correlationId": "0Q0DU0000005HZC0A2",
5 "errorCode": "[xmlrpc=-1, statusCode=INVALID_API_INPUT, exceptionCode=null, scope=PublicApi, http=400]",
6 "errorMessage": "Looks like the flow associated with this approval workflow for the current record isn't active. Activate the flow and try again.",
7 "source": "PreviewApprovalDataProcessingException"
8 },
9 "status": "Failure"
10}| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
correlationId | String | Unique token to track and associate related events or transactions across different components of the application. If unspecified, a Universally Unique Identifier (UUID) is generated. | Small, 65.0 | 65.0 |
errorCode | String | Code for the resultant error. | Small, 65.0 | 65.0 |
errorMessage | String | Error message for the resultant error. | Small, 65.0 | 65.0 |
source | String | Details about the source of the error. | Small, 65.0 | 65.0 |