Error Messages – Tracking API
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 | mainLocation lat and lon cannot be null | The parameters "lat" and "lon" at source and destination cannot be null. |
validation fail | to fill the params of the object ‘driver’, the status must be set as ‘ON_THE_WAY | To update the driver’s coordinates, the order status must be ON_THE_WAY . |
validation fail | color must be a valid hexadecimal value, like #000000" | The parameter color only accepts hexadecimal values, such as #000 or #000000. |