[Resolved with 1.7.4+] Web SDK / Web Client from browser: 403 Forbidden

Hi @manishkumarmm93,

Looks like is a PMI, right now join before host does not work for PMIs. You would need to create a new meeting ID to join before host.

Let us know if this helps

Finally worked for me. Thank you guys.

1 Like

Hey @s.obeidat,

You must use a real meeting ID without dashes, not 123.

Also make sure you are using a JWT App type for the API credentials.

Thanks,
Tommy

Happy to hear @tools ! :slight_smile:

-Tommy

Now, I can not join a meeting by WebSDk again. Return error code 1.

I can Join meeting as same meeting id by app.

Hey @ke.wu1,

Please provide more details like full error message, screenshots, and steps to reproduce.

Thanks,
Tommy

Now, it’s back to work again. I feel a little unstable

1 Like

Happy to hear it is working again! We are working to make it as stable as possible! :slight_smile:

Thanks,
Tommy

Hi guys
Could anyone help me, please?

I am getting this error that the signature has expired.

it works where I developed (windows environment) however after that I put it in the test(Linux environment) don’t work anymore.

I created this meeting for example 99859217523.
Below how I am generating the signature:

console.log(‘checkSystemRequirements’); console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

const API_KEY = ‘###########’;
const API_SECRET = ‘################’;

testTool = window.testTool;

document.getElementById('join_meeting').addEventListener('click', (e) => {
    e.preventDefault();

    const meetConfig = {
	    userEmail:'#########',
        apiKey: API_KEY,
        apiSecret: API_SECRET,
        meetingNumber: parseInt(document.getElementById('meeting_number').value, 10),
        userName: document.getElementById('display_name').value,
        passWord: document.getElementById('meeting_pwd').value,
        leaveUrl: 'https://www.meusite.com.br',
        role: parseInt(document.getElementById('meeting_role').value, 10)
    };

    ZoomMtg.generateSignature({
        meetingNumber: meetConfig.meetingNumber,
        apiKey: meetConfig.apiKey,
        apiSecret: meetConfig.apiSecret,
        role: meetConfig.role,
        success(res) {
            console.log('signature', res.result);
            ZoomMtg.init({
                leaveUrl: 'http://www.meusite.com.br',
                success() {
                    ZoomMtg.join(
                        {
						    userEmail:meetConfig.userEmail,
                            meetingNumber: meetConfig.meetingNumber,
                            userName: meetConfig.userName,
                            signature: res.result,
                            apiKey: meetConfig.apiKey,
                            passWord: meetConfig.passWord,
                            success() {
                                $('#nav-tool').hide();
                                console.log('join meeting success');
                            },
                            error(res) {
                                console.log(res);
                            }
                        }
                    );
                },
                error(res) {
                    console.log(res);
                }
            });
        }
    });
});

Hi guys
Could anyone help me, please?

I am getting this error that the signature has expired.

it works where I developed (windows environment) however after that I put it in the test(Linux environment) don’t work anymore.

I created this meeting for example 99859217523.
Below how I am generating the signature:

console.log(‘checkSystemRequirements’); console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

const API_KEY = ‘###########’;
const API_SECRET = ‘################’;

testTool = window.testTool;

document.getElementById('join_meeting').addEventListener('click', (e) => {
    e.preventDefault();

    const meetConfig = {
	    userEmail:'#########',
        apiKey: API_KEY,
        apiSecret: API_SECRET,
        meetingNumber: parseInt(document.getElementById('meeting_number').value, 10),
        userName: document.getElementById('display_name').value,
        passWord: document.getElementById('meeting_pwd').value,
        leaveUrl: 'https://www.meusite.com.br',
        role: parseInt(document.getElementById('meeting_role').value, 10)
    };

    ZoomMtg.generateSignature({
        meetingNumber: meetConfig.meetingNumber,
        apiKey: meetConfig.apiKey,
        apiSecret: meetConfig.apiSecret,
        role: meetConfig.role,
        success(res) {
            console.log('signature', res.result);
            ZoomMtg.init({
                leaveUrl: 'http://www.meusite.com.br',
                success() {
                    ZoomMtg.join(
                        {
						    userEmail:meetConfig.userEmail,
                            meetingNumber: meetConfig.meetingNumber,
                            userName: meetConfig.userName,
                            signature: res.result,
                            apiKey: meetConfig.apiKey,
                            passWord: meetConfig.passWord,
                            success() {
                                $('#nav-tool').hide();
                                console.log('join meeting success');
                            },
                            error(res) {
                                console.log(res);
                            }
                        }
                    );
                },
                error(res) {
                    console.log(res);
                }
            });
        }
    });
});

Hey @financeiro,

Please refrain from triple posting.

I have addressed your question here:

Thanks,
Tommy

1 Like

Cleared the zoom site specific cookies on chrome and started working for me.


Check the above blog on how to delete site specific cookies, follow the instructions in section “You can delecte only specific cookies if you so desire:”.

Thanks for the info @karthik_krishna! :slight_smile:

-Tommy

@tommy I am getting a 403 when i am embed the zoom meeting in an iframe

This is my current code:

This are the errors I am getting:

Hey @nessimbh,

Thank you for reaching out to the Zoom Developer Forum. It looks like you’re embedding the Zoom Web Client in an iFrame which is not supported. Instead, if you want to embed the power of Zoom in your website, please use the Web SDK. Please note, the Web SDK is not intended to be used in an iFrame either.

For more information please see our build guide as well as our Sample Web App.

I hope that helps! If you have any further questions, please submit a new forum topic and I’ll be sure to assist you from there.

Thanks,
Max

Hi @MaxM, I understand but the problem with the Web SDK is that it overlays in the entire screen. We only want the video in specific location in our website so we can add our own custom Ecommerce experience on top. Is there any way to show only the video from zoom?

Hey @nessimbh,

Thank you for the update. Currently, the Web SDK doesn’t have any options to customize the size or layout. We plan to provide a more customizable version of the Web SDK in an upcoming version. In the meantime, you can try to add custom CSS or JS in order to style the meeting window but this can introduce new issues.

Thanks,
Max