# Setting isSupportPolling to true throws an invalid parameter error on the websdk

**URL:** <https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371>\
**Category:** Web\
**Created:** [February 26, 2021, 4:16pm UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371 "2021-02-26T16:16:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zulu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zulu/32/15247_2.png) [@zulu](https://devforum.zoom.us/u/zulu)\
**Post date:** [February 26, 2021, 4:16pm UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/1 "2021-02-26T16:16:07Z")

</div>

**Description**  
I’m currently implementing an update to a client project that allows them to utilise webinars, which their account now has access to. After getting it all up and running (fairly quickly) I thought I’d test all the features of webinars to see if they’re functional on the web integration. However I could not see a poll that I set active, so I added isSupportPolling and set it to true in the init, but this throws an invalid parameter error in the console & causes the initialisation of zoom to fail.

**Error**  
Init invalid parameter !!!

**Which Client Web SDK version?**  
1.9.0

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 27, 2021, 1:50am UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/2 "2021-02-27T01:50:54Z")

</div>

Hey @zulu,

Thank you for reaching out to the Zoom Developer Forum. So far when testing this with the [Sample Web App](https://github.com/zoom/sample-app-web), I haven’t seen the same issue. I would first use the sample app as a reference to see if you can spot any differences between how you’re using it.

If that doesn’t help, are you able to share a public git repo of your code or a snippet of the file that calls `init()`?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![zulu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zulu/32/15247_2.png) [@zulu](https://devforum.zoom.us/u/zulu)\
**Post date:** [March 15, 2021, 11:10am UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/3 "2021-03-15T11:10:15Z")

</div>

Hi Max,

Here is my init code, commenting out isSupportPolling allows the webinar to boot.

```auto
ZoomMtg.init({
    leaveUrl: 'the_leave_url',
    isSupportAV: true,
    screenShare: false,
    disableInvite : true,
    isSupportChat: false,
    isSupportQA: true,
    isSupportPolling: true,

    success: (success) => {

        var init = {
            signature: 'the_signature',
            meetingNumber: 'the_meeting_id',
            userName: 'user_123',
            apiKey: 'the_api_key',
            passWord : 'the_meeting_password',
        };

        if ( email ) {
            init.userEmail = email;
        }

        ZoomMtg.join(init);

    }
});

```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 16, 2021, 7:00pm UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/4 "2021-03-16T19:00:03Z")

</div>

Hey @zulu,

I’m not seeing an issue with the code that you have there. I investigated this further but I still wasn’t able to reproduce this issue. Are you able to provide a public git repo with code demonstrating this issue?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![zulu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zulu/32/15247_2.png) [@zulu](https://devforum.zoom.us/u/zulu)\
**Post date:** [March 31, 2021, 1:49pm UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/5 "2021-03-31T13:49:43Z")

</div>

Turns out I needed to strictly follow the documentation setup instead of assigning the object to a variable, just adding the object inside the join function.

---

<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:** [April 2, 2021, 10:54pm UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/6 "2021-04-02T22:54:30Z")

</div>

Happy to hear you got it sorted out! 🙂

Let us know if we can help with anything else.

Thanks,  
Tommy

---

<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:** [April 2, 2021, 10:54pm UTC](https://devforum.zoom.us/t/setting-issupportpolling-to-true-throws-an-invalid-parameter-error-on-the-websdk/44371/7 "2021-04-02T22:54:44Z")

</div>

Closed on April 2, 2021, 10:54pm UTC


