# Failed to initialize zoom SDK Error internalErrorCode=0

**URL:** https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789
**Category:** Web
**Created:** [January 30, 2020, 6:31am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789 "2020-01-30T06:31:01Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [January 30, 2020, 6:31am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/1 "2020-01-30T06:31:01Z")

</div>

**Description**  
I am trying to test Zoom Android SDK and followed the exact steps stated here: [https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/install-sdk](https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/install-sdk)  
However, I still encountered error code: 1 i already used SDK Keys & SDK Secret on marketplace zoom. is it my sdk keys & secret that problem or my JWT Token?

**Screenshots**

 ![photo_2020-01-30_13-29-49](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3d40b0f2d333792eab1a05f1a0c72d08098addd4.jpeg)

**Smartphone (please complete the following information):**

- Device: Galaxy Note 9
- OS: Android 10

Thank you so much

---

<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: [January 30, 2020, 7:57pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/2 "2020-01-30T19:57:14Z")

</div>

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

Thanks for using Zoom SDK. If you would like to use JWT token for SDK authentication, please make sure you are following the instructions in [https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization) and make sure you are using SDK key&secret(Not API key or OAuth token) from Marketplace to generate the JWT token.

You may refer to the implementation in our demo app: [https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/initsdk/InitAuthSDKHelper.java](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/initsdk/InitAuthSDKHelper.java)

Hope this helps. Thanks!

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [January 31, 2020, 4:49am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/3 "2020-01-31T04:49:50Z")

</div>

i already used the SDK key & Secret from marketplace zoom that i create and puth it all on the source code but stilll not work.is it JWT token is optional or mandatory?, i used the jwt token that zoom market provided but still doesnt work what should i do

 ![app](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/179eaa5f5107128860f52b7a153cefcd72fe06cf.png)

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [January 31, 2020, 8:21am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/4 "2020-01-31T08:21:29Z")

</div>

do i must have the bussiness license account to try creating the sampe apps using sdk?

---

<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: [January 31, 2020, 11:44pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/5 "2020-01-31T23:44:08Z")

</div>

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

Thanks for the reply. The JWT token is optional, you may choose to use SDK key&secret directly or generate the JWT token from your SDK key&secret and use it for initialization.

You should be able to create SDK app and get SDK key&secret with any license type.

Hope this helps. Thanks!

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [February 1, 2020, 1:20am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/6 "2020-02-01T01:20:16Z")

</div>

in sample apps that zoom shared on github,there’s a AuthConstants and have string SDK SDK\_JWTTOKEN what should i do if i dont use JWT? do i have to comment it or what? one thing there’s a WEB\_DOMAIN and the default is “[zoom.us](http://zoom.us)” is it the problem that my zoom sdk cannot connect/initialize?

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [February 3, 2020, 7:32am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/7 "2020-02-03T07:32:00Z")

</div>

up up  
help me please

---

<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: [February 3, 2020, 7:39pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/8 "2020-02-03T19:39:51Z")

</div>

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

Thanks for the reply. There are fields in the InitParam for the SDK key & secret.

If you would like to use SDK key & secret directly, or to check whether your SDK key and secret are working or not, you may comment out the field for JWT token and add the following:

```auto
ZoomSDKInitParams initParams = new ZoomSDKInitParams();
// initParams.jwtToken = SDK_JWTTOKEN;
initParams.appKey = SDK_KEY;
initParams.appSecret = SDK_SECRET;
...

```

It is recommended to use JWT token instead of using SDK key & secret directly as it is not secure and provides more flexibility. You may refer to the doc to generate the correct JWT token: [https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization)

Thanks!

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [February 4, 2020, 2:47am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/10 "2020-02-04T02:47:52Z")

</div>

hey carson i try the web sdk yesterday and got same error like the android error 1 i try to inspect the element and got the return from api “The Account dont enable API”

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [February 4, 2020, 7:38pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/11 "2020-02-04T19:38:32Z")

</div>

Hey @rizkyrayd,

This most likely means you do not have a [Pro or above Zoom plan](https://zoom.us/pricing).

In order to develop with the [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web), you need to upgrade your plan. You can request a free trial here: [isv@zoom.us](mailto:isv@zoom.us)

Also for the Web SDK, you must use [JWT Credentials](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate) instead of SDK credentials.

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [February 5, 2020, 4:11am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/13 "2020-02-05T04:11:50Z")

</div>

hi tommy fyi i already used the trial account for this case but still got the same error,  
where i must put the jwt token value on the web sdk?is it on the index.js?  
thank you.

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [February 6, 2020, 4:41pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/14 "2020-02-06T16:41:40Z")

</div>

Hey @rizkyrayd,

You need to put your JWT App Key and Secret here:

> <https://github.com/zoom/sample-app-web/blob/master/Local/js/index.js#L14>

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [February 10, 2020, 3:35am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/15 "2020-02-10T03:35:09Z")

</div>

hi tommy the website sdk already solved,but the android sdk still got the same error i test using the the api key from jwt and still got error,do i have create the jwt from sdk key & sdk secret? thanks

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [February 10, 2020, 5:54pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/16 "2020-02-10T17:54:46Z")

</div>

Hey @rizkyrayd, happy to hear Web SDK is working! 🙂

For the Android issue, have you tried using [SDK App credentials](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-sdk-app)?

CC @carson.zoom

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![rizkyrayd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rizkyrayd/32/3080_2.png) [@rizkyrayd](https://devforum.zoom.us/u/rizkyrayd)
#### Post date: [February 11, 2020, 6:47am UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/17 "2020-02-11T06:47:46Z")

</div>

yup,i already create the sdk app cred,put the sdk key & Secret on AuthConstants.java  
but when i run the apps error message appear said that sdk cannot initialize error code 1.  
is there any key or what that i missing. fyi i used the sample apps for android sdk on zoom github.  
thanks

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [February 11, 2020, 5:11pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/18 "2020-02-11T17:11:06Z")

</div>

Hey @rizkyrayd,

Can you create a new topic in the [Android category](https://devforum.zoom.us/c/mobile-sdk/android) so our Android developers can assist you?

Thanks,  
Tommy

---

<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, 7:25pm UTC](https://devforum.zoom.us/t/failed-to-initialize-zoom-sdk-error-internalerrorcode-0/7789/19 "2020-08-21T19:25:39Z")

</div>


