SDK Error Codes and Exceptions

The following is a list of error codes that may be encountered while using the SDK.

Authentication Errors

  • AUTHENTICATION_FAILED: Authentication failed.
  • AUTHENTICATION_EXCEPTION: Authentication exception.
  • USER_ALREADY_AUTHENTICATED: Same token error.
  • INVALID_USER_TOKEN: Invalid user token.
  • USER_TOKEN_EXPIRED: User token expired.
  • USER_TOKEN_EXCEPTION: User token exception.

Show Errors

  • SHOW_NOT_FOUND: Show not found.
  • SHOW_NOT_LIVE: Show not live.
  • EVENT_NOT_FOUND: Event not found.

Messaging Errors

  • MESSAGE_SENDING_FAILED: Message sending failed.
  • MESSAGE_LIST_FAILED: Message list failed.

Chat Errors

  • CHAT_TIMEOUT: Chat timeout.
  • CHAT_CONNECTION_ERROR: Chat connection error.
  • CHAT_TOKEN_EXPIRED: Chat token expired.

Other Errors

  • INVALID_URL: Invalid API URL.
  • REQUEST_FAILED: API Request failed.
  • NO_DATA: No data found.
  • HTTP_ERROR: HTTP error with specific status code.
  • UNKNOWN_EXCEPTION: Unknown exception.
  • PERMISSION_DENIED: Permission Denied. If the token is expired/revoked.