Error codes

Note

SyncStage Web SDK is currently available only in PREVIEW-ONLY mode, which means it is not yet recommended for production usage. Learn more..

Most of the SDK methods return SyncStageSDKErrorCode which can be decoded using following enum class.

enum SyncStageSDKErrorCode {
  'SYNCSTAGE_OPENED_IN_ANOTHER_TAB' = -1001,
  'API_UNAUTHORIZED' = -1000,
  'DESKTOP_AGENT_COMMUNICATION_ERROR' = -10,
  'UNKNOWN_ERROR' = -1,
  'OK' = 0,
  'CONFIGURATION_ERROR' = 1,
  'API_ERROR' = 2,
  'STREAM_DOES_NOT_EXIST' = 3,
  'BAD_VOLUME_VALUE' = 4,
  'NO_ZONE_AVAILABLE' = 5,
  'NO_STUDIO_SERVER_AVAILABLE' = 6,
}