# Web Client SDK documentation has syntax error

**URL:** <https://devforum.zoom.us/t/web-client-sdk-documentation-has-syntax-error/49528>\
**Category:** Web\
**Created:** [May 4, 2021, 6:51am UTC](https://devforum.zoom.us/t/web-client-sdk-documentation-has-syntax-error/49528 "2021-05-04T06:51:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meera.datey](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/meera.datey/32/26723_2.png) [@meera.datey](https://devforum.zoom.us/u/meera.datey)\
**Post date:** [May 4, 2021, 6:51am UTC](https://devforum.zoom.us/t/web-client-sdk-documentation-has-syntax-error/49528/1 "2021-05-04T06:51:22Z")

</div>

Just spotted two syntax error in ZOOM Web Client SDK - This page to be exact .

> **[Start Meeting as Host - Meetings - Build an App - Web - Client SDKs - Zoom...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/meetings/start)**
>
> Start Meeting as Host
> 
> A Zoom meeting is considered “started” when the host user enters the meeting. In the Web SDK, this is done by joining the user as...

```auto
const meetConfig = {
	apiKey: '3239845720934223459' ***,***
	meetingNumber: '123456789',
	leaveUrl: 'https://yoursite.com/meetingEnd',
	userName: 'Firstname Lastname',
	passWord: 'password',
	role: 1 // 1 for host
};

```

Comma is missing after apiKey

function getSignature(meetConfig) {

```
fetch(`${YOUR_SIGNATURE_ENDPOINT}`, {
    method: 'POST',
    body: JSON.stringify({ meetingData: meetConfig })
})
.then(result => result.text())
.then(response => {
    ZoomMtg.init({
        leaveUrl: meetConfig.leaveUrl,
        isSupportAV: true,
        success: function() {
            ZoomMtg.join({
                signature: response,
                apiKey: meetConfig.apiKey,
                meetingNumber: meetConfig.meetingNumber,
                userName: meetConfig.userName,
                // password optional; set by Host
                passWord: meetConfig.passWord,
                error(res) { 
                    console.log(res) 
                }
            })		
        }
    })

```

}**)**  
}

One ) is missing…

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 5, 2021, 5:55pm UTC](https://devforum.zoom.us/t/web-client-sdk-documentation-has-syntax-error/49528/2 "2021-05-05T17:55:31Z")

</div>

Hi. @meera.datey,

Thank you for posting in the Developer Forum. I will work with our internal to update our documentation.

Thanks again for letting us know about this, we really appreciate the heads up!

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 5, 2021, 3:55am UTC](https://devforum.zoom.us/t/web-client-sdk-documentation-has-syntax-error/49528/3 "2021-06-05T03:55:37Z")

</div>

Closed on June 5, 2021, 3:55am UTC

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