# Console Error: WebSocket Connection Fails on ZoomSDK 2.2.5

**URL:** <https://devforum.zoom.us/t/console-error-websocket-connection-fails-on-zoomsdk-2-2-5/135245>\
**Category:** Web\
**Created:** [July 15, 2025, 4:04am UTC](https://devforum.zoom.us/t/console-error-websocket-connection-fails-on-zoomsdk-2-2-5/135245 "2025-07-15T04:04:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 15, 2025, 4:04am UTC](https://devforum.zoom.us/t/console-error-websocket-connection-fails-on-zoomsdk-2-2-5/135245/1 "2025-07-15T04:04:14Z")

</div>

**Video SDK Type and Version**  
2.2.5

**Description**  
When using the [preview function](https://developers.zoom.us/docs/video-sdk/web/preview/) before joining a meeting, we encountered the following error in the browser console:

```auto
WebSocket connection to 'wss://wc/media/undefined?type=v&cid=&mode=2' failed: 
(anonymous)	@	32af269f-b908-48ab-bc70-5242f9f372f6:1

```

 ![Screenshot 2025-07-15 at 10.55.34](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/4/44236e775d851c6156677f61adbea1c1366b08da.png)

Could you confirm whether this error might affect functionality or cause any potential issues?

**Device (please complete the following information):**

- Device: Mac
- Browser: Chrome
- Browser Version: 138

---

<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:** [July 15, 2025, 9:14am UTC](https://devforum.zoom.us/t/console-error-websocket-connection-fails-on-zoomsdk-2-2-5/135245/2 "2025-07-15T09:14:19Z")

</div>

Hey @lmtruong1512

Thanks for your feedback.

This doesn’t affect functionality. As you mentioned, no media connection is established with the server on the preview page.

We’ll optimize this error message in a future version.

> [@Zoom Web Video SDK: WebSocket error to wss://wc/media/undefined, but meeting still works](https://devforum.zoom.us/t/zoom-web-video-sdk-websocket-error-to-wss-wc-media-undefined-but-meeting-still-works/135246/2):
>
> Hey @Thong1 Thanks for your feedback. This doesn’t affect functionality. As you mentioned, no media connection is established with the server on the preview page. We’ll optimize this error message in a future version. Thanks Vic

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:** [July 15, 2026, 9:14am UTC](https://devforum.zoom.us/t/console-error-websocket-connection-fails-on-zoomsdk-2-2-5/135245/3 "2026-07-15T09:14:52Z")

</div>

Closed on July 15, 2026, 9:14am UTC

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