Error management
Error management is managed at three levels.
The first one, is based on the HTTP Response codes. The HTTP Response codes should be used as a first filter. They allow for fast decision making.
The API supports the following HTTP Responses:
HTTP Response Code | Meaning |
200 | OK |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
404 | Not found |
429 | Too Many Requests |
500 | Internal Server Error |
503 | Service Unavailable |
In the second level, the user can use is found in the response payload. Specifically, look for the value of the “success” element.
The third and last level of error management lies within the “status” element of the response payload. Within it, you will find a “meta.status.code” element that holds the numeric error code.
The only two values available at the moment are “00” for a successful response and “01” for an error. Within the “meta.status.message_ilgn.value” you will find the extended message.
Continuar a Authentication of requests ➡️