# Zoom SDK fails to initialise

**URL:** <https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950>\
**Category:** Android\
**Created:** [May 16, 2020, 11:30am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950 "2020-05-16T11:30:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vk.rahul318](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@vk.rahul318](https://devforum.zoom.us/u/vk.rahul318)\
**Post date:** [May 16, 2020, 11:30am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950/1 "2020-05-16T11:30:54Z")

</div>

**Description**  
I have downloaded the SDK from GitHub and also successfully added all the required values in constants file in both the given examples --\> example2 and sample. However, here’s the problem I am facing. When I build and run the example2 app and click on Meeting I get the following error “ZoomSDK has not been initialised successfully” and when sample app is run "Failed to initialise ZoomSDK. ErrorCode: 1, Internal error ". I have put in the correct SDK Key and Secret, along with JWT token and also the correct userID, UserToken and the Meeting ID is personal and is also correct. I have verified my credentials at least 3 times and tried over, but unfortunately it still gives me the same error.

**Which version?**  
ZoomSDK Version - **4.6.21666.0429**  
Android Studio Version - **3.6.3**

**Smartphone :**

- Device: Emulator - Pixel 3a
- OS: API Level 25
- CPU: x86 Google Play Intel atom

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 19, 2020, 9:38am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950/2 "2020-05-19T09:38:09Z")

</div>

Hi [vk.rahul318](https://devforum.zoom.us/u/vk.rahul318),

Thanks for using Zoom SDK. Could you have a try with the following:

1. In [https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/initsdk/AuthConstants.java](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/initsdk/AuthConstants.java), fill in the SDK\_KEY and SDK\_SECRET with your SDK credentials
2. In [https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/initsdk/InitAuthSDKHelper.java#L41](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/initsdk/InitAuthSDKHelper.java#L41), comment out this line and add the following:

```auto
 ZoomSDKInitParams initParams = new ZoomSDKInitParams();
            initParams.appKey = SDK_KEY;
            initParams.appSecret = SDK_SECRET;
// initParams.jwtToken = SDK_JWTTOKEN;
            initParams.enableLog = true;
            initParams.logSize = 50;
            initParams.domain=AuthConstants.WEB_DOMAIN;
            initParams.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;
            mZoomSDK.initialize(context, this, initParams);

```

1. Build and see if the SDK initialization result. If the SDK is able to initialized, then it means your SDK credential works, and the issue is on the JWT token itself. If the SDK is not able to initialized, then your SDK credentials might have some issues, and we will need to further investigate.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![vk.rahul318](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@vk.rahul318](https://devforum.zoom.us/u/vk.rahul318)\
**Post date:** [May 20, 2020, 7:49am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950/3 "2020-05-20T07:49:43Z")

</div>

Hello, Thanks for your reply. I got it working as a standalone app instead of using the examples given. It’s working well with the credentials that I have provided.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 21, 2020, 9:19am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950/4 "2020-05-21T09:19:38Z")

</div>

Hi [vk.rahul318](https://devforum.zoom.us/u/vk.rahul318),

Glad to hear that it is working now. Happy Zooming! 🙂

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:27pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialise/17950/5 "2020-08-21T21:27:46Z")

</div>

Closed on August 21, 2020, 9:27pm UTC


