# Migrating from old SDK to new General App (Meeting SDK Web Embed)

**URL:** <https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269>\
**Category:** Meeting SDK\
**Created:** [August 23, 2024, 6:41pm UTC](https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269 "2024-08-23T18:41:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhasedConnect\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phasedconnect_dev/32/63135_2.png) [@PhasedConnect\_dev](https://devforum.zoom.us/u/PhasedConnect_dev)\
**Post date:** [August 23, 2024, 6:41pm UTC](https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269/1 "2024-08-23T18:41:57Z")

</div>

In short, I’m working on a React that uses old Meeting SDK credentials (SDK Key and Secret) to create and join Zoom meetings.

Since the start of 2023. that type of Zoom app is deprecated ( **https ://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt** ). They recommend using new **General app’s Client ID and Client Secret** instead of **old SDK key and SDK secret**.  
So, basically, I want to create a new Zoom Marketplace app, generate new key and secret and make use of them. But that **ain’t working** for me, or I’m doing something wrong.

**How To Reproduce**  
**1.** Create a Zoom General App on Zoom App Marketplace and select Meeting SDK in Embed tab. I literally followed this guide ( **https ://developers.zoom.us/docs/meeting-sdk/create/** ) from official Zoom documentation.  
**2.** Generate a JWT (signature) using Client ID and Client Secret from newly created app. I copy-pasted the method from this endpoint from [meetingsdk-auth-endpoint-sample] **(https ://github.com/zoom/meetingsdk-auth-endpoint-sample/blob/33c9f3c514df3dc2d642c0930c4e8fe2b196daee/src/index.js#L29)**.  
**3.** Create a ZoomClient using a JavaScript npm package **@zoomus/websdk/embedded** npm package.  
**4.** Try creating a meeting or joining a meeting using **@zoomus/websdk/embedded** ’s functions (ZoomClient.join(), ZoomClient.createInstance()…)  
**IMAGE** : **https ://ibb.co/xXjDyXk**

**— Error that I get by doing this:**  
**IMAGE** : **https ://ibb.co/xXjDyXk**

* * *

In summary, I **replaced** the **SDK Key and SDK Secret** from **old** Zoom app (that was created on an old colleague account that I can’t log into) with **new Client ID and Client Secret from newly created General App**. After that, I **generate a JWT** **from these two (ID and Secret)** and **use** that **JWT** as a **signature** when **creating a ZoomClient using zoomus/websdk/embedded package**. And it doesn’t work.

* * *

- Is there some step that I’m missing?
- Also, I don’t know what should I do with this column (part that needs to be filled when creating a Zoom General App):  
**IMAGE** : **https ://ibb.co/6tNZfLJ**
- Should I download that SDK and somehow implement it into my React app?

As you can see, I’m very confused and lost. I read countless pages of documentation and tried multiple methods following GitHub samples and I feel like I didn’t learn nor accomplish anything.

I’m not allowed to include images or links in my post, so sorry for doing it this way 😅

---

<div class="post-metadata">

**Author:** ![PhasedConnect\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phasedconnect_dev/32/63135_2.png) [@PhasedConnect\_dev](https://devforum.zoom.us/u/PhasedConnect_dev)\
**Post date:** [August 26, 2024, 6:57am UTC](https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269/2 "2024-08-26T06:57:59Z")

</div>

Edit:  
**– ERROR THAT I GET BY DOING THIS:**  
https ://ibb.co/gSN0nZ7

Addition: I’m using Zoom Business account.  
Do I need to switch to Zoom Developer account?

And also, as I understood from additional reading of documentation, only **General App - Meeting SDK** is enough to enable a user to join meeting?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 26, 2024, 9:07pm UTC](https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269/3 "2024-08-26T21:07:06Z")

</div>

> [@PhasedConnect\_dev](#):
>
> **2.** Generate a JWT (signature) using Client ID and Client Secret from newly created app. I copy-pasted the method from this endpoint from [meetingsdk-auth-endpoint-sample] **(https ://github.com/zoom/meetingsdk-auth-endpoint-sample/blob/33c9f3c514df3dc2d642c0930c4e8fe2b196daee/src/index.js#L29)**.

Hi @PhasedConnect_dev , are you copy pasting into a different app or you’re using the sample app to create your secret?

> [@PhasedConnect\_dev](#):
>
> **4.** Try creating a meeting or joining a meeting using **@zoomus/websdk/embedded** ’s functions (ZoomClient.join(), ZoomClient.createInstance()…)  
> **IMAGE** : **https ://ibb.co/xXjDyXk**
> 
> **— Error that I get by doing this:**  
> **IMAGE** : **https ://ibb.co/xXjDyXk**

I cannot see these screenshots. Can you please re-paste the errors and confirm [this is the guidance you followed](https://developers.zoom.us/docs/meeting-sdk/web/component-view/import-sdk/#import-via-npm)?

---

<div class="post-metadata">

**Author:** ![PhasedConnect\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phasedconnect_dev/32/63135_2.png) [@PhasedConnect\_dev](https://devforum.zoom.us/u/PhasedConnect_dev)\
**Post date:** [August 27, 2024, 5:28am UTC](https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269/4 "2024-08-27T05:28:32Z")

</div>

> [@gianni.zoom](#):
>
> Hi @PhasedConnect_dev , are you copy pasting into a different app or you’re using the sample app to create your secret?

I’m copy pasting the code into my React app that has this JWT creation method implemented (literally copy pasted from the mentioned GitHub example).

I’m sorry for the inconvenience… When I was first posting this forum post I was not allowed to post links or pictures. And I can’t edit the post for some reason too. **Here are the photos:**

> [@PhasedConnect\_dev](#):
>
> **4.** Try creating a meeting or joining a meeting using **@zoomus/websdk/embedded** ’s functions (ZoomClient.join(), ZoomClient.createInstance()…)  
> **IMAGE** : **https ://ibb.co/xXjDyXk**

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/4/44e35d2b1e9064334c8e8e5714410907aa15e148.jpeg)

> [@PhasedConnect\_dev](#):
>
> **— Error that I get by doing this:**  
> **IMAGE** : **https ://ibb.co/xXjDyXk**

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/6/f61d9971f7976a4877f57c0835fe127956ed70bc.png)

> [@PhasedConnect\_dev](#):
>
> Also, I don’t know what should I do with this column (part that needs to be filled when creating a Zoom General App):  
> **IMAGE** : **https ://ibb.co/6tNZfLJ**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/0/902f0c8124eed81bff32ae7875270aed24c4f854.jpeg)

> [@gianni.zoom](#):
>
> Can you please re-paste the errors and confirm [this is the guidance you followed](https://developers.zoom.us/docs/meeting-sdk/web/component-view/import-sdk/#import-via-npm)?

Yes, I followed the guidance.

---

<div class="post-metadata">

**Author:** ![PhasedConnect\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phasedconnect_dev/32/63135_2.png) [@PhasedConnect\_dev](https://devforum.zoom.us/u/PhasedConnect_dev)\
**Post date:** [August 28, 2024, 5:40am UTC](https://devforum.zoom.us/t/migrating-from-old-sdk-to-new-general-app-meeting-sdk-web-embed/116269/5 "2024-08-28T05:40:05Z")

</div>

Solved this issue in [Joining meeting with Meeting SDK (JWT created with Client ID and Secret) - 'JOIN\_MEETING\_FAILED' - #9 by PhasedConnect\_dev](https://devforum.zoom.us/t/joining-meeting-with-meeting-sdk-jwt-created-with-client-id-and-secret-join-meeting-failed/116420/9)
