Skip to content

Notification Inbox 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.

NotificationInboxEntryNotFound

This error is returned when a notification inbox entry is not found

Attribute Value
err_code 900
http_err_code 404

NotificationInboxJsonDataMissing

This error is returned when a notification inbox entry JSON data is missing.

Attribute Value
err_code 901
http_err_code 404

NotificationInboxCouldNotBeUpdated

This error is returned when a notification inbox entry could not be updated.

Attribute Value
err_code 902
http_err_code 404