Skip to content
llms.txt

Rental Errors

Error Code Description HTTP Status
RENTAL_INVALID_TOKEN Token not provided or invalid 401 UNAUTHORIZED
RENTAL_VEHICLE_FAILURE Vehicle not connected 500 INTERNAL_SERVER_ERROR
RENTAL_VEHICLE_NOT_CONNECTED Vehicle not connected 500 INTERNAL_SERVER_ERROR
RENTAL_GENERIC_ERROR Generic error 500 INTERNAL_SERVER_ERROR
RENTAL_VEHICLE_GENERIC_ERROR Vehicle generic error 500 INTERNAL_SERVER_ERROR
RENTAL_VEHICLE_INACTIVE Vehicle inactive 500 INTERNAL_SERVER_ERROR
RENTAL_VEHICLE_ALREADY_IN_USE Vehicle already in use 409 CONFLICT
RENTAL_VEHICLE_NOT_READY Vehicle not ready 409 CONFLICT
RENTAL_VEHICLE_IN_UPDATE_MODE Vehicle in update mode 409 CONFLICT
RENTAL_VEHICLE_NOT_AVAILABLE Vehicle not available for rent 409 CONFLICT
RENTAL_OUT_OF_BUSINESS_AREA Out of business area 409 CONFLICT
RENTAL_KEY_MUST_BE_TAKEN Key must be taken 409 CONFLICT
RENTAL_KEY_MUST_BE_PAIRED Key must be paired 409 CONFLICT
RENTAL_SAM_MUST_BE_PAIRED SAM must be paired 409 CONFLICT
RENTAL_CRITERIA_NOT_MET Criteria not met 409 CONFLICT
RENTAL_REACTIVATE_ENGINE_FAIL_IGNITION_ON Reactivate engine fails because ignition is on 409 CONFLICT
RENTAL_DRIVER_CHECK Driver check error 409 CONFLICT
RENTAL_RESERVATION_ALREADY_CREATED Customer already has a reservation 409 CONFLICT
RENTAL_CONCURRENT_RESERVATION_FOUND Vehicle was already reserved 409 CONFLICT
RENTAL_RESERVATION_KEY_EXISTS Customer has reserved another vehicle 409 CONFLICT
RENTAL_RECENT_CANCELLED_RESERVATION_EXISTS Customer has cancelled a reservation recently 409 CONFLICT
RENTAL_VEHICLE_NOT_AVAILABLE_FOR_CUSTOMER Vehicle not available for customer 409 CONFLICT
RENTAL_CUSTOMER_NO_ACTIVE_ACCOUNT Customer has no active account 400 BAD_REQUEST
RENTAL_CUSTOMER_ACCOUNT_NOT_GRANTED Customer account not granted 400 BAD_REQUEST
RENTAL_CUSTOMER_NOT_VALIDATED Customer not validated 400 BAD_REQUEST
RENTAL_CUSTOMER_HAS_ACTIVE_RENTAL Customer already has an active rental 400 BAD_REQUEST
RENTAL_VEHICLE_TOO_FAR_AWAY Vehicle too far away 400 BAD_REQUEST
RENTAL_VALIDATION_ERROR Validation error 400 BAD_REQUEST
RENTAL_CUSTOMER_HAS_NO_ACTIVE_RENTAL Customer does not have an active rental 400 BAD_REQUEST
RENTAL_VEHICLE_NOT_FOUND Vehicle not found 404 NOT_FOUND
RENTAL_CUSTOMER_NOT_FOUND Customer not found 404 NOT_FOUND
RENTAL_RENTAL_NOT_FOUND Rental not found 404 NOT_FOUND
RENTAL_RENTAL_START_FAILURE Rental could not be started 404 NOT_FOUND
RENTAL_RESERVATION_NOT_FOUND Reservation could not be found 404 NOT_FOUND