Error Messages – Tracking API

The following table shows all the error messages that can be returned by the API in the response body:

Error codeMessageDescription
Validation failedmainLocation lat and lon cannot be nullThe parameters "lat" and "lon" at source and destination cannot be null.
validation failto fill the params of the object ‘driver’, the status must be set as ‘ON_THE_WAYTo update the driver’s coordinates, the order status must be ON_THE_WAY.
validation failcolor must be a valid hexadecimal value, like #000000"The parameter color only accepts hexadecimal values, such as #000 or #000000.
Table of possible error messages returned by the API