# ZoomMtg.prepareJssdk() gives 2 SyntaxErrors and 2 warnings

**URL:** <https://devforum.zoom.us/t/zoommtg-preparejssdk-gives-2-syntaxerrors-and-2-warnings/34401>\
**Category:** Web\
**Created:** [October 27, 2020, 9:16am UTC](https://devforum.zoom.us/t/zoommtg-preparejssdk-gives-2-syntaxerrors-and-2-warnings/34401 "2020-10-27T09:16:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![vijay.singh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vijay.singh/32/9055_2.png) [@vijay.singh](https://devforum.zoom.us/u/vijay.singh)\
**Post date:** [October 30, 2020, 5:12am UTC](https://devforum.zoom.us/t/zoommtg-preparejssdk-gives-2-syntaxerrors-and-2-warnings/34401/3 "2020-10-30T05:12:17Z")

</div>

Hey @tommy I tried what you said and placed all the 3 lines of my code to the top of the file but still I don’t see any resolution of error.

```
ZoomMtg.setZoomJSLib('http://localhost:3000/node_modules/@zoomus/websdk/dist/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

```

Moreover when I am starting a Zoom call then below errors I get in console of my Firefox browser.

 ![JSMediaError](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/0/30333aff7851272b76c512cdabbf3ff8d6f27df7.png)

And in my Chrome browser below error I get when starting a Zoom call.

 ![JsMediaErrorChrom](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/d/9de0d58c839c97102fe8f5092ebed2741e94067c.png)

I believe(very much sure) this issue is caused due to CORB policy when the code `ZoomMtg.prepareJssdk()` runs. 2 days before it was working great with no warnings and errors in my console. I have already posted a question regarding that CORB warning here:

> [@Setting Zoom JS libraries in React shows CORB warnings](https://devforum.zoom.us/t/setting-zoom-js-libraries-in-react-shows-corb-warnings/34273):
>
> Description I am using Web SDK in my React application. Followed every step of this below project When I am loading ZoomJS Library by ZoomMtg.setZoomJSLib('http://localhost:3000/node\_modules/@zoomus/websdk/dist/lib', '/av') I am getting CORB warnings in my browser console recently. Earlier no such warnings were thrown by the browser. Edit: I am getting errors on starting a Zoom meeting call whom screenshots I have attached in this. Error Two warnings are thrown: zoomus-websdk.umd.min.js…

---

_[View the full topic](https://devforum.zoom.us/t/zoommtg-preparejssdk-gives-2-syntaxerrors-and-2-warnings/34401)._
