The error code -2 in using the meeting SDK

Hey @zan.zhang,

Thank you for reaching out to the Zoom Developer Forum. I just have a couple of questions to get started:

  1. Does this happen every time you join a meeting?
  2. Does this happen with Chrome only?
  3. Do you see any errors in the console when this happens?

I remember an older instance of this which was on the same version, you can find it here:

However, with that issue, our team required steps to reproduce the issue to investigate further. One thing I’m noticing is that you are using the same version.

If possible, the quickest solution here is likely to upgrade to the latest version of the Web SDK (2.0.1) and also update to the latest version of Chrome. Along with that, you would want to follow our guide on Improving Web SDK Performance.

As a quick test, you can spin up our Sample Web App.

Let me know if that helps.

Thanks,
Max