Status codes
HTTP status codes
| Status code | Description | Details |
|---|---|---|
200 | Success | The request completed successfully. |
400 | Bad request | The request is invalid. See the error message for details. |
401 | Unauthorized | Authentication failed. See the error message for details. |
403 | Forbidden | The request was rejected. See the error message for details. |
404 | Not found | The requested endpoint does not exist. |
405 | Method not allowed | The HTTP method is not supported for this endpoint. |
429 | Too many requests | The rate limit has been exceeded. See the error message for details. |
430 | Service not enabled | The required service has not been enabled. See the error message for details. |
500 | Internal server error | An internal error occurred. Contact support for assistance. |
504 | Gateway timeout | The server is running but the request timed out. Retry after a short delay. |
Business return codes
400
The user ID does not exist.
404
The server cannot find the requested endpoint (HTTP 404).
1000
Invalid request parameters, internal logic error, or package name count exceeded.
1001
Incorrect App Secret.
1002
Invalid parameter. See the error message for details.
1003
The open channel ID cannot be empty, or the `minute` parameter is invalid.
1004
Signature verification failed.
1005
A parameter exceeds the maximum allowed length. See the error message for details.
1006
This app is offline and cannot accept requests.
1007
Access denied due to IP restriction.
1008
The API rate limit has been exceeded. Retry after a short delay.
1009
The required service has not been enabled.
1010
The allowlist feature is not enabled. Cannot manage the user allowlist.
1011
The blocklist feature is not enabled. Cannot manage the user blocklist.
1015
The data to delete does not exist.
1016
The number of keep-alive open channels exceeds the limit.
1018
The real-time audio/video service is not enabled.
1050
Internal service timeout.
2007
The registered user count has exceeded the limit.
20107
The direct channel blocklist has reached the maximum size.
20108
The direct channel allowlist has reached the maximum size.
22201
The original message for community channel metadata expansion does not exist.
22202
The original message does not support metadata expansion.
22203
The metadata expansion content has an invalid format.
22204
No permission to operate on community channel metadata.
23407
The open channel mute allowlist has exceeded its limit. The mute allowlist set at creation supports up to 20 users in batch.
23410
The open channel does not exist.
23423
The number of metadata entries for the open channel has exceeded the limit.
23424
No permission to modify an existing metadata entry in the open channel.
23426
The open channel custom metadata service is not enabled.
23427
The open channel metadata entry does not exist.
23432
The open channel destruction time is invalid.
23433
The open channel destruction type is invalid.
23434
No user ID provided for the open channel metadata operation.
23435
The open channel already exists.
23436
The open channel lifetime value is invalid.
24353
Duplicate deactivation request.
24354
Duplicate activation request.
24356
User deactivation is in progress.
24362
The key does not exist in the user extended profile.
24363
The number of user extended profile attributes has exceeded the maximum limit.
24366
The user application ID was not found in the user managed service.
24369
The user profile hosting feature is not enabled.
24401
The community channel feature is not enabled.
24402
Community channel service error.
24403
Invalid community channel parameter.
24404
Unknown community channel error.
24406
The user is not a member of the community channel.
24408
The user is muted in the community channel.
24410
The community channel does not exist.
24412
The user has reached the maximum number of community channels.
24413
The number of subchannels in the community channel has exceeded the limit.
24414
The community subchannel ID does not exist.
24418
The number of member groups has exceeded the limit.
24419
Duplicate member group ID.
24420
The member group does not exist.
24421
The number of members in the member group has exceeded the limit.
24422
The number of member groups bound to the subchannel has exceeded the limit.
25101
Invalid parameter for deleting a message. Verify the parameters and try again.
25102
Message cloud storage for direct and group channels is not enabled.
25104
Unknown error.
25107
The "Only allow deleting own messages" restriction is enabled. Users cannot delete messages sent by others.
25404
Unauthorized operation. Only the channel owner can modify group channel permissions.
25405
Permission denied.
25409
The group channel ID already exists.
25410
The group channel ID does not exist.
25411
The group channel member count has exceeded the limit.
25412
The user is already a member of the group channel.
25414
The group channel does not allow new members to join.
25415
The extended profile key does not exist.
25416
Query rate limit exceeded.
25417
The channel owner cannot be kicked out or leave the group.
25418
The user is not a member of the group channel.
25419
The number of channel admins or followed users has exceeded the limit.
25420
The user is not a channel admin.
25421
No invitation request found for this group and user.
25422
The batch query exceeds the limit.
25423
The group channel name cannot be empty.
25424
Joining this group channel requires admin approval.
25425
The channel owner cannot be set as a channel admin.
25426
No permission to invite users to the group channel.
25427
The invited user must accept the invitation before joining the group channel.
25428
The request has already been processed by another admin.
25429
Legacy groups do not support managed service APIs. Import the group first.
25430
The group channel ID is invalid. It contains special characters.
25432
Failed to parse the page token.
25460
The users are already friends. Operation is invalid.
25461
The friend request requires the other user's approval before the friendship is established.
25462
Cannot add friend. You are on the target user's blocklist.
25463
Cannot add friend. You are not on the target user's allowlist.
25464
Cannot add friend. The target user is on your blocklist.
25465
Cannot add friend. The target user is not on your allowlist.
25466
The friend request does not exist or has expired.
25467
Your friend list has reached the maximum size.
25468
The target user's friend list has reached the maximum size.
25469
This operation requires a friend relationship that does not exist.
25470
The number of friend custom attributes has exceeded the limit.
25471
The target user does not accept friend requests.
25472
The friend does not exist.
25473
Cannot add yourself as a friend.
26001
Invalid request parameter for the user-level settings service.
26002
The client version is too low. A version sync is required. Contact support to enable the user-level settings switch.
26003
Internal service error.
26020
The user presence subscription feature is not enabled.
26021
The user has reached the maximum number of subscribers.
26022
The user has reached the maximum number of subscriptions.
28400
The translation service is not enabled.
28401
Translation failed.
28402
Internal translation service error.
28403
Missing required parameter for the translation service.
28404
Invalid parameter for the translation service.
28405
Translation service quota exceeded.
28406
The translation content exceeds the maximum allowed length.
28407
The target language is not supported.
29001
The `stopReason` field in the streaming pull response is not yet available. The stream has not finished.
29002
The stream does not exist.
29003
The streaming pull request timed out after 30 seconds with no data.
29004
The stream was cut off after reaching the 30-minute limit.
29005
The stream was deleted due to content moderation failure.
29006
The stream was cut off because the data exceeds 128 KB.
29007
Internal streaming service error.