# JSMedia sdk is not defined in Nextjs

**URL:** <https://devforum.zoom.us/t/jsmedia-sdk-is-not-defined-in-nextjs/98486>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [November 16, 2023, 1:02pm UTC](https://devforum.zoom.us/t/jsmedia-sdk-is-not-defined-in-nextjs/98486 "2023-11-16T13:02:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akila](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/akila/32/53949_2.png) [@akila](https://devforum.zoom.us/u/akila)\
**Post date:** [November 16, 2023, 1:02pm UTC](https://devforum.zoom.us/t/jsmedia-sdk-is-not-defined-in-nextjs/98486/1 "2023-11-16T13:02:58Z")

</div>

Description  
I have successfully integrated Video SDK in our react js application. I am be join multiple participant with their roles. but sometimes it keep getting error when joining/creating the session. There are two errors below. Do I miss anything ?

Screenshots  
1 of 1 unhandled error  
Unhandled Runtime Error  
ReferenceError: JsMediaSDK\_Instance is not defined  
Call Stack  
Qs.getPTZCapability  
node\_modules@zoom\videosdk\dist\index.umd.js (1:128428)  
L\_  
node\_modules@zoom\videosdk\dist\index.umd.js (1:308924)  
N\_  
node\_modules@zoom\videosdk\dist\index.umd.js (1:308724)  
node\_modules@zoom\videosdk\dist\index.umd.js (1:309621)  
eval  
t.eval [as project]  
node\_modules@zoom\videosdk\dist\index.umd.js (1:309913)  
t.\_next  
node\_modules@zoom\videosdk\dist\index.umd.js (1:43285)  
[t.next](http://t.next/)  
node\_modules@zoom\videosdk\dist\index.umd.js (1:5869)  
t.\_next  
node\_modules@zoom\videosdk\dist\index.umd.js (1:32203)  
[t.next](http://t.next/)  
node\_modules@zoom\videosdk\dist\index.umd.js (1:586

Device (please complete the following information):

- Browser: Chrome

**Additional context**  
Add any other context about the problem here.

---

<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:** [December 18, 2023, 3:37pm UTC](https://devforum.zoom.us/t/jsmedia-sdk-is-not-defined-in-nextjs/98486/3 "2023-12-18T15:37:12Z")

</div>

Closed on December 18, 2023, 3:37pm UTC

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