Success & Error callbacks don't run in .join()

Description
My success & error callbacks don’t run in the .join() function. The functionality of my Web SDK actually works okay - so i can join meetings without an issue. But i want to be able to add custom functions in the error callback and success callbacks. They just don’t seem to run at all.

This is a component view, meeting webSDK.

Which Web Meeting SDK version?
2.0.1

Meeting SDK Code Snippets


    var role = 0,
        meetingNumber = $('.meeting-parameters').data('zoom-meeting-number'),
        signature = $('.meeting-parameters').data('zoom-signature'),
        apiKey = 'Ek7URQMjQBGTTPUbE93kgw';
        
    $('button[name="zoom_join"]').click(function(){

      // Check if name field has value
      var zoomName = $('input[name="zoom_name"]').val();
      var zoomPassword = $('input[name="zoom_password"]').val();
      if (zoomName) {
        let meetingSDKElement = document.getElementById('meetingSDKElement');
        client.init({
          debug: true,
          zoomAppRoot: meetingSDKElement,
          language: 'en-US',
          customize: {
            meetingInfo: ['topic', 'host', 'mn', 'pwd', 'telPwd', 'invite', 'participant', 'dc', 'enctype'],
          }
        });
        client.join({
          apiKey: apiKey,
          signature: signature,
          meetingNumber: meetingNumber,
          password: zoomPassword,
          userName: zoomName,
          success: (success) => {
              console.log('success');
          },
          error: (error) => {
              console.log(error);
          }
        });
        client.muteAll({
          muteAll: true,
        })

        $('.zoom-dialog-name').hide();
        $('.zoom-dialog-joining').fadeIn('fast');

        setTimeout(function () {
          $('.zoom-credentials').hide();
          $('.zoom-meeting').show();

          $('.react-draggable').removeClass('react-draggable').addClass('h-full w-full');
          $('.drag-video').removeClass('drag-video');

        }, 3000);

      } else {
        alert('Please enter a name')
      }

    });

Device (please complete the following information):

  • Device: Macbook Pro
  • OS: Big Sur
  • Browser: Chrome / Any
  • Browser Version: Chrome 98 on macOS (Big Sur)

I’m seeing the same behavior, have you found a solution for it?