Trip

Error messages – Trip

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 (example: "points is mandatory" indicates that this field is mandatory but has not been entered)
MESSAGE_FORMAT_ERRORThe request json has errors and could not be processed
PROBLEM_NOT_FOUNDThe problem with the specified id was not found.
SOLUTION_NOT_FOUNDThe solution with the specified id was not found.
INVALID_SITE_POSITIONSome sites have not been positionnedSome of the sites have coordinates that could not be connected to a nearby road.
NO_PROJECTIONNo projection retrieved to send to route plannerSimilar to the error INVALID_SITE_POSITION, it has the same root cause, but can also occur occasionally when one of the internal services is unavailable
EMPTY_RESTRICTION_ZONEThe name of restriction zones are invalid or the calculation of blocked arcs was not completed yet.One or more restriction zones reported do not exist (or have just been registered and have not yet been processed)
NO_COORDINATESNo coordinates found for arcs in mapSome of the sites were passed on without coordinates, or with incomplete coordinates
INVALID_CALLBACK_URL_FORMAT{callbackValue} does not have a valid value. Example of allowed values: http://www.foo.br, https://www.foo.br…URL of callback not in valid format
ax.rp.errXXXProblems occurring in the route planner, usually linked to inconsistencies in the map used, occasionally due to instabilities. XXX is the numerical error code.
ax.rp.err113Not possible to create route between site A and BThe route planner has not found a path from point A to point B. Example of a case: Point A is a one-way dead-end road.
Validation failedtoll.vehicleType does not have a valid valueAmount at vehicleType 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