# 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:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![amitohanae](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@amitohanae](https://devforum.zoom.us/u/amitohanae)\
**Post date:** [October 30, 2020, 3:29am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/22 "2020-10-30T03:29:08Z")

</div>

I have tried as you have suggested, but getting below error

InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=2, internalErrorCode=3023

Have you find any solution, please let me know thanks,

---

<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:** [October 30, 2020, 5:36pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/23 "2020-10-30T17:36:10Z")

</div>

Hi @amitohanae, thanks for using the devforum.

This error code indicates an illegal app key or secret is being used. Please ensure you are using the correct key/secret pair that is associated with an SDK app on your account.

Thanks!

---

<div class="post-metadata">

**Author:** ![amitohanae](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@amitohanae](https://devforum.zoom.us/u/amitohanae)\
**Post date:** [October 31, 2020, 6:52am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/24 "2020-10-31T06:52:12Z")

</div>

I have created new app and updated API Key & API Secret but now it shows me below error

InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=3, internalErrorCode=5003

---

<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:** [November 2, 2020, 5:53pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/25 "2020-11-02T17:53:54Z")

</div>

Hi @amitohanae,

If you are using the Zoom SDK, you must create an SDK app and use the key/secret from that. An API key/secret currently will not work with our SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![sumit.h](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sumit.h/32/30768_2.png) [@sumit.h](https://devforum.zoom.us/u/sumit.h)\
**Post date:** [September 5, 2021, 5:48pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/26 "2021-09-05T17:48:51Z")

</div>

Hi Carson,

Still facing same issue (i.e **onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0** ) with JWT token while initializing zoom…, I have tried all the solutions which you have discussed above…, have generate JWTToken based on the below payload :  
{  
“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  
}

and applied to sample zoom android sdk, but still getting error while initilizing zoom.

Please find the below screenshot :

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/f/ef01b3f4d55167d0634180cc47717f6676c2df9c.jpeg)

Will be vey thank full, if you could suggest some proper solution for it.  
Thanks

---

<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:** [September 7, 2021, 5:26pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/27 "2021-09-07T17:26:33Z")

</div>

Hi @sumit.h, thanks for using the dev forum.

Sorry to hear you’re running into this issue while initializing the SDK. Can you please provide the values you are using for the `iat`, `exp`, and `tokenExp` fields? Also, are you certain that you are using the key/secret from an SDK app on the Marketplace?

Thanks!

---

<div class="post-metadata">

**Author:** ![zoomtod504](https://avatars.discourse-cdn.com/v4/letter/z/cc9497/32.png) [@zoomtod504](https://devforum.zoom.us/u/zoomtod504)\
**Post date:** [January 26, 2024, 6:25pm UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-errorcode-1-internalerrorcode-0/12155/29 "2024-01-26T18:25:01Z")

</div>

**Subject** : Zoom SDK Initialization Error - errorCode=1

**Description** : I am experiencing an issue with the initialization of the Zoom SDK in my application. The SDK consistently fails to initialize, showing the following error message:

`onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0`  
his issue is hindering the development and testing of Zoom integration in my application.

**Environment** :

- **Platform** : [Specify the platform - iOS/Android/Windows/etc.]
- **Zoom SDK Version** : [Mention the SDK version you are using]
- **Development Environment** : [Provide details about your development environment, such as IDE, framework versions, etc.]

**Issue Details** :

- **Error Occurrence** : The error occurs during the initialization phase of the Zoom SDK.
- **Reproduction Steps** : [List the steps you take to reproduce this issue]

**JWT Token Details** : I am using the following JWT payload for SDK authentication:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/b/8b98954cc69dd30c0fcb033b0e588086974cba45.png)

```auto
{
  "appKey": "AABqugVJQtmqyc ****",
  "iat": 1706272313,
  "exp": 1706445113,
  "tokenExp": 1706274113
}

```

```auto
HMACSHA256(
  base64UrlEncode(header) + "." +
  base64UrlEncode(payload),
  
sOSxwNGCMQ98itz

) secret base64 encoded

```

**Attempted Troubleshooting** :

- [List any troubleshooting steps you have already attempted, such as verifying the SDK key, checking token expiration, etc.]

**Request for Assistance** : I am seeking assistance to understand the cause of this error and how to resolve it. Any insights or guidance on troubleshooting steps would be greatly appreciated.

**Attachments** :

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/e/9ebce0e248d4fad6b8e59a1f1693f7ed4519d3be.png)

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