How to reset connection?

Description
I’m using react to create a component which integrate with zoom sdk.
It works ok if every time I refresh my browser but if I use react-router-dom to go to another component and go back to this component, it throw an error when joining
Error
reason: “duplicated operation”
type: “INVALID_OPERATION”

Which version?
Latest version Fully customisable sdk

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

  1. From my app container go to the component where calling zoom sdk join, it works fine for the first time.
  2. Go to another screen (using react-router-dom)
  3. Go back to screen where is using zoom sdk, it throw an error when calling client.join
    Screenshots

Device (please complete the following information):
Chrome

Additional context
Add any other context about the problem here.

Hey @Tony1905 ,

Thanks for reporting this, I have shared this with our SDK Engineers. (CS-2829) I will get back to you with how to fix it, or if we need to fix something on our end. :slight_smile:

-Tommy

1 Like