The error codes of rtm client.
Enumerator |
---|
AgoraRtmErrorOk | 0: No error occurs.
|
AgoraRtmErrorNotInitialized | -10001 ~ -11000 : reserved for generic error. -10001: The SDK is not initialized.
|
AgoraRtmErrorNotLogin | -10002: The user didn't login the RTM system.
|
AgoraRtmErrorInvalidAppId | -10003: The app ID is invalid.
|
AgoraRtmErrorInvalidEventHandler | -10004: The event handler is invalid.
|
AgoraRtmErrorInvalidToken | -10005: The token is invalid.
|
AgoraRtmErrorInvalidUserId | -10006: The user ID is invalid.
|
AgoraRtmErrorInitServiceFailed | -10007: The service is not initialized.
|
AgoraRtmErrorInvalidChannelName | -10008: The channel name is invalid.
|
AgoraRtmErrorTokenExpired | -10009: The token has expired.
|
AgoraRtmErrorLoginNoServerResources | -10010: There is no server resources now.
|
AgoraRtmErrorLoginTimeout | -10011: The login timeout.
|
AgoraRtmErrorLoginRejected | -10012: The login is rejected by server.
|
AgoraRtmErrorLoginAborted | -10013: The login is aborted due to unrecoverable error.
|
AgoraRtmErrorInvalidParameter | -10014: The parameter is invalid.
|
AgoraRtmErrorLoginNotAuthorized | -10015: The login is not authorized. Happens user login the RTM system without granted from console.
|
AgoraRtmErrorLoginInconsistentAppId | -10016: Try to login or join with inconsistent app ID.
|
AgoraRtmErrorDuplicateOperation | -10017: Already call same request.
|
AgoraRtmErrorInstanceAlreadyReleased | -10018: Already call destroy or release, this instance is forbidden to call any api, please create new instance.
|
AgoraRtmErrorInvalidChannelType | -10019: Invalid channel type
|
AgoraRtmErrorInvalidEncryptionParameter | -10020: The encryption parameter is invalid.
|
AgoraRtmErrorOperationRateExceedLimitation | -10021: The operation is too frequent.
|
AgoraRtmErrorServiceNotSupport | -10022: The service is not configured in private config mode.
|
AgoraRtmErrorLoginCanceled | -10023: This login operation stopped by a new login operation or logout operation.
|
AgoraRtmErrorInvalidPrivateConfig | -10024: The private config is invalid, set private config should both set serviceType and accessPointHosts.
|
AgoraRtmErrorNotConnected | -10025: Perform operation failed due to RTM service is not connected.
|
AgoraRtmErrorChannelNotJoined | -11001 ~ -12000 : reserved for channel error. -11001: The user has not joined the channel.
|
AgoraRtmErrorChannelNotSubscribed | -11002: The user has not subscribed the channel.
|
AgoraRtmErrorChannelExceedTopicUserLimitation | -11003: The topic member count exceeds the limit.
|
AgoraRtmErrorChannelReused | -11004: The channel is reused in RTC.
|
AgoraRtmErrorChannelInstanceExceedLimitation | -11005: The channel instance count exceeds the limit.
|
AgoraRtmErrorChannelInErrorState | -11006: The channel is in error state.
|
AgoraRtmErrorChannelJoinFailed | -11007: The channel join failed.
|
AgoraRtmErrorChannelInvalidTopicName | -11008: The topic name is invalid.
|
AgoraRtmErrorChannelInvalidMessage | -11009: The message is invalid.
|
AgoraRtmErrorChannelMessageLengthExceedLimitation | -11010: The message length exceeds the limit.
|
AgoraRtmErrorChannelInvalidUserList | -11011: The user list is invalid.
|
AgoraRtmErrorChannelNotAvailable | -11012: The stream channel is not available.
|
AgoraRtmErrorChannelTopicNotSubscribed | -11013: The topic is not subscribed.
|
AgoraRtmErrorChannelExceedTopicLimitation | -11014: The topic count exceeds the limit.
|
AgoraRtmErrorChannelJoinTopicFailed | -11015: Join topic failed.
|
AgoraRtmErrorChannelTopicNotJoined | -11016: The topic is not joined.
|
AgoraRtmErrorChannelTopicNotExist | -11017: The topic does not exist.
|
AgoraRtmErrorChannelInvalidTopicMeta | -11018: The topic meta is invalid.
|
AgoraRtmErrorChannelSubscribeTimeout | -11019: Subscribe channel timeout.
|
AgoraRtmErrorChannelSubscribeTooFrequent | -11020: Subscribe channel too frequent.
|
AgoraRtmErrorChannelSubscribeFailed | -11021: Subscribe channel failed.
|
AgoraRtmErrorChannelUnsubscribeFailed | -11022: Unsubscribe channel failed.
|
AgoraRtmErrorChannelEncryptMessageFailed | -11023: Encrypt message failed.
|
AgoraRtmErrorChannelPublishMessageFailed | -11024: Publish message failed.
|
AgoraRtmErrorChannelPublishMessageTooFrequent | -11025: Publish message too frequent.
|
AgoraRtmErrorChannelPublishMessageTimeout | -11026: Publish message timeout.
|
AgoraRtmErrorChannelNotConnected | -10027: The connection state is invalid.
|
AgoraRtmErrorChannelLeaveFailed | -11028: Leave channel failed.
|
AgoraRtmErrorChannelCustomTypeLengthOverflow | -11029: The custom type length exceeds the limit.
|
AgoraRtmErrorChannelInvalidCustomType | -11030: The custom type is invalid.
|
AgoraRtmErrorChannelUnsupportedMessageType | -11031: unsupported message type (in MacOS/iOS platform,message only support NSString and NSData)
|
AgoraRtmErrorChannelPresenceNotReady | -11032: The channel presence is not ready.
|
AgoraRtmErrorChannelReceiverOffline | -11033: The destination user of publish message is offline.
|
AgoraRtmErrorChannelJoinCanceled | -11034: The channel join operation is canceled.
|
AgoraRtmErrorStorageOperationFailed | -12001 ~ -13000 : reserved for storage error. -12001: The storage operation failed.
|
AgoraRtmErrorStorageMetadataItemExceedLimitation | -12002: The metadata item count exceeds the limit.
|
AgoraRtmErrorStorageInvalidMetadataItem | -12003: The metadata item is invalid.
|
AgoraRtmErrorStorageInvalidArgument | -12004: The argument in storage operation is invalid.
|
AgoraRtmErrorStorageInvalidRevision | -12005: The revision in storage operation is invalid.
|
AgoraRtmErrorStorageMetadataLengthOverflow | -12006: The metadata length exceeds the limit.
|
AgoraRtmErrorStorageInvalidLockName | -12007: The lock name in storage operation is invalid.
|
AgoraRtmErrorStorageLockNotAcquired | -12008: The lock in storage operation is not acquired.
|
AgoraRtmErrorStorageInvalidKey | -12009: The metadata key is invalid.
|
AgoraRtmErrorStorageInvalidValue | -12010: The metadata value is invalid.
|
AgoraRtmErrorStorageKeyLengthOverflow | -12011: The metadata key length exceeds the limit.
|
AgoraRtmErrorStorageValueLengthOverflow | -12012: The metadata value length exceeds the limit.
|
AgoraRtmErrorStorageDuplicateKey | -12013: The metadata key already exists.
|
AgoraRtmErrorStorageOutdatedRevision | -12014: The revision in storage operation is outdated.
|
AgoraRtmErrorStorageNotSubscribe | -12015: The storage operation performed without subscribing.
|
AgoraRtmErrorStorageInvalidMetadataInstance | -12016: The metadata item is invalid.
|
AgoraRtmErrorStorageSubscribeUserExceedLimitation | -12017: The user count exceeds the limit when try to subscribe.
|
AgoraRtmErrorStorageOperationTimeout | -12018: The storage operation timeout.
|
AgoraRtmErrorStorageNotAvailable | -12019: The storage service not available.
|
AgoraRtmErrorPresenceNotConnected | -13001 ~ -14000 : reserved for presence error. -13001: The user is not connected.
|
AgoraRtmErrorPresenceNotWritable | -13002: The presence is not writable.
|
AgoraRtmErrorPresenceInvalidArgument | -13003: The argument in presence operation is invalid.
|
AgoraRtmErrorPresenceCacheTooManyStates | -13004: The cached presence state count exceeds the limit.
|
AgoraRtmErrorPresenceStateCountOverflow | -13005: The state count exceeds the limit.
|
AgoraRtmErrorPresenceInvalidStateKey | -13006: The state key is invalid.
|
AgoraRtmErrorPresenceInvalidStateValue | -13007: The state value is invalid.
|
AgoraRtmErrorPresenceStateKeySizeOverflow | -13008: The state key length exceeds the limit.
|
AgoraRtmErrorPresenceStateValueSizeOverflow | -13009: The state value length exceeds the limit.
|
AgoraRtmErrorPresenceStateDuplicateKey | -13010: The state key already exists.
|
AgoraRtmErrorPresenceUserNotExist | -13011: The user is not exist.
|
AgoraRtmErrorPresenceOperationTimeout | -13012: The presence operation timeout.
|
AgoraRtmErrorPresenceOperationFailed | -13013: The presence operation failed.
|
AgoraRtmErrorLockOperationFailed | -14001 ~ -15000 : reserved for lock error. -14001: The lock operation failed.
|
AgoraRtmErrorLockOperationTimeout | -14002: The lock operation timeout.
|
AgoraRtmErrorLockOperationPerforming | -14003: The lock operation is performing.
|
AgoraRtmErrorLockAlreadyExist | -14004: The lock already exists.
|
AgoraRtmErrorLockInvalidName | -14005: The lock name is invalid.
|
AgoraRtmErrorLockNotAcquired | -14006: The lock is not acquired.
|
AgoraRtmErrorLockAcquireFailed | -14007: Acquire lock failed.
|
AgoraRtmErrorLockNotExist | -14008: The lock is not exist.
|
AgoraRtmErrorLockNotAvailable | -14009: The lock service is not available.
|