Errors¶
When the request returns HTTP status 480, the error field of the response contains one of the following codes.
| Error code | Description |
|---|---|
UNKNOWN_VEHICLE |
The vehicle (or the identifier/plate provided) is unknown. |
UNKNOWN_DEVICE |
The device is unknown. |
DEVICE_ALREADY_LINKED |
The device is already linked to a vehicle. |
VEHICLE_ALREADY_LINKED |
The vehicle is already linked to a device. |
DEVICE_NOT_LINKED |
The device is not linked to any vehicle. |
NO_DEVICE |
The vehicle does not have a device. |
COMMUNICATION_FAILED |
Communication with the device failed. |
UNKNOWN_AUTHORIZATION |
The authorization identifier is unknown. |
AUTHORIZATION_NOT_ACTIVE |
The authorization is not yet active (future start date). Not documented in the source PDF — found while checking v1/bluetooth.go (authorization suspend/reactivate endpoints). |
AUTHORIZATION_EXPIRED |
The authorization has expired. Not documented in the source PDF — same origin as above. |
NOT_SUSPENDED |
The authorization to reactivate is not suspended. |
INVALID_LEVEL |
The level field contains an unknown value. |
INVALID_INTERVAL |
The interval provided (from / until) is not valid (e.g. until earlier than from). |
INVALID_DATE |
The date provided is not valid in the context of the request (earlier than the current date, or later than the end of the authorization depending on the endpoint). |
POSITION_UNKNOWN |
The vehicle's position is not known. |
NO_DATA |
No trip found. |
UNAUTHORIZED |
The user is not authorized to make a booking for another driver. |
DRIVER_WITHOUT_ACCOUNT |
The driver does not have a user account. |
INVALID_BOOKING_TYPE |
The vehicle is not configured for the requested booking type. |
VEHICLE_NOT_AVAILABLE |
The vehicle is not available. |
NOT_FOUND |
The requested booking or parking was not found. |
BOOKING_EXPIRED |
The booking has expired. |
MISSING_NAME |
The name field is missing (parking creation). |
MISSING_ADDRESS |
The address field is missing (parking creation). |
MISSING_ZIPCODE |
The zipcode field is missing (parking creation). |
MISSING_CITY |
The city field is missing (parking creation). |
MISSING_COUNTRY |
The country field is missing (parking creation). |
MISSING_PARKING |
The parkingId field is missing. |
NO_PARKING |
The vehicle is not assigned to any parking. |
NOT_ALL_AUTHORIZATIONS_REVOKED |
Not all of a driver's authorizations could be deleted. |
INVALID_DEVICE |
The device linked to the authorization is not valid (Teltonika features). |
INTERNAL_ERROR |
Internal API error. |
INVALID_OLD_PASSWORD |
The old password is incorrect. |
INVALID_PASSWORD_LENGTH |
The new password is too short. Added in version 1.10. |