Error codes
Nexconn Chat UI returns NCError objects from provider operations when a request fails or when an SDK operation reports a non-zero result code. NCError.code is the numeric code, NCError.message is an optional operation message, and NCError.reason is resolved from the SDK error-code table when available.
0
success
The operation completed successfully.
-101
paramError
One or more parameters are invalid.
-102
engineDestroyed
The engine is not initialized or has already been destroyed.
-103
nativeOperationError
The underlying native SDK returned an operation error.
-104
resultUnknown
The operation result is unknown.
-4
notConnected
The app has not connected to the service.
-1
unknown
Unknown error.
405
blockedByRecipient
Message sending failed because the sender is in the recipient's blocklist.
407
notInRecipientAllowlist
Message sending failed because the recipient only accepts messages from an allowlist.
1004
authenticationError
Authentication failed.
20109
unsupportedSystemMessage
System channels do not support sending this message.
20115
messageTooLarge
The message size exceeds the limit.
20604
sendRateLimit
Message sending rate is too high.
22406
notInGroup
The user is not in this group.
22408
mutedInGroup
The user is muted in this group.
24365
userProfileBatchLimit
The number of managed user profiles in a batch query exceeds the limit.
24366
userNotFound
The user does not exist.
24369
managedUserProfileDisabled
Managed user profile is not enabled.
25405
noPermission
The current user does not have permission to perform the operation.
25409
groupIdExists
The group ID already exists.
25410
groupIdNotFound
The group ID does not exist.
25411
groupMemberLimit
The number of group members exceeds the limit.
25417
ownerCannotLeaveOrBeKicked
The group owner cannot be kicked out or leave the group.
25418
userNotInGroup
The user ID is not in the group.
25423
emptyGroupName
The group name cannot be empty.
25460
alreadyFriends
The users are already friends.
25466
friendRequestMissing
The friend request does not exist or has expired.
25469
notFriends
This operation cannot be performed because the users are not friends.
26020
onlineStatusNotEnabled
Online status subscription is not enabled.
28300
speechToTextDisabled
Speech-to-text service is not enabled.
28304
speechToTextFailed
Speech-to-text conversion failed.
50100
groupOperationUnsupported
The injected group operation does not support this action.
50101
messageEditUnsupported
Message editing is not supported by this UI layer.
Notes
This table only lists common codes that are useful when integrating the Flutter UI package. For exhaustive platform SDK codes, use the Nexconn Chat SDK reference that matches your release channel.