# onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0

**URL:** <https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155>\
**Category:** Android\
**Created:** [April 8, 2020, 2:06pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155 "2020-04-08T14:06:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![libin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/libin/32/5074_2.png) [@libin](https://devforum.zoom.us/u/libin)\
**Post date:** [April 8, 2020, 2:06pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/1 "2020-04-08T14:06:35Z")

</div>

using the pro account, getting error onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0

Android SDK **strong text**

---

<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:** [April 9, 2020, 5:44am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/2 "2020-04-09T05:44:08Z")

</div>

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

Thanks for using Zoom SDK. The error code indicates that invalid arguments are passed to initialize the SDK. Is this reproducible with our demo app? Could you provide the steps to reproduce this with our demo app?

Thanks!

---

<div class="post-metadata">

**Author:** ![aruna.gangji](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aruna.gangji/32/6166_2.png) [@aruna.gangji](https://devforum.zoom.us/u/aruna.gangji)\
**Post date:** [April 15, 2020, 5:40pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/3 "2020-04-15T17:40:43Z")

</div>

Hi Carson, I see the same issue. Steps are easy to reproduce with your demo app. Could you please tell what is going wrong in your app?

---

<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:** [April 16, 2020, 4:31am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/4 "2020-04-16T04:31:18Z")

</div>

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

Thanks for the reply. Could you provide the steps to reproduce this with our demo app?

---

<div class="post-metadata">

**Author:** ![itaizulu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itaizulu/32/8698_2.png) [@itaizulu](https://devforum.zoom.us/u/itaizulu)\
**Post date:** [May 18, 2020, 1:30pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/5 "2020-05-18T13:30:08Z")

</div>

hie Im still getting the error onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0 using the JWT provided on the site under mu account , how best to resolve this please help

---

<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, 8:57am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/6 "2020-05-19T08:57:08Z")

</div>

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

Thanks for using Zoom SDK. If your SDK credentials work when you are initializing the SDK with only the key & secret? (Not the JWT token?) If that works, then it means the JWT token itself has some issues, you may refer to the doc here to generate the 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)

Please ensure your payload match the following requirements:

```auto
{
	"appKey": "string", // Your SDK key
	"iat": long, // access token issue timestamp
	"exp": long, // access token expire timestamp, iat + a time less than 48 hours
	"tokenExp": long // token expire timestamp, MIN:1800 seconds
}

```

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![kalpesh1](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@kalpesh1](https://devforum.zoom.us/u/kalpesh1)\
**Post date:** [May 30, 2020, 5:36am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/7 "2020-05-30T05:36:12Z")

</div>

hello Carson , I am also facing same issue and I have followed all the steps as it is mentioned in doc then why I am facing this error onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0

---

<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:** [June 6, 2020, 1:32am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/8 "2020-06-06T01:32:05Z")

</div>

Hi @kalpesh1,

Thanks for the reply and for pardon the late response. Are you using SDK key & secret or JWT token for SDK authentication? Aer you using SDK key & secret in generating the JWT token? Could you provide more information on how you get the error?

Thanks!

---

<div class="post-metadata">

**Author:** ![kalpesh1](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@kalpesh1](https://devforum.zoom.us/u/kalpesh1)\
**Post date:** [June 6, 2020, 5:01am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/9 "2020-06-06T05:01:20Z")

</div>

I am tring to run Sample from Zoom SDK android. I am facing error InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0 I/ZoomSDKExample: onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0 My JWT credentials are public interface [Info hidden]

---

<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:** [June 9, 2020, 7:31am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/10 "2020-06-09T07:31:17Z")

</div>

Hi @kalpesh1,

Thanks for the info. Since this forum is publicly available, and you have shared your SDK credentials. I have removed the credentials you were sharing and **please do re-generate your SDK credentials on Marketplace ASAP**. I have gathered the info and will pass it to the engineering team for further investigation. Will get back to you shortly.

Thanks!

---

<div class="post-metadata">

**Author:** ![zoomuser2020](https://avatars.discourse-cdn.com/v4/letter/z/d2c977/32.png) [@zoomuser2020](https://devforum.zoom.us/u/zoomuser2020)\
**Post date:** [June 29, 2020, 2:52am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/11 "2020-06-29T02:52:47Z")

</div>

Hi, Carson, I met the same problem ,I used sdk key & secret to run the demo. (Android 8.1), Is there any solutions ？

---

<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:** [July 3, 2020, 6:43am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/12 "2020-07-03T06:43:23Z")

</div>

Hi @zoomuser2020,

Thanks for using Zoom SDK. Let me contact you directly regarding this.

---

<div class="post-metadata">

**Author:** ![aparab](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@aparab](https://devforum.zoom.us/u/aparab)\
**Post date:** [August 3, 2020, 12:52pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/14 "2020-08-03T12:52:36Z")

</div>

Hi, I have updated zoom android sdk v5.0.24437.0708 in my current project and accordingly changes done in code base. But it is showing [onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0] while initializing.

I also tried with Sample project but I met the same problem.

Please provide solution and guidance.

Thanks!

---

<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:** [August 4, 2020, 5:20am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/15 "2020-08-04T05:20:50Z")

</div>

Hi @aparab,

Thanks for the reply. Are you authenticating with SDK key/secret or JWT token? Was this work before you updated the SDK?

---

<div class="post-metadata">

**Author:** ![aparab](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@aparab](https://devforum.zoom.us/u/aparab)\
**Post date:** [August 4, 2020, 9:46am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/16 "2020-08-04T09:46:03Z")

</div>

Hi Carson,

Thanks for the reply. Yes I have authenticated with JWT token. JWT token is generated by using API key/Secret key successfully.

Previously it was working with old android SDK by using sdk api/secret key while initializing zoom sdk.

But now we have updated JWT authentication at server side also while creating meetings so we have updated zoom android sdk too in mobile app.

If you need any more details about credentials or codes steps, please let me know.

Thanks!

---

<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:** [August 8, 2020, 2:19am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/17 "2020-08-08T02:19:17Z")

</div>

Hi @aparab,

Thanks for the reply. Could you share a sample of the payload that you are using for the JWT token? Based on the error code, it seems like the JWT token is invalid.

Thanks!

---

<div class="post-metadata">

**Author:** ![Fauzdar1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fauzdar1/32/13253_2.png) [@Fauzdar1](https://devforum.zoom.us/u/Fauzdar1)\
**Post date:** [August 9, 2020, 9:56am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/18 "2020-08-09T09:56:27Z")

</div>

Hey, I’m also using the JWT Token generated on the [marketplace.zoom.us](http://marketplace.zoom.us). I’m trying to test the sample SDK of Zoom but I’m also getting the same error. There’s no option to use API key and other things anymore as mentioned in the docs which seems outdated now. Please provide a solution.

---

<div class="post-metadata">

**Author:** ![devanshuchandra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/devanshuchandra/32/2392_2.png) [@devanshuchandra](https://devforum.zoom.us/u/devanshuchandra)\
**Post date:** [August 9, 2020, 8:08pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/19 "2020-08-09T20:08:26Z")

</div>

The problem is with the JWT token produced from the marketplace. When I tried to decode the JWT token that I got from the marketplace it shows me the following payload:  
{  
“aud”: null,  
“iss”: “myapikeythatIdonotwanttoshare”,  
“exp”: sometimestampIdonotwanttoshow,  
“iat”: sometimestampIdonotwanttoshow  
}

which is wrong according to the payload sample given in sample project and example project that comes with SDK:  
{  
“appKey”: “string”, // app key  
“iat”: long, // access token issue timestamp  
“exp”: long, // access token expire time  
“tokenExp”: long // token expire time  
}

I even tried to create a JWT token from [jwt.io](http://jwt.io) with correct parameters of payload that also doesn’t work. Can someone resolve this issue?

---

<div class="post-metadata">

**Author:** ![svshirse](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/svshirse/32/13291_2.png) [@svshirse](https://devforum.zoom.us/u/svshirse)\
**Post date:** [August 10, 2020, 11:12am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/20 "2020-08-10T11:12:08Z")

</div>

onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0  
same problem. Also tried marketplace jwt token with sample app. Its not working giving the same error.

---

<div class="post-metadata">

**Author:** ![Fauzdar1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fauzdar1/32/13253_2.png) [@Fauzdar1](https://devforum.zoom.us/u/Fauzdar1)\
**Post date:** [August 11, 2020, 3:52pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/21 "2020-08-11T15:52:34Z")

</div>

The solution is to skip the JWT token and go with the SDK key and Secret which you’ll get when creating an app for SDK. Just comment out the line where JWTToken is initalized into the initializing parameters and provide the key and secret. It will work, apart from this I’ve not found any other solution and there support is not much of a help, nor their documentation. I’m stuck on something else.

```
            //initParams.jwtToken = SDK_JWTTOKEN;
            initParams.appKey = APP_KEY;
            initParams.appSecret = APP_SECRET;
```

[Next page](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155.md?page=2)
