# Can't rejoin a webinar using Component View in React App

**URL:** <https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505>\
**Category:** Web\
**Created:** [May 4, 2022, 2:24pm UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505 "2022-05-04T14:24:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmd11](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jmd11/32/17615_2.png) [@jmd11](https://devforum.zoom.us/u/jmd11)\
**Post date:** [May 4, 2022, 2:24pm UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/1 "2022-05-04T14:24:22Z")

</div>

**Description**  
I can start a webinar using the Component View in a react app with no problems. When I end the webinar in the console the following error is show:

`zoomus-websdk-embedded.umd.min.js:2 Uncaught (in promise) {type: 'IMPROPER_MEETING_STATE', reason: 'closed'}`

If I try and start the webinar again it seems to join without errors being thrown but the Zoom Component View disappears after I rejoin.

I am also having issues if I navigate to a different page where I am using the Component View also after I start a webinar. I think it is something similar to [this issue here](https://devforum.zoom.us/t/how-to-reset-connection/40510)

There doesn’t seem to be a destroyClient method available though for the ZoomMtgEmbedded so what would the solution be?

Doing a page refresh will fix this issue.

**Browser Console Error**  
Issue 1.  
`zoomus-websdk-embedded.umd.min.js:2 Uncaught (in promise) {type: 'IMPROPER_MEETING_STATE', reason: 'closed'}`

Issue 2  
{type: ‘INVALID\_OPERATION’, reason: ‘Duplicated join operation’}`

**Which Web Meeting SDK version?**  
Tried 2.35 and 2.4.0

**Meeting SDK Code Snippets**

```auto
const startWebinar = async () => {

    try {
      const { signature, zak } = await getStartSignature(webinar.id)

      await client.join({
        signature: signature,
        tk: zak,
        apiKey: process.env.REACT_APP_ZOOM_API_KEY,
        meetingNumber: webinar.id,
        userName: username,
        userEmail: email,
      })

    } catch (err) {
      console.log('Error', err)
    } 
  }

```

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Start a webinar using the Component View
2. End the webinar once started
3. Try to start the webinar again

**Device (please complete the following information):**  
Chrome and Firefox

---

<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 4, 2022, 11:53pm UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/2 "2022-05-04T23:53:37Z")

</div>

@jmd11,  
Thank you for calling attention to the behavior you are seeing. I am able to reproduce the `Uncaught (in promise) {type: 'IMPROPER_MEETING_STATE', reason: 'closed'}` error and have already reported it to our SDK team for further investigation [ZOOM-372963]. I will let you know what I learn, but please feel free to ask any questions you may have about this.

---

<div class="post-metadata">

**Author:** ![jmd11](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jmd11/32/17615_2.png) [@jmd11](https://devforum.zoom.us/u/jmd11)\
**Post date:** [May 17, 2022, 11:09am UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/3 "2022-05-17T11:09:22Z")

</div>

Thanks.

Can I ask if there has been any update on this issue?

Refreshing the page is the only way I can manage to get the zoom component to work if it has failed once before.

---

<div class="post-metadata">

**Author:** ![Zerodistance](https://avatars.discourse-cdn.com/v4/letter/z/58f4c7/32.png) [@Zerodistance](https://devforum.zoom.us/u/Zerodistance)\
**Post date:** [May 21, 2022, 5:18am UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/4 "2022-05-21T05:18:44Z")

</div>

Even I’m facing the same issue and there have been no updates as of yet from the zoom team

@donte.zoom we appreciate an update on this as soon as possible

thanks

---

<div class="post-metadata">

**Author:** ![mirza.hasanovic](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mirza.hasanovic](https://devforum.zoom.us/u/mirza.hasanovic)\
**Post date:** [May 25, 2022, 3:15pm UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/5 "2022-05-25T15:15:06Z")

</div>

I’m also facing the same issue. Someone please give us some feedback @donte.zoom

---

<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 27, 2022, 1:45pm UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/6 "2022-05-27T13:45:55Z")

</div>

@mirza.hasanovic @Zerodistance @jmd11,

Thanks for the tag! Just checked the ticket for this and there is no update available at this time. I will follow up with the team and share any available updates. For now, please trigger a page refresh if a failure is detected when ending a meeting or webinar.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![adigunsherif](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/adigunsherif/32/38251_2.png) [@adigunsherif](https://devforum.zoom.us/u/adigunsherif)\
**Post date:** [June 6, 2022, 11:59am UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/7 "2022-06-06T11:59:35Z")

</div>

@donte.zoom , Can you please give a code sample on how to trigger a page refresh when ending a meeting for a component view and not client view? I can’t find that in the documentation.

similar to my issue here ; [https://devforum.zoom.us/t/zoom-meeting-embedded-2-4-5-eventlistener-for-component-view/70005?u=adigunsherif](https://devforum.zoom.us/t/zoom-meeting-embedded-2-4-5-eventlistener-for-component-view/70005)

---

<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:** [June 6, 2022, 6:26pm UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/8 "2022-06-06T18:26:06Z")

</div>

@adigunsherif,

Unlike Client View, there is no “page refresh” in Component View once a meeting is ended or left. Instead, the Component SDK provides [leaveMeeting](https://marketplace.zoom.us/docs/sdk/native-sdks/web/component-view/reference/) function and [Meeting Left Webhook](https://marketplace.zoom.us/docs/api-reference/zoom-api/events/#/paths/meeting.participant_left/post) so you can implement the flow of your choice.

---

<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:** [July 7, 2022, 4:26am UTC](https://devforum.zoom.us/t/cant-rejoin-a-webinar-using-component-view-in-react-app/68505/9 "2022-07-07T04:26:13Z")

</div>

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