# Web sdk while adding meetingInfo shows error "Init invalid parameter !"

**URL:** <https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143>\
**Category:** Web\
**Created:** [July 15, 2020, 6:57am UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143 "2020-07-15T06:57:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anoop.ms](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anoop.ms/32/11912_2.png) [@anoop.ms](https://devforum.zoom.us/u/anoop.ms)\
**Post date:** [July 15, 2020, 6:57am UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143/1 "2020-07-15T06:57:36Z")

</div>

**Description**  
Web sdk on init meeting while adding meetingInfo array shows error

**Error**  
“Init invalid parameter !!!”

SDK: v 1.7.8  
“browserInfo”:“Firefox/78.0”

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 17, 2020, 6:31pm UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143/2 "2020-07-17T18:31:52Z")

</div>

Hey @anoop.ms,

Please share steps and code to reproduce the issue so I can help. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![anoop.ms](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anoop.ms/32/11912_2.png) [@anoop.ms](https://devforum.zoom.us/u/anoop.ms)\
**Post date:** [July 18, 2020, 5:28am UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143/3 "2020-07-18T05:28:16Z")

</div>

```
    ZoomMtg.init({
        leaveUrl: return_url,
        showMeetingHeader: false, //option
        disableInvite: true, //optional
        meetingInfo: [ // optional
            'topic',
            'host',
            'mn',
            'pwd',
            'telPwd',
            'participant',
            'dc'
        ],
        success: function (res) {
            ZoomMtg.join(
                {
                    meetingNumber: meetConfig.meetingNumber,
                    userName: meetConfig.userName,
                    signature: signature,
                    apiKey: meetConfig.apiKey,
                    passWord: meetConfig.passWord,
                    success: function(res){
                        
                        console.log('join meeting success');
                    },
                    error: function(res) {
                        console.log(res);
                    }
                }
            );
        },
        error: function(res) {
            console.log(res);
        }
    });

```

this is the code i used to init meeting. It shows error on console.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 21, 2020, 9:28pm UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143/4 "2020-07-21T21:28:53Z")

</div>

Hey @anoop.ms,

What are you setting for your return\_url?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![anoop.ms](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anoop.ms/32/11912_2.png) [@anoop.ms](https://devforum.zoom.us/u/anoop.ms)\
**Post date:** [July 27, 2020, 5:13pm UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143/5 "2020-07-27T17:13:41Z")

</div>

> [@anoop.ms](#):
>
> `return_url`

Hi,  
I am setting our website URL as return\_url.

the above code is working without **meetingInfo**. Only have issue when add **meetingInfo**

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 29, 2020, 7:43pm UTC](https://devforum.zoom.us/t/web-sdk-while-adding-meetinginfo-shows-error-init-invalid-parameter/24143/6 "2020-07-29T19:43:14Z")

</div>

Hey @anoop.ms,

The `meetingInfo` property is only available in version 1.7.9 and above.

Thanks,  
Tommy
