Joining Fail with Error Code 1

Joining Fail as follows, followed the steps given at url https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/integrate-the-sdk & getting following thing

{method: “join”, status: false, errorCode: 1, errorMessage: “The account don’t enable API.”, result: null}

Have zoom account as Basic, JWT created, & using api key & secret in index.js file.

Hi @abdulumar.khan,

Welcome to the Zoom Developer Community.

Thank you for reaching out to Zoom Developer Support.

Please make sure that within your Zoom portal under Role management -> Role Settings -> Zoom for Developers are selected and have that members for your account have that as a role.

Role Management

Zoom For Developers

Also, you need to make sure that you have an account with Pro or an above plan or a Free Trial.

Our Free trials are handled by the ISV team. You can contact them at isv@zoom.us.

Thanks,
Ojus

Hi @ojus.zoom,

I am getting the same error with a Pro account. Is it possible that it takes some time for changes to propagate?

Thanks,
Sam

Hey @consultaredev, thanks for posting and using Zoom!

Can you please provide the error message in the browser console?

Also make sure you are trying to join a valid meeting id.

Thanks,
Tommy

Hey @tommy,

Thanks! I realized that using a “random” meeting ID may be the issue, but I also tried joining a meeting that I created through zoom.us… I still may be needing to create a meeting through the API, which may need to be done server side?

I am getting this error

Thanks,
Sam

Hey @consultaredev,

You should be able to create the meeting on the Zoom Web Portal or the API.

Are you using JWT App Type credentials for the Api key and secret?

Also if you could share your code, I can help debug further.

Thanks,
Tommy

Hi @tommy,

Switched to using JWT Credentials and implemented this line:

ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib', '/av')

Success!!

Thanks,
Sam

1 Like

Hey @consultaredev,

Happy to hear it’s working now! :slight_smile:

Thanks,
Tommy

Hi,
Thank You for good services
I have the same problem.

Now I do not see a plan for free trial testing. (Maybe this is old information?)
I want to know if I can use the web SDK with the Basic or Education test plan?
I tested on App Web
I would like to test before paying.

Hey @aivazian.var, thanks for posting and using Zoom!

You can request a free trail here: isv@zoom.us to test the web sdk.

Thanks,
Tommy

Thanks for the response
Does web SDK works in case of Education test plan?

Hi @aivazian.var,

Yes the WebSDK works for Education plans.

Thanks

Hello @tommy
iam trying to test zoom sdk using angular i follow your steps in this post

and i get the same error of joining fail
i use jwt app type credentials
but i didn’t subscribe for plan i just need to test it first
my component.ts
ZoomMtg.setZoomJSLib(‘https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib’, ‘/av’)

ZoomMtg.preLoadWasm();

ZoomMtg.prepareJssdk();

@Component({

selector: ‘app-video-chat’,

templateUrl: ‘./video-chat.component.html’,

styleUrls: [‘./video-chat.component.css’]

})

export class VideoChatComponent implements OnInit {

meetConfig = {

apiKey: 'jwt_app_api_key',

apiSecret: 'jwt_app_api_secret',

meetingNumber: 1111111111,

userName: 'Angular',

passWord: "",

leaveUrl: "http://localhost:4200",

role: 0

};

signature = ZoomMtg.generateSignature({

meetingNumber: this.meetConfig.meetingNumber,

apiKey: this.meetConfig.apiKey,

apiSecret: this.meetConfig.apiSecret,

role: this.meetConfig.role,

success: function(res){

  console.log(res.result);

}

});

constructor() {

}

ngOnInit() {

ZoomMtg.init({

  leaveUrl: 'http://localhost:4200',

  isSupportAV: true,

  success: (res) => {

    ZoomMtg.join({

      meetingNumber: this.meetConfig.meetingNumber,

      userName: this.meetConfig.userName,

      signature: this.signature,

      apiKey: this.meetConfig.apiKey,

      userEmail: 'myemailaddress',

      passWord: this.meetConfig.passWord,

      success: (res) => {

        console.log('join meeting success');

      },

      error: (res) => {

        console.log(res);

      }

    });

  },

  error: (res) => {

    console.log(res);

  }

});

}

also adding jquery url in index.html

Hey @mohamed.desoky,

Checkout the Zoom Angular Web SDK sample app:

You will need a Pro or above plan to make it work. You can request a free trial here: isv@zoom.us

Thanks,
Tommy

thanks @tommy for your response
i get my point and the problem is i need to add real meeting id
and from this i found that i need to initiate meeting first and other join it from
Angular app is their exist any way to make meeting initiated from angular app and other users in this app join this meeting scenario will be like
user click button in angular open meeting and other user in the other side click button join this meeting i didn’t need to invite as after searching i found that their is no end point for invitation i just need both users click button on the same time and join meeting

Hey @mohamed.desoky,

Are you saying you are wanting to create the meeting programmatically before joining it with the Web SDK?

You could also just use an instant meeting number in the Angular Web SDK so that you don’t have to create a meeting everytime.

Thanks,
Tommy

i m facing below error:
{method: “join”, status: false, errorCode: 1, errorMessage: “joining fail”, result: null}

react-dom.min.js:17 Uncaught TypeError: f.e.close is not a function
at zoom-meeting-1.7.2.min.js:2
at redux-thunk.min.js:1
at dispatch (redux.min.js:1)
at zoom-meeting-1.7.2.min.js:2
at redux-thunk.min.js:1
at redux.min.js:1
at onCancel (zoom-meeting-1.7.2.min.js:2)
at k (zoom-meeting-1.7.2.min.js:2)
at _ (zoom-meeting-1.7.2.min.js:2)
at Object.sh (react-dom.min.js:164)

please help me to fix this issue
note: i m using JWT api keys

Hey @vikasphp.shinedezign, thanks for posting and using Zoom!

Please make sure you are using JWT App credentials for your API Key and Secret, and that you are joining a real meeting number.

Thanks,
Tommy

Hi sir,

JWT app credentials… I cross-checked them and also I have purchased the pro plan too.

can you provide me working js code if possible?

Thanks & Regards

Hey @vikasphp.shinedezign,

What is the meeting ID you are using?

You can see working JS code here:

Thanks,
Tommy