Error Structure
Standard Error Payload
Section titled “Standard Error Payload”{ "code": "domain_error", "message": "Error description"}| Attribute | Description | Required |
|---|---|---|
code |
Composed of the owning domain as a prefix followed by a short error type in snake_case. |
Yes |
message |
Human-readable description of what caused the error. | Yes |
reasons |
Detailed error reason codes (e.g. DRIVERS_LICENSE_INVALID). Check the domain sections below for handling details. |
No |
param |
Identifies the invalid request parameter (e.g. customerUUID). |
No |
Validation error example
Section titled “Validation error example”{ "code": "rental_validation_error", "message": "Validation error", "param": "customerUUID"}Customer
Section titled “Customer”Customer payloads are validated on creation and update.
Validation Error
Section titled “Validation Error”{ "code": "customer_request_validation", "message": "*message", "errors": [ { "property": "*propertyName", "message": "*errorMessage" } ], "reasons": [ "FAILURE_REASON" ]}message |
reason |
errorMessage |
|---|---|---|
| Payload is invalid | Payload validation failed | |
| Payload can not be read | Property is missing | Property must be provided |
| Required request body is missing | Request Body is empty | |
| JSON parse error | Wrong json format |
Authorization Error
Section titled “Authorization Error”{ "code": "customer_unauthorized", "message": "Unauthorized"}System Error
Section titled “System Error”{ "code": "customer_internal_server_error", "message": "Internal server error"}Rental
Section titled “Rental”Driver Checks Error
Section titled “Driver Checks Error”Driver checks are performed during create reservation and start rental requests and validate the customer data previously submitted by the partner.
{ "code": "rental_driver_check", "message": "Driver check error", "reasons": [ "DRIVERS_LICENSE_INVALID", "TNC_NOT_ACCEPTED" ]}Driver Check (409) |
Instruction to the user |
|---|---|
DRIVERS_LICENSE_INVALID |
Check your driver’s license data |
DRIVERS_LICENSE_EXPIRED |
Update your driver’s license data |
MIN_AGE_NOT_REACHED |
This vehicle is not available for drivers under 21 |
TNC_NOT_ACCEPTED |
Read and confirm our Terms and Conditions |
Criteria Not Met Error
Section titled “Criteria Not Met Error”Every end rental request runs a vehicle check to verify that all end rental criteria (ERC) securing the vehicle are fulfilled.
{ "code": "rental_criteria_not_met", "message": "Criteria not met", "reasons": [ "CARKEY" ]}Open End Rental Criterion (409) |
Instruction to the user |
|---|---|
IGNITION |
Turn off the ignition |
KEY_IN_IGNITION |
Remove the key from the ignition and return it to the keyholder |
CARKEY |
Return the key to the keyholder |
OUTOFAREA |
Return the vehicle to the business area |
FUELCARD |
Return the fuel card to the cardholder |
PARKCARD |
Return the parking card to the cardholder |
LIGHTS |
Turn off the lights |
HANDBRAKE |
Pull up the hand brake |
WINDOW_LEFT |
Close the front left window |
WINDOW_LEFT_REAR |
Close the rear left window |
WINDOW_RIGHT |
Close the front right window |
WINDOW_RIGHT_REAR |
Close the rear right window |
SUNROOF |
Close the sunroof |
DOOR_LEFT |
Close the front left door |
DOOR_LEFT_REAR |
Close the rear left door |
DOOR_RIGHT |
Close the front right door |
DOOR_RIGHT_REAR |
Close the rear right door |
TRUNK |
Close the trunk |
VEHICLE_NOT_CONNECTED |
Wait a bit. If the status persists, please call us. |
GEAR_POSITION |
Put the gear in the Park (P) position. |
VEHICLE_BLOCKED_BY_PHYSICAL_KEY |
Please return the physical key to the holder and leave the vehicle doors unlocked |
Vehicle Not Available
Section titled “Vehicle Not Available”The API returns RENTAL_VEHICLE_NOT_AVAILABLE in the following situations:
- The provided VIN has an invalid hardware type for partners
- The vehicle is disconnected
- The vehicle is not in a rentable (
GREEN) state
Geolocations
Section titled “Geolocations”All geolocation data is served statically. The only expected client error is HTTP 404 when requesting a non-existent location name. The 404 response returns an XML body (The specified key does not exist.) regardless of the Accept header.