# How to reduce the number of "active-media-failed" errors?

**URL:** <https://devforum.zoom.us/t/how-to-reduce-the-number-of-active-media-failed-errors/138577>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [November 7, 2025, 9:44am UTC](https://devforum.zoom.us/t/how-to-reduce-the-number-of-active-media-failed-errors/138577 "2025-11-07T09:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![klocuszek](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@klocuszek](https://devforum.zoom.us/u/klocuszek)\
**Post date:** [November 7, 2025, 9:44am UTC](https://devforum.zoom.us/t/how-to-reduce-the-number-of-active-media-failed-errors/138577/1 "2025-11-07T09:44:56Z")

</div>

**Video SDK Type and Version**  
“@zoom/videosdk”: “^2.2.12”, for Web.

WebRTC enabled (no SharedArrayBuffer).

**Description**  
In the Zoom Video SDK documentation we can read that _active-media-failed_:

> Occurs when there is a media internal error, such as an unexpected interruption in media capture or insufficient memory. When receiving this event, we recommend refreshing the page or restarting the browser to resolve the issue. Since the user must do this, we recommend that you provide a popup to guide the user, such as ‘We detected an issue with the media stream that we cannot resolve. Please refresh the page to try to fix it.’ With two buttons: ‘Refresh’ and ‘Cancel’.

Well, I’ve added a popup with those two buttons. The problem is that this error appears quite frequently, and I’m not entirely sure what I can do to reduce its occurrence.

What are the main causes of this error appearing besides lack of camera and microphone permissions, and how can they be prevented?

So far I’ve managed to reproduce this failure in these ways:

- lack of device permissions in the browser;
- switching the browser window or webview on an Android device to another active app

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [November 10, 2025, 2:59am UTC](https://devforum.zoom.us/t/how-to-reduce-the-number-of-active-media-failed-errors/138577/2 "2025-11-10T02:59:23Z")

</div>

Hey @klocuszek

Thanks for your feedback.

As you mentioned, our documentation categorizes possible exceptions under audio, video, and sharing. These issues may occur due to media device issues or operating system-related causes.

> **[Video SDK - web - Event handling](https://developers.zoom.us/docs/video-sdk/web/handle-events/#active-media-failed)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Thanks  
Vic

---

<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:** [November 10, 2026, 2:59am UTC](https://devforum.zoom.us/t/how-to-reduce-the-number-of-active-media-failed-errors/138577/3 "2026-11-10T02:59:50Z")

</div>

Closed on November 10, 2026, 2:59am UTC

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