| Destination | Source | |
|---|---|---|
| Client | ← | MTS |
In several specific cases, instead of a normal response (with content object types: ticket-reply, cancel-reply, cashout-reply, ext-settlement-reply, ticket-ack-reply, cancel-ack-reply, cashout-ack-reply, ext-settlement-ack-reply) MTS returns a response with content object type = error-reply. This happens when a request is rejected by the Date Plane Router (some possible errors include authorisation error, configuration error, or missing content) or an internal Data Plane error has occurred.
Like any other ticket, a response including an error-reply consists of an envelope and content.
Envelope and Content table:
The Envelope provides the Content's (Ticket placement response) context and contains the following fields (besides Content):
The Content object includes the following fields:
| Example | Field Name | Field Description | Mandatory/ Optional | Data Type |
|---|---|---|---|---|
| ||||
| content | See Content object description below | M | Object |
| correlationId | The same string as submitted by client in the Ticket placement request | M | String |
| timestampUtc | Timestamp of response placement (Unix time in milliseconds format), minimal: 1, maximum: 9223372036854776000 | M | Integer |
| operation | The same operation as the initial request is returned. | M | String |
| version | Indicates the ticket format version | M | String |
| } |
| Example | Field Name | Field Description | Mandatory/ Optional | Data Type |
|---|---|---|---|---|
| Object | |||
| type | M | String | |
| code | Data plane specific response code, see list below | M | Integer |
| message | Data plane specific response description, see list below | M | String |
| Code | |
|---|---|
| 0 | Transaction processed |
| 100 | Authorisation error |
| 101 | Associated identity not authorised for the requested transaction client identifier |
| 200 | Configuration error |
| 201 | Client/operator not configured |
| 202 | Client/operator configuration invalid |
| 203 | Client/operator not configured for requested operation |
| 300 | System limitation error |
| 301 | Transaction mapping failed(%s) |
| 400 | Precondition error |
| 401 | Client/operator input precondition failed(%s) |
| 402 | Downstream service precondition failed |
| 900 | Downstream service precondition failed |
| 901 | Internal system input precondition failed(%s) |
| 902 | Transaction target response contained an unsupported response code(%s) |