# Getting SDKERR\_UNINITIALIZE error when initializing zoom SDK second time on same machine

**URL:** <https://devforum.zoom.us/t/getting-sdkerr-uninitialize-error-when-initializing-zoom-sdk-second-time-on-same-machine/68512>\
**Category:** Windows\
**Tags:** meeting-sdk\
**Created:** [May 4, 2022, 4:56pm UTC](https://devforum.zoom.us/t/getting-sdkerr-uninitialize-error-when-initializing-zoom-sdk-second-time-on-same-machine/68512 "2022-05-04T16:56:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikskhubani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nikskhubani/32/35262_2.png) [@nikskhubani](https://devforum.zoom.us/u/nikskhubani)\
**Post date:** [May 4, 2022, 4:56pm UTC](https://devforum.zoom.us/t/getting-sdkerr-uninitialize-error-when-initializing-zoom-sdk-second-time-on-same-machine/68512/1 "2022-05-04T16:56:42Z")

</div>

**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:

```auto
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.](https://drive.google.com/file/d/1cMBnR07C_7N4FA7LK1GKFiFTKS52VKP2/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 5, 2022, 10:40pm UTC](https://devforum.zoom.us/t/getting-sdkerr-uninitialize-error-when-initializing-zoom-sdk-second-time-on-same-machine/68512/2 "2022-05-05T22:40:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 5, 2022, 8:41am UTC](https://devforum.zoom.us/t/getting-sdkerr-uninitialize-error-when-initializing-zoom-sdk-second-time-on-same-machine/68512/3 "2022-06-05T08:41:16Z")

</div>

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