Toll for Maps

Error messages – Toll for Maps

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 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 failedtravel_mode does not have a valid value. Allowed values: [DRIVING]The body sent contains travel_mode other than DRIVING.
Validation failedvehicleType does not have a valid value. A different value has been entered at vehicleType.
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