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