# Update skd version to v5.15.10.15778 unable to initialize sdk

**URL:** <https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178>\
**Category:** Android\
**Created:** [September 15, 2023, 12:03pm UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178 "2023-09-15T12:03:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashant.nehra](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@prashant.nehra](https://devforum.zoom.us/u/prashant.nehra)\
**Post date:** [September 15, 2023, 12:03pm UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/1 "2023-09-15T12:03:00Z")

</div>

I have updated my SDK version as mentioned in the heading but after doing this

```auto
final ZoomSDK mZoomSDK = ZoomSDK.getInstance();
        ZoomSDKInitParams initParams = new ZoomSDKInitParams();
        initParams.appKey = SDK_KEY;
        initParams.appSecret = SDK_SECRET;
        initParams.enableLog = true;
        initParams.logSize = 50;
        initParams.domain = WEB_DOMAIN;
        initParams.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;
        mZoomSDK.initialize(this, this, initParams);

```

the params for appKey and secretKey does not exist.  
How can i initialise my SKD now?

---

<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:** [September 18, 2023, 3:20am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/2 "2023-09-18T03:20:42Z")

</div>

@prashant.nehra ,

For this version of SDK, you will need to sign the authentication token using SDK\_KEY and SDK\_SECRET and then pass it into `initParams.jwtToken` params

> **[Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/#join-meetings-and-webinars-with-the-meeting-sdk-jwt)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![prashant.nehra](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@prashant.nehra](https://devforum.zoom.us/u/prashant.nehra)\
**Post date:** [September 18, 2023, 5:56am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/3 "2023-09-18T05:56:21Z")

</div>

Hi @chunsiong.zoom ,  
Thanks for the reply  
The steps you have mentioned to follow i have done that and for testing purpose i have created JWT from [https://jwt.io/](https://jwt.io/)  
and pasted this as hardcoded text as

```auto
initParams.jwtToken = "HARD_CODED"

```

and when trying to print the log for

```auto
@Override
    public void onZoomSDKInitializeResult(int errorCode, int internalErrorCode) {
        Log.e(TAG, "onZoomSDKInitializeResult, errorCode=" + errorCode + ", internalErrorCode=" + internalErrorCode);
    }

```

the response i am getting is:

```auto
onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0

```

what should be done now that can initialise SDK.

---

<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:** [September 18, 2023, 6:24am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/4 "2023-09-18T06:24:43Z")

</div>

@prashant.nehra ,

Could you share your JWT token?

---

<div class="post-metadata">

**Author:** ![prashant.nehra](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@prashant.nehra](https://devforum.zoom.us/u/prashant.nehra)\
**Post date:** [September 18, 2023, 9:35am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/5 "2023-09-18T09:35:09Z")

</div>

yes sure @chunsiong.zoom  
JWT → eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJJcFJTS0RNSGdtejVTNlU4MlRWNHMydzh4cUNORU9RSEpwYlAiLCJpYXQiOjE2OTUwMjk1MDgsImV4cCI6MTY5NTAzOTUwOCwidG9rZW5FeHAiOjE4MDB9.dmmbkTiuF6BfX5GM1JVAmumqN\_6UU-yQ0MMnkKMrwEI

---

<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:** [September 18, 2023, 9:52am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/6 "2023-09-18T09:52:05Z")

</div>

@prashant.nehra

The tokenExp has to be identical to exp. It is currently 1800 which is not the correct epoch time. Try to use the same value as exp and it should work

---

<div class="post-metadata">

**Author:** ![prashant.nehra](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@prashant.nehra](https://devforum.zoom.us/u/prashant.nehra)\
**Post date:** [September 18, 2023, 11:07am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/7 "2023-09-18T11:07:53Z")

</div>

@chunsiong.zoom  
After your suggestion i have created the new  
JWT → eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJJcFJTS0RNSGdtejVTNlU4MlRWNHMydzh4cUNORU9RSEpwYlAiLCJpYXQiOjE2OTUwMzQ5NDksImV4cCI6MTY5NTA0NDk0OSwidG9rZW5FeHAiOjE2OTUwMzQ5NDl9.oavOsBPKqhv6qznaZYBKiEGePcXcc5CfpjUOsUO9nTk

```auto
final ZoomSDK mZoomSDK = ZoomSDK.getInstance();
        ZoomSDKInitParams initParams = new ZoomSDKInitParams();
        /*initParams.appKey = SDK_KEY;
        initParams.appSecret = SDK_SECRET;*/
        initParams.jwtToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJJcFJTS0RNSGdtejVTNlU4MlRWNHMydzh4cUNORU9RSEpwYlAiLCJpYXQiOjE2OTUwMzQ5NDksImV4cCI6MTY5NTA0NDk0OSwidG9rZW5FeHAiOjE2OTUwMzQ5NDl9.oavOsBPKqhv6qznaZYBKiEGePcXcc5CfpjUOsUO9nTk";
        initParams.enableLog = true;
        initParams.logSize = 50;
        initParams.domain = WEB_DOMAIN;
        initParams.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;
        mZoomSDK.initialize(this, this, initParams);

```

Still on onZoomSDKInitializeResult i am getting the response as →   
onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0

---

<div class="post-metadata">

**Author:** ![prashant.nehra](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@prashant.nehra](https://devforum.zoom.us/u/prashant.nehra)\
**Post date:** [September 18, 2023, 11:35am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/8 "2023-09-18T11:35:46Z")

</div>

I don’t know how but after clearing the app data and header as

```auto
{
  "alg": "HS256",
  "typ": "JWT"
}

```

payload

```auto
{
  "appKey": ZOOM_MEETING_SDK_KEY_OR_CLIENT_ID,
  "iat": 1695036808,
  "exp": 1695046808,
  "tokenExp": 1695036808
}

```

and signature

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

```

again and now SDK is initializing  
Thanks @chunsiong.zoom

---

<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:** [September 18, 2023, 12:07pm UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/9 "2023-09-18T12:07:32Z")

</div>

great to hear that @prashant.nehra

---

<div class="post-metadata">

**Author:** ![JAFRI](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JAFRI](https://devforum.zoom.us/u/JAFRI)\
**Post date:** [October 6, 2023, 11:44am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/10 "2023-10-06T11:44:01Z")

</div>

i have same problem with update with 5.14.5.13410 to 5.14.10.14272

Please anyone have any video video tutorial, any guide JWT token for new users ?

---

<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:** [October 9, 2023, 9:45am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/11 "2023-10-09T09:45:05Z")

</div>

@JAFRI , please refer to this

> **[Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<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:** [October 9, 2023, 9:45am UTC](https://devforum.zoom.us/t/update-skd-version-to-v5-15-10-15778-unable-to-initialize-sdk/95178/12 "2023-10-09T09:45:14Z")

</div>

Closed on October 9, 2023, 9:45am UTC


