# MeetingInfoType is undefined with latest WebSdk 1.8.6

**URL:** <https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448>\
**Category:** Web\
**Created:** [January 13, 2021, 1:23pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448 "2021-01-13T13:23:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![dipapatra2012](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dipapatra2012/32/17661_2.png) [@dipapatra2012](https://devforum.zoom.us/u/dipapatra2012)\
**Post date:** [January 13, 2021, 1:23pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/1 "2021-01-13T13:23:39Z")

</div>

**Description**  
I upgraded Zoom WebSDK in my angular project. When trying to join a meeting, it is giving an error with MeetingInfoType. I have defined the required 2 meeting info types correctly.

**Error**  
_zoomus\_websdk\_\_WEBPACK\_IMPORTED\_MODULE\_3_\_.MeetingInfoType is undefined

**Which version?**  
1.8.6

**Screenshots**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/8/b8f3b6c47ae7e7ea1db815bbca0ebe2abfc3896a.png)

---

<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:** [January 14, 2021, 7:49pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/2 "2021-01-14T19:49:22Z")

</div>

Hey @dipapatra2012 ,

According to the [docs](https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#init), you do not need to set `MeetingInfoType`, just the values like `topic"` and `"host"`.

 ![Screen Shot 2021-01-14 at 12.48.55 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15c1f7de68aba645e0b6dc96aaaa731747c3e1f5.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dipapatra2012](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dipapatra2012/32/17661_2.png) [@dipapatra2012](https://devforum.zoom.us/u/dipapatra2012)\
**Post date:** [January 15, 2021, 4:09am UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/3 "2021-01-15T04:09:07Z")

</div>

@tommy It is was working fine that way when I was using WebSDK v1.8.1. It looks like the array declaration is changed from v1.8.5. The documentation is not updated yet for a newer version.

If I use string format then it is giving me the below error:

> error TS2322: Type ‘string’ is not assignable to type ‘MeetingInfoType’

Can you please check with the technical team to sort out this asap?

---

<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:** [January 15, 2021, 10:00pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/4 "2021-01-15T22:00:42Z")

</div>

Hey @dipapatra2012 ,

Can you please point me to the incorrect documentation so we can fix it? 🙂

And yes, we will work on this asap.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![myoneplace](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@myoneplace](https://devforum.zoom.us/u/myoneplace)\
**Post date:** [January 19, 2021, 11:26am UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/5 "2021-01-19T11:26:35Z")

</div>

@tommy

I have updated zoom web sdk, can you plz tell me which property to be used to hide meeting info.  
Earlier used property is meetingInfo :[‘topic’, ‘host’]

Error : Type ‘string’ is not assignable to type ‘MeetingInfoType’

Older Version: 1.8.1  
Newer Version: 1.8.6

---

<div class="post-metadata">

**Author:** ![dipapatra2012](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dipapatra2012/32/17661_2.png) [@dipapatra2012](https://devforum.zoom.us/u/dipapatra2012)\
**Post date:** [January 20, 2021, 1:36pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/6 "2021-01-20T13:36:18Z")

</div>

@tommy Your given documentation is not latest one. [ZoomMtg - Documentation](https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#init)

You can see that another use also raised the same query.

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [January 20, 2021, 3:36pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/7 "2021-01-20T15:36:39Z")

</div>

@tommy,

FYI this is a localised issue with Typescript. It’s working fine with regular Javascript since the latest release itself still has the same properties as 1.8.5, no mention of MeetingInfoType anywhere.

It’s most likely been an undocumented change.

![Screenshot 2021-01-20 at 15.31.43](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/2/a213dc6ca661cf4ad0d8c83b4ef9dc72654587f4.png)

Thanks,  
Alex

---

<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:** [January 21, 2021, 6:28pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/8 "2021-01-21T18:28:56Z")

</div>

Hey @alexmayo ,

Thanks for the suggestion. @dipapatra2012 , @myoneplace does this help solve your issue? If not we will double check why it is not working.

-Tommy

---

<div class="post-metadata">

**Author:** ![dipapatra2012](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dipapatra2012/32/17661_2.png) [@dipapatra2012](https://devforum.zoom.us/u/dipapatra2012)\
**Post date:** [January 23, 2021, 11:58am UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/9 "2021-01-23T11:58:14Z")

</div>

@tommy What should we use in typescript then? We tried MeetingInfoType[‘topic’] and MeetingInfoType.topic both. The error is the same for both.

---

<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:** [January 25, 2021, 9:55pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/10 "2021-01-25T21:55:33Z")

</div>

Hey @dipapatra2012 ,

Let us check to see if this is a bug or not. CC @JackYang.

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:** [January 26, 2021, 5:14pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/11 "2021-01-26T17:14:22Z")

</div>

Hey @dipapatra2012 , @alexmayo , @myoneplace ,

We have confirmed this is a bug and are working to fix it. (CS-2926) 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [January 27, 2021, 5:16am UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/12 "2021-01-27T05:16:28Z")

</div>

> declare enum MeetingInfoType {
> 
> ```
> 'topic' = 'topic',
> 
> 'host' = 'host',
> 
> 'mn' = 'mn',
> 
> 'pwd' = 'pwd',
> 
> 'telPwd' = 'telPwd',
> 
> 'invite' = 'invite',
> 
> 'participant' = 'participant',
> 
> 'dc' = 'dc',
> 
> 'enctype' = 'enctype',
> 
> 'report' = 'report'
> 
> ```
> 
> }

can you try modefy MeetingInfoType define and pass typescript type check?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/3/93284beda8938f8c12ed0e1ad58d6f03162ae31e.png)

---

<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:** [February 26, 2021, 3:17pm UTC](https://devforum.zoom.us/t/meetinginfotype-is-undefined-with-latest-websdk-1-8-6/40448/13 "2021-02-26T15:17:19Z")

</div>

Closed on February 26, 2021, 3:17pm UTC

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