logo
Voice Call
Server API
Stream Mixing and Transcoding APIs
On this page

Global Return codes


Note

This document contains all return codes related to ZEGOCLOUD RTC server API interfaces. When using, please pay attention to distinguish the category of the server API interface you are using.

Common Return codes

Return codeDescriptionSuggested action
100000000Host error in request header.Please confirm whether the Host address in the request header is correct.
100000001AppId field format error.Please fill in the correct AppId.
100000002Timestamp field is empty.Please fill in Timestamp.
100000003Timestamp field format error.Please fill in the correct Unix timestamp (in seconds).
100000004Signature expired.Please regenerate the signature.
100000005Signature error.Please confirm whether the parameters for generating the signature are correct.
100000006Action is empty.Please specify Action.
100000007Unsupported Action.Please fill in the correct Action.
100000008SignatureNonce field is empty.Please fill in SignatureNonce.
100000009Signature field is empty.Please fill in Signature.
100000010Failed to get ServerSecret.Please confirm whether the AppId is correct.
100000011Failed to get App configuration.Please confirm whether the AppId is correct, or contact ZEGOCLOUD Technical Support for assistance.
100000013SignatureVersion field is empty.Please fill in SignatureVersion.
100000014Unsupported SignatureVersion.SignatureVersion only supports 2.0.
100000015Gateway internal error.Please contact ZEGOCLOUD Technical Support for assistance.
100000016App is not configured for production environment.Please confirm whether the input parameter isTest has selected the correct environment or whether the production environment is enabled.
100000017App has not enabled this service.Please contact ZEGOCLOUD Technical Support for assistance.

Room Signaling Interfaces

Return codeDescriptionSuggested action
0Request successful.-
1Request failed.Please contact ZEGOCLOUD Technical Support for assistance.
2Input parameter error.-
3Input parameter length too long.Please re-enter the parameter.
8Decoding failed.-
9Permission to use the current interface has not been granted.Please contact ZEGOCLOUD Technical Support for assistance.
104Room does not exist, with the same internal judgment logic as 5024, 50001.Please confirm whether the requested RoomId exists.
105User does not exist.Please confirm whether the requested UserID exists.
121Failed to save broadcast message.-
122Failed to generate message ID.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
123Failed to set Stream information.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
124Failed to delete Stream information.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
138Stream information does not exist.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
151Failed to send broadcast message.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
154Failed to get list information.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
206App request QPS too high and was limited.Reduce request frequency, or contact ZEGOCLOUD Technical Support to increase QPS limit threshold.
207Room request QPS too high and was limited.Reduce request frequency, or contact ZEGOCLOUD Technical Support to increase QPS limit threshold.
1008Message content MessageContent is empty.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
1012Multiple users operating on the same Stream.Please check the logic.
5201Broadcast message encoding failed.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
5202Failed to generate message ID.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
5024Room does not exist, with the same internal judgment logic as 104, 50001.Please confirm whether the requested RoomId exists.
50001Room does not exist, with the same internal judgment logic as 104, 5024.
Note
  • When there are no users in the Room, the Room will be automatically destroyed by the server.
  • When there is only one User in the Room, and that User exits or is kicked out of the Room, the Room will be automatically destroyed by the server.
  • When a User's heartbeat request times out after 100 seconds, the User will go offline; after all Users are no longer in the Room, the Room will be automatically destroyed by the server.
Please confirm whether the requested RoomId exists.
50003Failed to find User online information.Please confirm whether the requested UserId is online.
50011User list length too long.Please check whether the number of users in the request packet exceeds the limit.
50012Message length exceeds limit.Please check whether the parameter length exceeds the limit.
50013Failed to send custom message.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
50123The number of ban rules currently within the validity period exceeds the limit.Please reduce the number of rules.
50124The rule to be deleted does not exist.Please check parameter settings.

Stream Mixing and Transcoding Interfaces

Return codeDescriptionSuggested action
0Request successful.-
110200001Failed.Please retry.
110200002Input parameter error.Please check whether the parameter is in JSON format, or refer to the Message information for handling.
110200003Authentication failed.Please confirm whether the Authentication information is correct or has expired. For details, please refer to the "Signature Mechanism" in Calling Method.
110200004Failed to parse input parameters.Please check whether the Stream Mixing parameters are correct.
110200005Failed to acquire distributed lock when starting Stream Mixing.The same UserId is starting Stream Mixing too frequently, please try again later.
110200006Failed to acquire distributed lock when stopping Stream Mixing.The same UserId is stopping Stream Mixing too frequently, please try again later.
110200007Failed to update Stream Mixing request.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
110200008Stream Mixing start protocol conversion failed.Please check whether the Stream Mixing parameters are correct.
110200012Failed to close other Stream Mixing tasks of the Stream Mixing initiator.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
110200013Failed to update Stream Mixing ownership.Please retry, or contact ZEGOCLOUD Technical Support.
110200014Stream Mixing stop protocol conversion failed.Please check whether the Stream Mixing parameters are correct.
110200015Stream Mixing stop request forwarding failed.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
110200140MixInput and MixOutput have the same Stream ID.Please remove the duplicate Stream ID and retry.
110200141Image protocol currently only supports: https, http, preset-id.Please confirm whether the current image protocol is correct.
110200142Failed to get image.Please check whether the image address is correct or whether the image size exceeds 1 MB.
110200150The input Stream for Stream Mixing or single-stream transcoding does not exist.Please confirm whether the input StreamId or StreamUrl exists. If not, remove the non-existent Stream and retry; or Publish stream to the non-existent Stream and retry.
110200151Stream Mixing or single-stream transcoding task failed.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
110200153Stream Mixing input Stream error.Please check whether the contents of the Stream Mixing input Stream are correct.
110200154Stream Mixing output Stream error.Please check whether the contents of the Stream Mixing output Stream are correct.
110200155Stream Mixing input Stream format error.Please check whether the format of each parameter in the Stream Mixing input Stream is correct.
110200156Stream Mixing output Stream format error.Please check whether the format of each parameter in the Stream Mixing output Stream is correct.
110200157Stream Mixing permission not enabled.Please confirm whether the project to which the currently used AppId belongs has enabled the Stream Mixing service permission in the ZEGO Console. For details, please refer to Project Management - Service Configuration - Stream Mixing.
110200158Stream Mixing input Stream count exceeds limit.Multiple input Streams are supported, with a default upper limit of 9. Please confirm whether the limit is exceeded.
110200159Stream Mixing dispatch failed.Please retry, or contact ZEGOCLOUD Technical Support for assistance.
110200160Non-owner stopped Stream Mixing.Please use the corresponding UserId to stop Stream Mixing.
110200161Stream Mixing output Stream width value error, value range is [0, 3000].Please confirm the Width value.
110200170Watermark parameter error.Please check whether the Stream Mixing watermark parameters are correct.
110200171Watermark parameter is empty.Please check whether the Stream Mixing watermark image is empty.
110200172Extended parameter error.Please check whether the extended parameters are correct.
110200175Input Stream duplicate.Please confirm whether each input StreamId or StreamUrl in the MixInput parameter is globally unique.
110200176Output Stream duplicate.Please remove duplicate output Streams from the MixOutput list.
110200177Focus voice exceeds limit.Please check the number of focus voices, with an upper limit of 4.
110200178Output Stream count exceeds limit.Multiple output Streams are supported, with a default upper limit of 3. Please confirm whether the limit is exceeded.
110200179Text watermark related error.Please handle according to the returned suggestion.
110200184Stream Mixing start parameter parsing failed.Please check whether the parameter content is valid according to the returned prompt information.
110200185Stream Mixing stop parameter parsing failed.Please check whether the Stream Mixing parameters are correct.
110200190Stream Mixing start request overload.Requests too frequent, please try again later.
110200191Stream Mixing stop request overload.Requests too frequent, please try again later.
110200194Stream Mixing request overload.Requests too frequent, please try again later.
110209001Stream Mixing task does not exist.Please verify whether the Stream Mixing task is in progress. If the Stream Mixing task is actually in progress, please contact ZEGOCLOUD Technical Support.
110240002Token is illegal.Please fill in the correct Token.

Media Service Interfaces

Return codeDescriptionSuggested action
0Request successful.-
1Request failed.-
2Parameter error.-
3Authentication failed.Please check whether the Authentication parameters are correct.
1010、5007Interface call frequency too high.Please reduce interface request frequency.
1001Dispatch failed.Please contact ZEGOCLOUD Technical Support for assistance.
1002Publish stream node is empty.Please contact ZEGOCLOUD Technical Support for assistance.
1003Play stream node is empty.Please contact ZEGOCLOUD Technical Support for assistance.
1005App is not online.Please contact ZEGOCLOUD Technical Support for assistance.
1006Invalid parameter.Please contact ZEGOCLOUD Technical Support for assistance.
3000Invalid App.Please contact ZEGOCLOUD Technical Support for assistance.
3001、5000、5001、5002、5006Internal error.Please contact ZEGOCLOUD Technical Support for assistance.
3002Timestamp error.Please regenerate a new Timestamp.
3003App is not configured with Token.Please contact ZEGOCLOUD Technical Support for assistance.
5003、40005Authentication failed.Please check whether the Signature is correct.
5004、30001Invalid CDN address.Please check whether the request parameter CDNUrl is correct.
5005Invalid request.Please contact ZEGOCLOUD Technical Support for assistance.
30002Interface call frequency too high.Please reduce interface request frequency.
30003Internal error.Please contact ZEGOCLOUD Technical Support for assistance.
30004Parameter isTest error.Please check whether the common request parameter isTest is correct.
30005Invalid AppId.Please check whether the AppId is correct.
30006Invalid StreamId list.Please check whether the StreamId[] is correct.
30009Invalid StreamId, Stream name is not standard.Please check whether the StreamId conforms to the Stream name encoding specification.
30010Invalid dispatch action.Please check whether the Type is correct.
30011Invalid client IP address.Please check whether the ClientIP is correct.
41001Live broadcast save failed.Please check whether the live broadcast exists. If it exists, please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
41002Channel save failed.Please check whether the channel exists. If it exists, please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
41003Live broadcast does not exist.Please check whether the live broadcast exists. If it exists, please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
41004Query failed, StreamId does not exist.Please check whether the StreamId is correct or whether the "permission to query Stream status history information" has expired.
41006Query successful, the queried Stream exists but is in closed state. Only returned within the validity period of enabling "permission to query Stream status history information".-
42001Failed to disable live broadcast.Please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
42002Failed to resume live broadcast.Please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
42003Failed to batch disable live broadcasts.Please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
42004Failed to batch resume live broadcasts.Please retry. If retry fails, please contact ZEGOCLOUD Technical Support.
43001Failed to create Recording index file.Please retry. If retry fails, please contact ZEGOCLOUD Technical Support.

Media File Interfaces

Return codeDescriptionSuggested action
0Request successful.-
2Input parameter error.-
3Relevant permission not enabled.Please contact ZEGOCLOUD Technical Support.
4CDN type mismatch.Please check parameters.
5Configuration error.Please contact ZEGOCLOUD Technical Support.
6Requests too frequent.Please try again later.
7Authentication failed.Please check whether the Authentication parameters are correct.
1000Request failed.Please contact ZEGOCLOUD Technical Support.
41003File does not exist.Please confirm whether the file format, file ID, etc. are correct.

Audio/Video Stream Moderation Interfaces

For related common return codes, please refer to Room Signaling Interfaces. Interface-related return codes are as follows:

Return codeDescriptionSuggested action
50006、50007HTTP request failed.Please try again later, or contact ZEGOCLOUD Technical Support.
50009Moderation failed.Please try again later, or contact ZEGOCLOUD Technical Support.
50117Configuration error, Shumei permission not enabled.Please contact ZEGOCLOUD Technical Support to enable Shumei-related permissions.

Previous

How to Call Server API Online

Next

SendBroadcastMessage

On this page

Back to top