# onZoomSDKInitializeResult error

**URL:** <https://devforum.zoom.us/t/onzoomsdkinitializeresult-error/108229>\
**Category:** Meeting SDK\
**Created:** [April 19, 2024, 7:32am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-error/108229 "2024-04-19T07:32:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanjose.sanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/juanjose.sanchez/32/54766_2.png) [@juanjose.sanchez](https://devforum.zoom.us/u/juanjose.sanchez)\
**Post date:** [April 19, 2024, 7:32am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-error/108229/1 "2024-04-19T07:32:52Z")

</div>

Hello,

We are trying to integrate the Meeting SDK embedded into our own native Android and iOS mobile applications.

Currently, the status is “Draft” because we need to include the OAuth information in the App Marketplace console. **Is it necessary to include it in order to test the example provided with the SDK?**

Despite this, we have downloaded the latest versions of the SDK on Android (zoom-sdk-android-5.17.11.20433) and iOS (zoom-sdk-ios-5.17.11.14222) and are trying to initialize the SDK with JWT token.

For example, with these values:

_Header_  
_{_

- “alg”: “HS256”,\*
- “type”: “JWT”\*  
_}_  
_PAYLOAD:DATA_

_{_

- “appKey”: “Client ID obtained from the marketplace build console”,\*
- “iat”: 1713510348,\*
- “exp”: 1713683148,\*
- “tokenExp”: 1713512148\*  
_}_

_VERIFY SIGNATURE_

_HMACSHA256(_

- base64UrlEncode(header) + “.” +\*
- base64UrlEncode(payload),\*
- 
  - 

_Client Secret obtained from the marketplace build console_

_) secret base64 encoded_

However, we are getting response

**-On Android**

> Sometimes we get the answer: onZoomSDKInitializeResult, errorCode=5, internalErrorCode=124
> 
> which we have seen corresponds to ZOOM\_ERROR\_AUTHRET\_TOKENWRONG - Static variable in interface us.zoom.sdk.ZoomError The jwt token to authenticate is wrong
> 
> Other times we get the answer: onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0
> 
> which we have seen corresponds to `ZOOM_ERROR_INVALID_ARGUMENTS` `

**-On iOS**

> we get the answer `MobileRTCAuthError_TokenWrong` 124 The JWT token to authenticate is wrong.

**Please, could you help us?**

Thank you so much

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [April 22, 2024, 4:42am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-error/108229/2 "2024-04-22T04:42:50Z")

</div>

@juanjose.sanchez do you have a sample of the generated token?

---

<div class="post-metadata">

**Author:** ![juanjose.sanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/juanjose.sanchez/32/54766_2.png) [@juanjose.sanchez](https://devforum.zoom.us/u/juanjose.sanchez)\
**Post date:** [April 23, 2024, 8:05am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-error/108229/3 "2024-04-23T08:05:22Z")

</div>

It is already working for us, we had generated the JWT token with some error. Thank you so much

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [April 23, 2024, 8:09am UTC](https://devforum.zoom.us/t/onzoomsdkinitializeresult-error/108229/4 "2024-04-23T08:09:50Z")

</div>


