Client view zoom version 3.9.2 not working

Meeting SDK Type and Version
@zoom/meetingsdk 3.9.2

Description
Hello am facing the below error when trying to join the meeting
Screenshot 2024-10-25 at 5.46.29 PM|690x369

Error?
This log with sentence of ** tasks error ** appears while trying to join the meeting using client view in zoomSdk
here’s the way I use to integrate with zoom client view
`ZoomMtg.init({
leaveUrl:
process.env.REACT_APP_ENV === “production”
? “youtube/” : “google”,
isSupportAV: true,
patchJsMedia: true,
leaveOnPageUnload: true,
success: (success) => {

      ZoomMtg.join({
        tk: meetingData?.tk,
        sdkKey: meetingData?.sdk_key,
        signature: meetingData?.signature,
        meetingNumber: `${meetingData?.id}`,
        passWord: `${meetingData?.pwd}`,
        userName: `${localStorage.getItem("name")}`,
        userEmail: `${localStorage.getItem("email")}`,
        success: () => {
          console.log("inside class");
        },`

How To Reproduce
Browser/client google chrome

I resolved my problem, I had to remove the links of styles and scripts that were related to the old version, also, I changed the chaining mechanism after getting the signature to allow the join method to work properly

Thank you.

May i know which styles and link you remove ?I remove all styles and link also show this error

Sure,

I’ll share with u the snippet from my code

import { ZoomMtg } from "@zoom/meetingsdk";

only needed imports in your useEffect/useLayoutEffect method

    ZoomMtg.preLoadWasm();
    ZoomMtg.prepareWebSDK();
    ZoomMtg.i18n.load("en-US");
ZoomMtg.init({
      leaveUrl:
        process.env.REACT_APP_ENV === "production"
          ? "your prod env"
          : `the other environment`,
      isSupportAV: true,
      patchJsMedia: true,
      disableInvite: true, //if you'd like to disable invite from guests
      inviteUrlFormat: "",
      leaveOnPageUnload: true,
      success: (success) => {
        ZoomMtg.join({
          tk: data?.tk,
          sdkKey: data?.sdk_key,  //string
          signature: data?.signature,  //string
          meetingNumber: `${data?.id}`,
          passWord: data?.pwd, //incase of removing waiting room or password required
          userName: `name`,
          userEmail: `email`,
          success: () => {
            console.log("inside meeting");
          },
          error: (error) => {
            console.log(error);
            alert("Something went wrong!!!");
          },
        });
      },
      error: (error) => {
        console.log(error);
        alert("Something went wrong!!!");
      },
    });

@jo.yj.liao please let me know if the approach worked properly with you, or if u still need help

Thanks for you help, but its not work for me, still have this problem event i upgrade to the latest version

Hello again @jo.yj.liao , I’ve been checking the code that u provided on your other ticket.
It seems to me like you are missing to add the isSupportAV: true, property also please try to convert ur meetingID into string like what I did
Hopefully it’ll work with u this time

Thanks for your enthusiastic support, I’ve added the code since you gave it, but it’s not working

@jo.yj.liao If you’d like u can share the full code snippet with me maybe there’s sth we can conclude from it

Found that disabling two simultaneous calls to init when initializing zoom solves the bug