Zoom Developer Forum

How to fix a Zoom bot that is intermittently stuck in the “Joining” state?

Amanda Zhu

December 17, 2023

Question

People commonly ask on the Zoom Developer Forum:

I’ve built a bot to join Zoom calls using the Zoom Web SDK, but sometimes the bot gets stuck in the “joining” state and never connects to audio. How do I fix this?

Answer

Typically when you’re building a Zoom bot with the Zoom Web SDK, you’ll run into an issues where the bot gets stuck in the “joining” state.

This issue occurs if you’re using browser automation and clicking the “Join Audio” button too quickly after the bot joins the call. This can potentially trigger a race condition in the Zoom Web SDK’s join-meeting procedure, leading the bot to get stuck. To fix this, you’d need to patch this race condition in the SDK yourself.

Another option is Recall.ai. It’s a simple 3rd party API for meeting bots to get the raw audio/video from meetings + output video/audio without you needing to spend months to build, scale and maintain these bots. It also works across Google Meet, Microsoft Teams, and other meeting platforms.

Zoom Developer Forum Examples

Some examples of this question are: