3034 Error when trying to join meeting as Attendee

Description
Getting 3034 undefined error while trying to join the meeting as an attendee. I using the web SDK component view with Angular front-end.

Browser Console Error
Unhandled Promise rejection: {type: ‘JOIN_MEETING_FAILED’, reason: undefined, errorCode: 3034} ; Zone: ; Task: null ; Value: {type: ‘JOIN_MEETING_FAILED’, reason: undefined, errorCode: 3034} undefined

Which Web Meeting SDK version?
2.3.0

Meeting SDK Code Snippets
import { ToastService } from ‘./…/…/…/shared/service/toast.service’;

import { Component, OnInit, Inject } from ‘@angular/core’;

import { HttpClient } from ‘@angular/common/http’;

import { DOCUMENT } from ‘@angular/common’;

import ZoomMtgEmbedded from ‘@zoomus/websdk/embedded’;

import { SessionInfo, ZoomError } from ‘src/app/shared/interface/interfaces’;

import { StorageService } from ‘src/app/shared/service/storage.service’;

import { Router } from ‘@angular/router’;

import { Location } from ‘@angular/common’;

@Component({

selector: ‘app-zoom’,

templateUrl: ‘./zoom.component.html’,

styleUrls: [’./zoom.component.css’]

})

export class ZoomComponent implements OnInit {

role = 1;

client = ZoomMtgEmbedded.createClient();

public loginName: string;

public logoUrl: string;

public dataLoaded: boolean;

public meetingSDKElement: any;

public meetingSDKChatElement: any;

constructor(public httpClient: HttpClient, @Inject(DOCUMENT) document, private storageService: StorageService, public router: Router,

private toast: ToastService,

private location: Location) {

}

ngOnInit(): void {

setTimeout(() => {

  this.loginName = this.storageService.getRole() === 'Student' ? this.storageService.getUser().fullName : this.storageService.getUser().organizationName;

  this.logoUrl = this.storageService.getUser().logoUrl;

  const data: SessionInfo = this.storageService.getZoomInfo();

  if (data) {

    this.meetingSDKElement = document.getElementById('meetingSDKElement');

    this.meetingSDKChatElement = document.getElementById('meetingSDKChatElement');

    this.client.init({

      debug: true,

      zoomAppRoot: this.meetingSDKElement,

      language: 'en-US',

      customize: {

        video: {

          isResizable: true,

          viewSizes: {

            default: {

              width: 1300,

              height: 700

            },

            ribbon: {

              width: 300,

              height: 700

            }

          },

          popper: {

            disableDraggable: false

          }

        }

        // chat: {

        //   popper:{

        //     disableDraggable: true,

        //     anchorElement: this.meetingSDKChatElement,

        //     placement: "top"

        //   }

        // }

      },

    }).catch(res => {

      debugger;

    });

    this.startMeeting(data);

  }

}, 1000);

}

public startMeeting(item: SessionInfo) {

const userName = this.storageService.getUser().zoomUserName;

const userEmail = this.storageService.getUser().email;

this.client.join({

  apiKey: item.zoomAPIKey,

  signature: item.zoomMeetingSignature,

  meetingNumber: item.zoomMeetingId.toString(),

  password: item.zoomMeetingPassword,

  userName: userName,

  userEmail: userEmail,

  tk: item.zoomTkValue,

  success: (success) => {

    console.log(success)

  },

  error: (error) => {

    console.log(error)

  }

}).catch((res: ZoomError) => {

  if (res.errorCode === 3008)

    this.toast.showError(res.reason);

  else if (res.errorCode === 3034) {

    //this.toast.showError(`This email ${userEmail} does not have zoom account. Please signup in zoom account and try again.`);

    //this.location.back();

  }

  else

    this.toast.showError(res.reason);

}

)

}

public async logout(): Promise {

this.storageService.clearLocalCache();

await this.router.navigate(['/login']);

}

}

Screenshots

Device (please complete the following information):

  • Device: Asus TUF Daash 15
  • OS: Windows 11
  • Browser: Chrome, Edge, Firefox
  • Browser Version Version 99.0.4844.84 (Official Build) (64-bit)

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