NextJS + video sdk: Uncaught ReferenceError: JsMediaSDK_Instance is not defined

Hey Guys,
I’m trying to give video SDK a shot, however, when I try to join, I get the following two errors:

  1. index.umd.js?a087:1 Uncaught ReferenceError: JsMediaSDK_Instance is not defined
  2. index.umd.js?a087:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘userRole’)

And here is how I init:
await client.init(“en-US”, “CDN”, {
webEndpoint: “”,
stayAwake: true,

    await client

Any thoughts?
I’m using Next JS.

HI @ha.hassanzadeh ,

Thank you for your post here in the forum. This issue is currently being looked into, and I will reach back out when an update is available


Thanks do you have an estimate for when I will hear an update on that?

Hi @ha.hassanzadeh ,

How did you import the SDK into your file? If you a screenshot of the code snippet, that would be helpful, as well.


I tried two ways, both leading to the same result,

  1. Regular import: import ZoomVideo from “@zoom/videosdk”;
  2. Import inside sideEffect : const {default: ZoomVideo} = await import (" @zoom/videosdk")

Calling initialization and join is shown above.

@ha.hassanzadeh ,
Got it. Have you also created your client (ZoomVideo.createClient() ) before calling .init?

Yes, without the client object how can I call client.init or client.join?