Error messages – Toll
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 ou VALIDATION_ERROR | { message: "", errors: [ ] } | Simple validation errors, the array errors contains the detailed message for each field containing an invalid value. |
MESSAGE_FORMAT_ERROR | – | The request json has errors and could not be processed. |
Validation failed | toll.vehicleType does not have a valid value | Value at vehicleType is not supported.The possible values are: MOTORCYCLE |