Error codes and troubleshooting
See the following table for a list of common error codes, descriptions, and troubleshooting suggestions.
| Name | Error Code | Description | Suggestion |
|---|---|---|---|
Errors_Success | 0 | Request is successful. | None. |
Errors_Wrong_Usage | 1 | Wrong usage of the interface. | Read the corresponding documentation to learn the interface. |
Errors_Internal_Error | 2 | Internal error. Usually appears when you do not have the complete package or mix up libraries from different versions. | Download the latest version of the SDK library. |
Errors_Uninitialize | 3 | The SDK has not been initialized. | Make sure you have initialized the SDK before you call any services. |
Errors_Memory_Error | 4 | Insufficient memory to create a service. | Free up some memory used by other applications and try again. If this error appears too often, contact Developer Support. |
Errors_Load_Module_Error | 5 | Unable to load the module from the library. Usually appears when you do not have the complete SDK library or mix up the libraries from different versions. | Download the latest version of the SDK library. |
Errors_UnLoad_Module_Error | 6 | Unable to unload a module in the SDK library. | Double-check whether the module is being stuck or it just needs more time to finish its work. |
Errors_Invalid_Parameter | 7 | Wrong usage of the parameters that pass to an interface. | Read the corresponding documentation to learn the interface. |
Errors_Unknown | 11 | Unknown error. Usually appears when rare errors occur. | Double-check the log file and see if there are any related error messages. If it appears too often, contact Developer Support. |
Errors_Auth_Error | 1001 | Authentication error. | Contact Developer Support if you get this error. |
Errors_Auth_Empty_Key_or_Secret | 1002 | SDK key or secret is empty. | Pass the SDK key and secret. |
Errors_Auth_Wrong_Key_or_Secret | 1003 | SDK key or secret is invalid. | Pass a valid SDK key and secret. |
Errors_Auth_DoesNot_Support_SDK | 1004 | Your account does not support SDK. | Check your Zoom account settings or contact Developer Support to enable it. |
Errors_Auth_Disable_SDK | 1005 | Your account has disabled the SDK feature. | Check your Zoom account settings or contact Developer Support to enable it. |
Errors_Session_Module_Not_Found | 2001 | Unable to find the module for the session service. Usually appears when you do not have the complete SDK library or mix up the libraries from different versions. | Download the latest version of the SDK library. |
Errors_Session_Service_Invalid | 2002 | The session service is invalid. | Make sure the SDK has been initialized correctly. |
Errors_Session_Join_Failed | 2003 | Unable to join the session. | Double-check the information and parameter passed to join the session. |
Errors_Session_No_Rights | 2004 | You do not have the permission to perform the operation on this session. | Make sure you have the correct permission. |
Errors_Session_Already_In_Progress | 2005 | The request you are trying (join the session) is already in progress. | Do not send requests too frequently. Give it some time and try again. |
Errors_Session_Dont_Support_SessionType | 2006 | The session type is not supported in the current system. | Contact Developer Support. |
Errors_Session_Reconncting | 2008 | Trying to reconnect to the session. | Double-check your network connection. |
Errors_Session_Disconncting | 2009 | Disconnecting to the session due to failover. | Clean up your UI components and reconnect to the session. |
Errors_Session_Not_Started | 2010 | The session that you are trying to start did not start successfully. | Try again. |
Errors_Session_Need_Password | 2011 | The session you are trying to join needs password. | Pass password to join. |
Errors_Session_Password_Wrong | 2012 | The password entered is incorrect. | Provide the correct password. |
Errors_Session_Remote_DB_Error | 2013 | The remote database has some errors. | Try again later. If the problem persists, contact Developer Support. |
Errors_Session_Invalid_Param | 2014 | Received invalid parameters of join session. | Double-check the parameters you passed to the method and try again. |
Errors_Session_Audio_Error | 3000 | SDK is having issues with the audio. | Double-check your audio devices. |
Errors_Session_Audio_No_Microphone | 3001 | Could not find microphone. | Check microphone connection. |
Errors_Session_Video_Error | 4000 | SDK is having issues with the video. | Double-check your video devices. |
Errors_Session_Video_Device_Error | 4001 | SDK is having issues with video devices. | Double-check your video devices. |
Errors_Session_Live_Stream_Error | 5000 | SDK is unable to start live streaming. | Ensure the parameters and information pass for live streaming are correct. |
Errors_Malloc_Failed | 6001 | Unable to allocate memory for raw data. | Free up some memory and try again. |
Errors_Not_In_Session | 6002 | Unable to retrieve raw data because it is not in a session. | Start or join a session to start retrieving raw data. |
Errors_No_License | 6003 | You do not have the correct license to use raw data feature. | Contact Sales to purchase the correct license type. |
Errors_Video_Module_Not_Ready | 6004 | The video module is not ready to retrieve raw data. | Initialize the video module, subscribe, and try again. |
Errors_Video_Module_Error | 6005 | Unable to use the video module. | Download the latest version of the SDK library and import the video module properly. |
Errors_Video_device_error | 6006 | The video device has some errors. | Make sure your video device is connected and the SDK has the proper permission to access the device. |
Errors_No_Video_Data | 6007 | Unable to retrieve video raw data. | Make sure the video module has been initialized. |
Errors_Audio_Module_Not_Ready | 6011 | The audio module is not ready to retrieve raw data. | Initialize the audio module, subscribe, and try again. |
Errors_Audio_Module_Error | 6012 | Unable to use the audio module. | Download the latest version of the SDK library and import the audio module properly. |
Errors_No_Audio_Data | 6013 | Unable to retrieve audio raw data. | Make sure your audio module has imported properly, and the configurations are set. |
Errors_Preprocess_Rawdata_Error | 6014 | Internal error. | Contact Developer Support. |
Errors_Rawdata_No_Device_Running | 6015 | Could not raw data device. | Check raw data device. |
Errors_Rawdata_Init_Device | 6016 | Could not raw data device. | Check raw data device. |
Errors_Rawdata_Virtual_Device | 6017 | Error occurred during use of virtual audio device. | Make sure you have enabled virtual mic/speaker devices before attempting to call interfaces. |
Errors_Rawdata_Cannot_Change_Virtual_Device_In_Preview | 6018 | Attempted to change virtual device during preview. | Retry interface outside of preview. |
Errors_Rawdata_Internal_Error | 6019 | Error occurred during use of raw audio device. This typically occurs when a module failed or was not found. | Restart application and check project project properties. |
Errors_Rawdata_Send_Too_Much_Data_In_Single_Time | 6020 | Error occurred during use of raw audio device. This typically occurs when a module failed or was not found. | Restart application and check project project properties. |
Errors_Rawdata_Send_Too_Frequently | 6021 | Raw data interfaces were called too frequently in a short amount of time. | Check that interfaces are not being called at un-necessary times. |
Errors_Rawdata_Virtual_Mic_Is_Terminate | 6022 | Virtual microphone was terminated. | Start virtual mic again to continue using interfaces. |
Errors_meeting_Share_Error | 7001 | Internal Error. | Contact Developer Support. |
Errors_meeting_Share_Module_Not_Ready | 7002 | The share module was not initialized correctly. | Restart your application and check the project project properties. |
Errors_meeting_Share_You_Are_Not_Sharing | 7003 | enableShareDeviceAudio or enableOptimizeForSharedVideo were called when user was not sharing. | Only call enableShareDeviceAudio or enableOptimizeForSharedVideo when sharing. |
Errors_meeting_Share_Type_Is_Not_Support | 7004 | Used incorrect share type for the interface that was called. | Use the correct share type. |
Errors_meeting_Share_Internal_Error | 7005 | Internal error. | Restart the application and check the project project properties. |
Additional error codes
Find additional error codes in the ZoomVideoSDKError type definition in the SDK reference.
To determine the error numbers, find the previous numbered error in the header definition (ZoomVideoSDKConstants.h), and count sequentially. For example, Errors_JoinSession_Token_MismatchedSessionName is error 1507.
Errors_JoinSession_NoSessionName = 1500,
Errors_JoinSession_NoSessionToken,
Errors_JoinSession_NoUserName,
Errors_JoinSession_Invalid_SessionName,
Errors_JoinSession_Invalid_Password,
Errors_JoinSession_Invalid_SessionToken,
Errors_JoinSession_SessionName_TooLong,
Errors_JoinSession_Token_MismatchedSessionName,
Some of the errors are no longer used, but they are not marked as deprecated.