Skip to content

Trackers exceptions ​

Astara's Connect exceptions have the following key attributes returned as a JSON object:

  • err_code: an internal Astara's Connect code.
  • http_code: the http code.
  • msg: a simple message in English.

You can use the err_code to build an i18n solution on your front. The API returns all the errors in English, but you can use the code to translate them to your preferred language.

TrackerNotFound ​

This error is returned when a tracker has not been found.

AttributeValue
err_code101
http_err_code404

TrackerValidationException ​

This error is returned when a tracker's validation fails.

AttributeValue
err_code102
http_err_code400

TrackerAlreadyRegistered ​

This error is returned when there's already the same tracker identification in use by an active tracker.

AttributeValue
err_code103
http_err_code403

TrackerPositionNotFound ​

This error is returned when there aren't any positions recorded by this tracker.

AttributeValue
err_code104
http_err_code404

ManufacturerNotFound ​

This error is returned when a tracker's manufacturer has not been found.

AttributeValue
err_code105
http_err_code404

ProviderNotFound ​

This error is returned when a tracker's data provider has not been found.

AttributeValue
err_code106
http_err_code404

TrackerCouldNotBeCreated ​

This error is returned when a tracker could not be created.

AttributeValue
err_code108
http_err_code500

TrackerCouldNotBeUpdated ​

This error is returned when a tracker could not be updated.

AttributeValue
err_code109
http_err_code500

TrackerCouldNotBeDeleted ​

This error is returned when a tracker could not be deleted.

AttributeValue
err_code110
http_err_code500

TrackerCouldNotBeCreatedMaxNumber ​

This error is returned when a tracker could not be created because your company reached the maximum number of allowed trackers.

AttributeValue
err_code113
http_err_code403

TrackerCouldNotBeCreatedUnavailableProvider ​

This error is returned when tracker could not be created because your company plan doesn't support the selected data provider.

AttributeValue
err_code114
http_err_code403

TrackerHasNotProperty ​

This error is returned when a requested property does not exist on the tracker.

AttributeValue
err_code115
http_err_code404

Astara Connect API Documentation