# ReferenceError: JsMediaSDK\_Instance is not defined

**URL:** <https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467>\
**Category:** Web\
**Created:** [July 7, 2020, 7:20pm UTC](https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467 "2020-07-07T19:20:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmogollon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pmogollon/32/15868_2.png) [@pmogollon](https://devforum.zoom.us/u/pmogollon)\
**Post date:** [July 7, 2020, 7:20pm UTC](https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467/1 "2020-07-07T19:20:08Z")

</div>

**Description**  
Issue on init or join in WebSDK, we get the error that is in the stack attached bellow. We have added 5s timeouts and still having this issue. Is not always, very weird.

See the following first part of the error stack and console log. SDK has created JSMEDIASDK instance but then JsMediaSDK\_Instance is not defined.

**Error**  
-\>\>\>\>\>\>\>\> CREATE JSMEDIASKD INSTANCE \<\<\<\<\<\<\<\<  
react-dom.min.js:117 ReferenceError: JsMediaSDK\_Instance is not defined

**Which version?**  
v1.7.8

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:  
Not sure as we havent found a way to consistently reproduce it.

**Screenshots**

 ![Screen Shot 2020-07-07 at 2.17.04 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/0209be1492a0e48f16ef62c05dabdc5965139cff.png)

**Smartphone (please complete the following information):**  
Chrome Version 83.0.4103.116 (Official Build) (64-bit)

**Additional context**

```javascript
>>>>>>>> CREATE JSMEDIASKD INSTANCE <<<<<<<<
react-dom.min.js:117 ReferenceError: JsMediaSDK_Instance is not defined
    at new e (zoom-meeting-1.7.8.min.js:2)
    at E.value (zoom-meeting-1.7.8.min.js:2)
    at E.value (zoom-meeting-1.7.8.min.js:2)
    at qi (react-dom.min.js:130)
    at ui (react-dom.min.js:133)
    at react-dom.min.js:158
    at unstable_runWithPriority (react.min.js:27)
    at Vc (react-dom.min.js:158)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
Bg @ react-dom.min.js:117
c.callback @ react-dom.min.js:126
Ag @ react-dom.min.js:116
zg @ react-dom.min.js:116
qi @ react-dom.min.js:131
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.7.8.min.js:2
t.notifyNestedSubs @ zoom-meeting-1.7.8.min.js:2
n.notifySubscribers @ zoom-meeting-1.7.8.min.js:2
t.handleChangeWrapper @ zoom-meeting-1.7.8.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
dispatch @ redux.min.js:1
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
y @ zoom-meeting-1.7.8.min.js:2
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
i @ jquery.min.js:2
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
load (async)
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
each @ jquery.min.js:2
each @ jquery.min.js:2
Ae @ jquery.min.js:2
on @ jquery.min.js:2
send @ jquery.min.js:2
ajax @ jquery.min.js:2
d @ zoom-meeting-1.7.8.min.js:2
O @ zoom-meeting-1.7.8.min.js:2
join @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:50
setTimeout (async)
success @ zoom.js:49
F @ zoom-meeting-1.7.8.min.js:2
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
init @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:27
setTimeout (async)
(anonymous) @ zoom.js:12
(anonymous) @ zoom.js:85
react-dom.min.js:117 TypeError: h.a.getCanvasInfo is not a function
    at f.adjustActiveVideo (zoom-meeting-1.7.8.min.js:2)
    at f.onWindowResize (zoom-meeting-1.7.8.min.js:2)
    at f.value (zoom-meeting-1.7.8.min.js:2)
    at qi (react-dom.min.js:130)
    at ui (react-dom.min.js:133)
    at react-dom.min.js:158
    at unstable_runWithPriority (react.min.js:27)
    at Vc (react-dom.min.js:158)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
Bg @ react-dom.min.js:117
c.callback @ react-dom.min.js:126
Ag @ react-dom.min.js:116
zg @ react-dom.min.js:116
qi @ react-dom.min.js:131
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.7.8.min.js:2
t.notifyNestedSubs @ zoom-meeting-1.7.8.min.js:2
n.notifySubscribers @ zoom-meeting-1.7.8.min.js:2
t.handleChangeWrapper @ zoom-meeting-1.7.8.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
dispatch @ redux.min.js:1
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
y @ zoom-meeting-1.7.8.min.js:2
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
i @ jquery.min.js:2
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
load (async)
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
each @ jquery.min.js:2
each @ jquery.min.js:2
Ae @ jquery.min.js:2
on @ jquery.min.js:2
send @ jquery.min.js:2
ajax @ jquery.min.js:2
d @ zoom-meeting-1.7.8.min.js:2
O @ zoom-meeting-1.7.8.min.js:2
join @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:50
setTimeout (async)
success @ zoom.js:49
F @ zoom-meeting-1.7.8.min.js:2
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
init @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:27
setTimeout (async)
(anonymous) @ zoom.js:12
(anonymous) @ zoom.js:85
react-dom.min.js:117 TypeError: R.sendSocket is not a function
    at E.value (zoom-meeting-1.7.8.min.js:2)
    at Dg (react-dom.min.js:119)
    at Eg (react-dom.min.js:123)
    at ni (react-dom.min.js:128)
    at ui (react-dom.min.js:133)
    at react-dom.min.js:158
    at unstable_runWithPriority (react.min.js:27)
    at Vc (react-dom.min.js:158)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
Bg @ react-dom.min.js:117
c.callback @ react-dom.min.js:126
Ag @ react-dom.min.js:116
zg @ react-dom.min.js:116
qi @ react-dom.min.js:131
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.7.8.min.js:2
t.notifyNestedSubs @ zoom-meeting-1.7.8.min.js:2
n.notifySubscribers @ zoom-meeting-1.7.8.min.js:2
t.handleChangeWrapper @ zoom-meeting-1.7.8.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
dispatch @ redux.min.js:1
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
y @ zoom-meeting-1.7.8.min.js:2
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
i @ jquery.min.js:2
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
load (async)
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
each @ jquery.min.js:2
each @ jquery.min.js:2
Ae @ jquery.min.js:2
on @ jquery.min.js:2
send @ jquery.min.js:2
ajax @ jquery.min.js:2
d @ zoom-meeting-1.7.8.min.js:2
O @ zoom-meeting-1.7.8.min.js:2
join @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:50
setTimeout (async)
success @ zoom.js:49
F @ zoom-meeting-1.7.8.min.js:2
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
init @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:27
setTimeout (async)
(anonymous) @ zoom.js:12
(anonymous) @ zoom.js:85
react-dom.min.js:157 Uncaught ReferenceError: JsMediaSDK_Instance is not defined
    at new e (zoom-meeting-1.7.8.min.js:2)
    at E.value (zoom-meeting-1.7.8.min.js:2)
    at E.value (zoom-meeting-1.7.8.min.js:2)
    at qi (react-dom.min.js:130)
    at ui (react-dom.min.js:133)
    at react-dom.min.js:158
    at unstable_runWithPriority (react.min.js:27)
    at Vc (react-dom.min.js:158)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
e @ zoom-meeting-1.7.8.min.js:2
value @ zoom-meeting-1.7.8.min.js:2
value @ zoom-meeting-1.7.8.min.js:2
qi @ react-dom.min.js:130
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.7.8.min.js:2
t.notifyNestedSubs @ zoom-meeting-1.7.8.min.js:2
n.notifySubscribers @ zoom-meeting-1.7.8.min.js:2
t.handleChangeWrapper @ zoom-meeting-1.7.8.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
dispatch @ redux.min.js:1
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
y @ zoom-meeting-1.7.8.min.js:2
success @ zoom-meeting-1.7.8.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
i @ jquery.min.js:2
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
load (async)
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
each @ jquery.min.js:2
each @ jquery.min.js:2
Ae @ jquery.min.js:2
on @ jquery.min.js:2
send @ jquery.min.js:2
ajax @ jquery.min.js:2
d @ zoom-meeting-1.7.8.min.js:2
O @ zoom-meeting-1.7.8.min.js:2
join @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:50
setTimeout (async)
success @ zoom.js:49
F @ zoom-meeting-1.7.8.min.js:2
value @ zoom-meeting-1.7.8.min.js:2
b @ zoom-meeting-1.7.8.min.js:2
init @ zoom-meeting-1.7.8.min.js:2
(anonymous) @ zoom.js:27
setTimeout (async)
(anonymous) @ zoom.js:12
(anonymous) @ zoom.js:85
zoom-meeting-1.7.8.min.js:2 Uncaught TypeError: g.a.connectSocket is not a function
    at se (zoom-meeting-1.7.8.min.js:2)
    at V (zoom-meeting-1.7.8.min.js:2)
    at zoom-meeting-1.7.8.min.js:2
    at redux-thunk.min.js:1
    at onTick (zoom-meeting-1.7.8.min.js:2)
    at zoom-meeting-1.7.8.min.js:2
    at Map.forEach (<anonymous>)
    at zoom-meeting-1.7.8.min.js:2

```

---

<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:** [July 8, 2020, 9:05pm UTC](https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467/2 "2020-07-08T21:05:09Z")

</div>

Hey @pmogollon,

What percentage of times is this error happening?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![pmogollon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pmogollon/32/15868_2.png) [@pmogollon](https://devforum.zoom.us/u/pmogollon)\
**Post date:** [July 9, 2020, 2:52am UTC](https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467/3 "2020-07-09T02:52:57Z")

</div>

I dont hace a percentage, is not even consistent. Happens sometimes and after clearing cache it may stop appearing, but sometimes it doesnt. It happens on calling init.

Probably is already fixed in 1.7.9, but I cant test with it right now because of captcha.

---

<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:** [July 13, 2020, 4:29pm UTC](https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467/4 "2020-07-13T16:29:04Z")

</div>

Thanks for the info @pmogollon,

If you haven’t already, you can request the recaptcha be turned off for your account by filling out this form:

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, 10:40pm UTC](https://devforum.zoom.us/t/referenceerror-jsmediasdk-instance-is-not-defined/23467/5 "2020-08-21T22:40:09Z")

</div>


