Interface Error Codes Overview#
Response Codes#
The MACO APP relies on standard HTTP status codes to indicate the success or failure of requests within the energy market communication process.2xx HTTP codes signal successful processing of a request.
4xx HTTP codes indicate incorrect or incomplete input from the client side (market participant).
5xx HTTP codes reflect issues on the MACO APP server side (market communication platform).
Status Codes#
| Status Code | Description |
|---|
| 200 | Request successfully processed. |
| 4xx | Client error – see error codes. |
| 5xx | Server-side error within MACO APP. |
Error Schema#
MACO APP uses standard HTTP codes to represent the outcome of market communication requests. The following error codes may occur in communication processes with energy sector participants:| Status Code | Type | Description |
|---|
| 400 | malformed | The request contains syntax errors, e.g., an unreadable JSON payload. |
| 401 | unauthenticated | The request does not contain valid authentication credentials. |
| 403 | permissionDenied | The authenticated market participant is not authorized for this operation. |
| 404 | notFound | The requested resource is not available (e.g., process reference missing). |
| 409 | conflict | The request conflicts with another request (e.g., duplicate transaction). |
| 422 | invalid | The request contains invalid parameters or values. |
| 429 | rateLimited | Too many requests in a short period – client temporarily blocked. |
| 500 | internal | An unexpected system error occurred; the outcome is undetermined. |
| 501 | notImplemented | The requested operation is not supported or not implemented. |
| 502 | badGateway | The server received an invalid response from an upstream service. |
| 503 | unavailable | Service is temporarily unavailable (maintenance or system overload). |
| 504 | timeout | No timely response received from the upstream service. |
| 505 | httpVersionNotSupported | The HTTP version used is not supported by the server. |
Error Handling#
When an error occurs, MACO APP provides additional details in the response payload.
This enables market participants and IT service providers to quickly identify and address the cause of failed market communication (e.g., faulty message format, authorization issue, or system downtime).Modified at 2025-09-19 06:33:14