CO2

Error messages – CO2

The following table shows all the error messages that can be returned by the API in the response body:

Error codeMessageDescription
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{
"message": "Fuel type not found: BR_GASOLINE",
"status": 400
}
The fuel you entered does not exist at source.
VALIDATION_FAILED or VALIDATION_ERROR{
"message": "Emission factor not found for source",
"status": 400
}
The source reported does not exist.
MESSAGE_FORMAT_ERRORThe request json has errors and could not be processed.
Table of possible error messages returned by the API