After updating zoom sdk 1.8.0 it's returning error code 3008

Description
we have 1.7.10 version is already running when we update zoom web sdk to 1.8.0 we are getting

Error

Code Sample
image

Hello I am working with react and I have the same problem

Hey @milena.schroeder, @nayanpipaliya35,

Please provide steps to reproduce the issue. :slight_smile:

Thanks,
Tommy

Thanks, I already found the solution with the latest version, the documentation is not so clear, but trying with several projects and versions I was giving it shape, at the moment I have the correct implementation, @nayanpipaliya35 f you need help you can contact me and I will gladly help you.

1 Like

Hey @milena.schroeder,

Happy to hear you got it working! :slight_smile: We have just made big improvements to our Web SDK docs, and appreciate any feedback!

Thanks,
Tommy

@milena.schroeder can you please help me in this I am still not getting working,
if you able to share some code it will be good for me

Hey @nayanpipaliya35,

Please provide steps to reproduce the issue so we have enough details to help. :slight_smile:

Thanks,
Tommy

    const { signature } = this.state;
    ZoomMtg.join({
      meetingNumber: meetConfig.meetingNumber,
      userName: meetConfig.userName,
      signature,
      apiKey: meetConfig.apiKey,
      userEmail: meetConfig.email,
      passWord: meetConfig.passWord,
      success() {
        selfInst.props.storeWarnUserOnPageLeave({
          stateUpdated: true,
          showPopupForSaveSetting: false,
          selectedLink: '',
        });
        selfInst.addFullScreenListener();
      },
      error(e) {
        console.log('Error while join meeting', e);
      },
    });
  };

  launchMeeting = () => {
    const { meetingNumber, eventUrl, user, zoomMeetingPassword, isFrom, exhibitorId } = this.props;
    const { firstName, lastName, email } = user || {};
    ZoomMtg.setZoomJSLib('https://source.zoom.us/1.8.1/lib', '/av');
    ZoomMtg.preLoadWasm();
    ZoomMtg.prepareJssdk();
    const meetConfig = {
      apiKey: ZOOM_API_KEY,
      meetingNumber,
      userName: firstName ? `${firstName} ${lastName}` : '',
      email,
      passWord: zoomMeetingPassword || '',
      leaveUrl: isFrom === 'booth' ? `/e/${eventUrl}/portal/expo/${exhibitorId}` : `/e/${eventUrl}/portal`,
      role: 0,
    };
    if (ZoomMtg.checkSystemRequirements()) {
      ZoomMtg.init({
        debug: true,
        leaveUrl: meetConfig.leaveUrl,
        isSupportAV: true,
        success() {
          isFrom === 'booth' && selfInst.props.callBack(true);
          selfInst.joinMeeting(meetConfig);
        },
        error(res) {
          console.log('Error while init Zoom meeting', res);
          isFrom === 'booth' && selfInst.props.callBack(false);
        },
      });
    }
  };

here is the full snippet of the zoomJsSdk implementation
reproduce step: call this method launchMeeting() function to reproduce the issue
let me know if I miss anything

Hey @nayanpipaliya35,

Can you try moving these lines outside of your launchMeeting function, towards the top of your code, after any import statements? This might be the issue.

Please give this a try and let me know how it goes!

Best,
Will