Toll

Error messages – Toll

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

Error codeMessageDescription
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_ERRORThe request json has errors and could not be processed.
Validation failedtoll.vehicleType does not have a valid valueValue at vehicleType is not supported.
The possible values are:
MOTORCYCLE
CAR
CAR_WITH_THREE_SIMPLE_AXLES
CAR_WITH_FOUR_SIMPLE_AXLES
BUS_WITH_TWO_DOUBLE_AXLES
BUS_WITH_THREE_DOUBLE_AXLES
BUS_WITH_FOUR_DOUBLE_AXLES
BUS_WITH_FIVE_DOUBLE_AXLES
TRUCK_WITH_NINE_DOUBLE_AXLES
TRUCK_WITH_TWO_SINGLE_AXIS
TRUCK_WITH_TWO_DOUBLE_AXLES
TRUCK_WITH_THREE_DOUBLE_AXLES
TRUCK_WITH_FOUR_DOUBLE_AXLES
TRUCK_WITH_FIVE_DOUBLE_AXLES
TRUCK_WITH_SIX_DOUBLE_AXLES
TRUCK_WITH_SEVEN_DOUBLE_AXLES
TRUCK_WITH_EIGHT_DOUBLE_AXLES
TRUCK_WITH_TEN_DOUBLE_AXLES
Table of possible error messages returned by the API