Error messages – CO2
The following table shows all the error messages that can be returned by the API in the response body:
Error code | Message | Description |
VALIDATION_FAILED or VALIDATION_ERROR | { message: “”, errors: [ ] } | Simple validation errors, the errors array contains the detailed message for each field containing an invalid value (example: “autonomy is mandatory” indicates that this field is mandatory but has not been entered). |
VALIDATION_FAILED or VALIDATION_ERROR | { | The fuel you entered does not exist at source . |
VALIDATION_FAILED or VALIDATION_ERROR | { | The source reported does not exist. |
MESSAGE_FORMAT_ERROR | – | The request json has errors and could not be processed. |