Problem updating form web sdk 2.1.1 to the latest version

I try to update from webSDK 2.1.1 to webSDK 2.9.0.
when i user 2.9.0 i get this error
Joining meeting timeout

Error Code: 3

USing JWT app (it will be deprecated in june 2023)

var TYPE = ‘<%$_GET[“type”]%>’;
var ROLE = ‘<%$_GET[“role”]%>’;
var LOGIN = ‘<%$_GET[“login”]%>’;
var API_KEY = ‘<%$_GET[“api_key”]%>’;
var API_SECRET = ‘<%$_GET[“api_secret”]%>’;
var MEETING_NUMBER = ‘<%$_GET[“meeting_number”]%>’;
var MEETING_PASSWORD = ‘<%$_GET[“meeting_password”]%>’;
var SESSION_ID = ‘<%$_GET[“s_id”]%>’;

var signature = ZoomMtg.generateSignature({
meetingNumber: meetConfig.meetingNumber,
apiKey: meetConfig.apiKey,
apiSecret: meetConfig.apiSecret,
// passWord: meetConfig.passWord,
role: meetConfig.role,
success: function(res){
console.log(res.result);
}
});

ZoomMtg.join(
{
userName: meetConfig.userName,
meetingNumber: meetConfig.meetingNumber,
signature: signature,
apiKey: meetConfig.apiKey,
passWord: MEETING_PASSWORD,
success: function(res){
$(‘#nav-tool’).hide();
console.log(‘join meeting success’);
},
error: function(res) {
console.log(res);
}
}
);

i urgently need solution, please thank you

web sdk 2.6.0 ist the last version, where you can use the deprecated JWT App

for 2.70 and newer you have to migrate to the Meetring SDK App

Hi, please change apiKey: to sdkKey: and apiSecret: to sdkSecret: like :point_down:

var signature = ZoomMtg.generateSDKSignature({
meetingNumber: meetConfig.meetingNumber,
sdkKey: meetConfig.sdkKey,
sdkSecret: meetConfig.sdkSecret,
// passWord: meetConfig.passWord,
role: meetConfig.role,
success: function(res){
console.log(res.result);
}
});

And please get SDK App credentials (sdkKey and sdkSecret) from your Meeting SDK App.

Thank You jurgen… Now JWT app is not showing warning when using web sdk 2.6.0. i have one more query. Can we use jwt app with 2.6.0 till june( until jwt is deprecated). or we have to update to OAuth or service to service OAuth before This happen → SDK Reminder: Minimum SDK Enforcement quarterly update on February 4, 2023.

I really Appreciate the feedback. thanks

Hello. I did that and i am getting error
Signatur invalid. Can you please direct me to a solution where i can migrate to SDK App and create meeting using ZoomMtg like the way in the JWT app.
Thanks

@gauravdev Hope you will be fine.

First, you need to upgrade the node package to WebSDK (latest) 2.9.7 then :point_down:

Here are the sessions regarding WebSDK Integrations

i have switched from server to server to sdk app.
here i have explained the issue better. please reply
@freelancer.nak

you have to use the “Passcode” of the meeting for the SDK “passWord

but you can use the same “Passcode” for all your meetings

Please refer this @j.schoenemeyer I am using SDK app with ZoomMtg 2.9.5 using CDN.

i wanted to use instant meeting like we were using in JWT App type. As per your suggestion i created a meeting in my zoom account. Used it meeting id and passCode in sdk passWord. still can join the meeting.

i am able to generate signature using ZoomMtg.generateSDKSignature();
after that it just keeps loading and cannot join.

you are using this example from github?

create a new test meeting with the following setings

start the example as “Attendee”

if this did not work, post screenshots from the browser console (-> F12) here in the forum

Thank you @j.schoenemeyer for the reply . i am able to join the meeting. Problem was a typo in join function.
Now i just have to get the recording after meeting ends.

1 Like

Thanks so much @freelancer.nak and @j.schoenemeyer for helping @gauravdev ! We appreciate your contributions to our developer community!

2 Likes