Join a webinar as a panelist Web SDK

Before Creating a New Topic:

If you’re experiencing unexpected API/Zoom API Events (webhooks) behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:


Format Your New Topic as Follows:

API Endpoint(s) and/or Zoom API Event(s)
Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context.

Description
Details on your question, workflow or the problem you’re trying to solve.

Error?
The full error message or issue you are running into, where applicable.

How To Reproduce
Steps to reproduce the behaviour:
1. Request URL / Headers (without credentials or sensitive info like emails, uuid, etc.) / Body
2. Authentication method or app type
3. Any errors

Hi

I can join a meeting as a participant or as a host but I can’t seem to join as a panelist.
If I promote a participant to a panelist and the panelist drops out of the webinar, he won’t be able to join the meeting. Changing his role for generating signature from 0 to 1 doesn’t solve the problem.

The code for participants and panelist is:
client.join({
sdkKey: sdkKey,
signature: signature, // role in SDK signature needs to be 1
meetingNumber: meetingNumber,
password: passWord,
userName: userName,
userEmail: userEmail
}).then(() => {
console.log(‘joined successfully’);

                    }).catch((error) => {
                        console.log("Meeting Join failed");
                        
                    });

Code as host:

client.join({
sdkKey: sdkKey,
signature: signature, // role in SDK signature needs to be 1
meetingNumber: meetingNumber,
password: passWord,
userName: userName,
userEmail: userEmail,
zak: zakToken
}).then(() => {
console.log(‘joined successfully’);

                    }).catch((error) => {
                        console.log("Meeting Join failed");

                    });

Kindly help rectify this because I’m not getting any error messages.