# Cannot share screen using \`window\` or \`screen\` option. Throw error “INVALID\_OPERATION” : reason: “user deny screen share”

**URL:** <https://devforum.zoom.us/t/cannot-share-screen-using-window-or-screen-option-throw-error-invalid-operation-reason-user-deny-screen-share/129685>\
**Category:** Web\
**Created:** [March 11, 2025, 8:21am UTC](https://devforum.zoom.us/t/cannot-share-screen-using-window-or-screen-option-throw-error-invalid-operation-reason-user-deny-screen-share/129685 "2025-03-11T08:21:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [March 18, 2025, 7:46am UTC](https://devforum.zoom.us/t/cannot-share-screen-using-window-or-screen-option-throw-error-invalid-operation-reason-user-deny-screen-share/129685/7 "2025-03-18T07:46:57Z")

</div>

Hi @vic.yang,

Regarding the ‘user deny screen share’ error, this issue only occurs when CPU and memory usage are too high. Since it happens rarely, we haven’t been able to consistently reproduce it for testing with the WebRTC official demo. If we encounter it again, we will try it. Could this be related to [this issue](https://devforum.zoom.us/t/getting-invalid-operation-reason-user-deny-screen-share-on-starting-screenshare-on-firefox/63180/9), where high CPU and memory usage cause `startShareScreen` to take too long, triggering other events in between and resulting in the error—not directly caused by a user gesture?

Additionally, we are also facing a **video freeze issue** reported by our customer, but we don’t have a session ID for it. Here’s a related case: [Canvas video occasionally freezes](https://devforum.zoom.us/t/the-canvas-video-occasionally-freezes/129584/2). Is there any solution or upgrade available to address this problem?

Thanks!

---

_[View the full topic](https://devforum.zoom.us/t/cannot-share-screen-using-window-or-screen-option-throw-error-invalid-operation-reason-user-deny-screen-share/129685)._
