Getting SDKERR_UNINITIALIZE error when initializing zoom SDK second time on same machine

Description

We are trying to build a calling bot that as per our requirement should join the zoom call with multiple different users (SDK Keys and secrets) from the same machine.

However, as soon as we try to launch our application a second time with a different user, it gives us SDKError code SDKERR_UNINITIALIZE

Which Windows Meeting SDK version?
v5.9.1.2625

Screenshots
Not applicable

Device (please complete the following information):

  • Device: Dell XPs
  • OS: Windows 10

Additional context
Here is our code block to get an idea of what we are doing:

ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onAuthenticationReturn(onAuthenticationReturn);
            ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onLoginRet(onLoginRet);
            ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add_CB_onLogout(onLogout);

            ZOOM_SDK_DOTNET_WRAP.AuthContext param = new ZOOM_SDK_DOTNET_WRAP.AuthContext();
            ZOOM_SDK_DOTNET_WRAP.AuthParam authparam = new ZOOM_SDK_DOTNET_WRAP.AuthParam();
            param.jwt_token = ZoomToken();
            authparam.appKey = ApiKey;
            authparam.appSecret = ApiSecret;

            SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(authparam);
            Logger.Info("App Key " + authparam.appKey);
            Logger.Info(err.ToString());
            if(err != SDKError.SDKERR_SUCCESS)
            {
                Application.Current.Shutdown(0);
            }

Logs are found here.

Hi @nikskhubani,

This error is being produced due to multiple SDK instances running on the same machine simultaneously. The SDK is only meant to run one instance per machine at a time.

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.