# Setting Zoom JS libraries in React shows CORB warnings

**URL:** <https://devforum.zoom.us/t/setting-zoom-js-libraries-in-react-shows-corb-warnings/34273>\
**Category:** Web\
**Created:** [October 26, 2020, 9:19am UTC](https://devforum.zoom.us/t/setting-zoom-js-libraries-in-react-shows-corb-warnings/34273 "2020-10-26T09:19:14Z")\
**Posts on this page:** 3\
**Page:** 1

<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 26, 2020, 9:19am UTC](https://devforum.zoom.us/t/setting-zoom-js-libraries-in-react-shows-corb-warnings/34273/1 "2020-10-26T09:19:14Z")

</div>

**Description**  
I am using Web SDK in my React application. Followed every step of this below project

> **[michaeldharrington/react-zoomus-websdk](https://github.com/michaeldharrington/react-zoomus-websdk)**
>
> Development testing app for launching @zoomus/websdk

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:

1. zoomus-websdk.umd.min.js:2 Cross-Origin Read Blocking (CORB) blocked cross-origin response [http://localhost:3000/node\_modules/@zoomus/websdk/dist/lib/webim.min.js](http://localhost:3000/node_modules/@zoomus/websdk/dist/lib/webim.min.js) with MIME type text/html. See [Cross-Origin Read Blocking (CORB) - Chrome Platform Status](https://www.chromestatus.com/feature/5629709824032768) for more details.

2. zoomus-websdk.umd.min.js:2 Cross-Origin Read Blocking (CORB) blocked cross-origin response [http://localhost:3000/node\_modules/@zoomus/websdk/dist/lib/av/5510\_js\_media.min.js](http://localhost:3000/node_modules/@zoomus/websdk/dist/lib/av/5510_js_media.min.js) with MIME type text/html. See [Cross-Origin Read Blocking (CORB) - Chrome Platform Status](https://www.chromestatus.com/feature/5629709824032768) for more details.

Multiple errors I am getting in my browser console when I am trying to do Zoom.init.

**Which version?**  
1.7.10

**Screenshots**  
 ![warnings](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/e/6e637f86689598d61c9643f1586ac182bfd58a14.png)

In Firefox Browser below warnings are being shown:  
 ![FirefoxZoomWarninfg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/7/b75f779f4c40ef1ef7c1b8717679317a0d2291ec.png)

Below errors I am getting during the initialization of the Zoom meeting. I believe these errors are related to the issue of CORB policy because I didn’t get them before.

 ![ZoomError1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/f/1fae668f2e95428801ff03bdba9320ff66db47e2.png)

 ![ZoomError2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/2/323228314a8471f3415c33e843f631c436c8bff2.png)

 ![ZoomError3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/0/5088719baac3b68142f0ec2f53e3519c734e23e6.png)

**My Zoom Component**

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

```

The below code will be called when user clicks start zoom meeting button and `resp.data.signature`  
is the generated Zoom signature from my backend in Django server.

```
       ZoomMtg.init({
              leaveUrl: 'http://localhost:8000/dashboard',
              disableRecord: false,
              videoDrag: true,
              sharingMode: 'both',
              success: () => {
                console.log('Sucess');
                ZoomMtg.join(
                  {
                    meetingNumber: '',
                    userName: '',
                    signature: resp.data.signature,
                    apiKey: process.env.REACT_APP_ZOOM_API_KEY,
                    passWord: '',
                    success: (res) => {
                      console.log('join meeting success:', res);
                    },
                    error: (res) => {
                      console.log('Error point 1 in join:', res);
                    }
                  }
                );
              },
              error: (res) => {
                console.log('Error point 2 in init:', res);
              }
            });
```

---

<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:** [October 27, 2020, 5:39pm UTC](https://devforum.zoom.us/t/setting-zoom-js-libraries-in-react-shows-corb-warnings/34273/2 "2020-10-27T17:39:45Z")

</div>

Hey @vijay.singh, sorry to hear you are having trouble.

@michael.zoom can you chime in here? 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 27, 2020, 3:39am UTC](https://devforum.zoom.us/t/setting-zoom-js-libraries-in-react-shows-corb-warnings/34273/3 "2020-11-27T03:39:46Z")

</div>

Closed on November 27, 2020, 3:39am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
