# WebSDK CORS Error using demo

**URL:** <https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043>\
**Category:** Web\
**Created:** [March 19, 2020, 11:08pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043 "2020-03-19T23:08:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![edgarrt](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@edgarrt](https://devforum.zoom.us/u/edgarrt)\
**Post date:** [March 19, 2020, 11:08pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/1 "2020-03-19T23:08:57Z")

</div>

**Description**  
Hello, i just downloades webapp example from: [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web) but i had a problem to join a meeting.

**Error**  
Got this cors error

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Download resources from github
2. npm install
3. update key and secret
4. npm run start
5. web loaded succesfully
6. entered name and meeting number

**Screenshots**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/6ffae571e83bd7afcaaa2a8e846e340ef5f5b234.png)

**Web Browsers (please complete the following information):**

- Versión 80.0.3987.149 (Build oficial) (64 bits)
- Microsoft edge

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 20, 2020, 12:10am UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/2 "2020-03-20T00:10:38Z")

</div>

Hey @edgarrt, thanks for posting and using Zoom!

Are you able to join the meeting regardless of that warning log?

Please send a screenshot of any Web SDK popup errors.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![edgarrt](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@edgarrt](https://devforum.zoom.us/u/edgarrt)\
**Post date:** [March 20, 2020, 12:47am UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/3 "2020-03-20T00:47:28Z")

</div>

Hello tommy,  
i got this error:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5f1931f061952d98c22fe35e522a8c8890f50b3a.png)

I not able to join the meeting, btw the meeting id exists.

---

<div class="post-metadata">

**Author:** ![edgarrt](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@edgarrt](https://devforum.zoom.us/u/edgarrt)\
**Post date:** [March 20, 2020, 1:00am UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/4 "2020-03-20T01:00:51Z")

</div>

using this sdk i will be able to build my own website with video calls? or i have to embed any zoom frame?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 20, 2020, 4:08pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/5 "2020-03-20T16:08:13Z")

</div>

Hey @edgarrt, thanks for the info.

Also make sure you are using a [JWT App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) for the credentials.

> [@edgarrt](#):
>
> using this sdk i will be able to build my own website with video calls? or i have to embed any zoom frame?

Correct, you will be able to have Zoom meetings in your website with the Web SDK.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![edgarrt](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@edgarrt](https://devforum.zoom.us/u/edgarrt)\
**Post date:** [March 20, 2020, 5:14pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/6 "2020-03-20T17:14:21Z")

</div>

> [@tommy](#):
>
> credentials

Hello Tommy, thanks for answering.  
Using key and secret jwt type works, i got cors error but i could join meeting room. Yesterday i tried to join using key and secret sdk type.  
What is the differences and in which cases uses one or another? I thought that when using the sdk i should use sdk type credentials

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [March 20, 2020, 6:15pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/7 "2020-03-20T18:15:50Z")

</div>

Hi @edgarrt,

At a high level. the WebSDK is a little different from the other SDKs, since it uses our backend API. Since it uses our backend API, we need to use the API Key secret instead of the SDK Key secret.

Hope this helps

Thanks

---

<div class="post-metadata">

**Author:** ![edgarrt](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@edgarrt](https://devforum.zoom.us/u/edgarrt)\
**Post date:** [March 25, 2020, 7:59pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/8 "2020-03-25T19:59:48Z")

</div>

Thax Michael,  
what is the maximum resolution of the video for webSDK? using a pro account, could it get better?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 25, 2020, 8:10pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/9 "2020-03-25T20:10:17Z")

</div>

Hey @edgarrt,

Currently the max resolution as stated in our [docs](https://marketplace.zoom.us/docs/sdk/native-sdks/web) is 360p.

“Currently, the Zoom Web SDK encodes at a maximum resolution of 360p. If a user is in a meeting with both native and browser clients, the browser client video displayed within the native client will be of lower quality due to encoding limitations.”

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:34pm UTC](https://devforum.zoom.us/t/websdk-cors-error-using-demo/9043/10 "2020-08-21T19:34:21Z")

</div>

Closed on August 21, 2020, 7:34pm UTC


