# Getting Video User Forbidden capture error

**URL:** <https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478>\
**Category:** Video SDK\
**Created:** [July 19, 2022, 11:22am UTC](https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478 "2022-07-19T11:22:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gourishmesta1993](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gourishmesta1993/32/39300_2.png) [@gourishmesta1993](https://devforum.zoom.us/u/gourishmesta1993)\
**Post date:** [July 19, 2022, 11:22am UTC](https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478/1 "2022-07-19T11:22:30Z")

</div>

Hi,

I am using video sdk in my react js project some how i am not able to render the video using the stream.

**Steps followed to join session and get stream**

> **[Sessions](https://marketplace.zoom.us/docs/sdk/video/web/essential/create-join-session/)**
>
> 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.

**Steps followed to render video**

> **[Video](https://marketplace.zoom.us/docs/sdk/video/web/essential/video/)**
>
> 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.

**Fails on below line of code**

```auto
stream.startVideo({ videoElement: document.querySelector('#self-view-video') })

```

**Which Video SDK version?**  
1.3.0

**React js Version**  
17.0.2

**Error in Console**

```auto
ready to start!
 ready to start!
 ready to dec video!
ready to dec video!

JsAudioDec.js receive startMedia
JsAudioDec.js receive startMedia
Open_Audio_WebSocket_Connect
Open_Audio_WebSocket_Connect
Open_Video_WebSocket_Connect
Open_Sharing_WebSocket_Connect
Open_Sharing_WebSocket_Connect
Open_Video_WebSocket_Connect
Camera Permission granted
hasWebCam: true
hasMicrophone: true 
isMicrophoneAlreadyCaptured: true 
isWebcamAlreadyCaptured: true 
Error: media stream is ok, but start video capture fail
    at js_media.min.js:1:288015
    at v (js_media.min.js:1:144768)
    at Generator._invoke (js_media.min.js:1:144556)
    at e.<computed> [as throw] (js_media.min.js:1:144947)
    at i (js_media.min.js:1:3561)
    at u (js_media.min.js:1:3795)
 Uncaught (in promise) TypeError: this.videoCaptureValue.videoCtrl.pause is not a function
    at e.Stop_Video_Capture (js_media.min.js:1:264436)
    at e.handleVideoError (js_media.min.js:1:290738)
    at e.<anonymous> (js_media.min.js:1:257697)
    at v (js_media.min.js:1:144768)
    at Generator._invoke (js_media.min.js:1:144556)
    at e.<computed> [as throw] (js_media.min.js:1:144947)
    at i (js_media.min.js:1:3561)
    at u (js_media.min.js:1:3795)
Stop_Video_Capture @ js_media.min.js:1
handleVideoError @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
v @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
e.<computed> @ js_media.min.js:1
i @ js_media.min.js:1
u @ js_media.min.js:1
Promise.then (async)
i @ js_media.min.js:1
s @ js_media.min.js:1
Promise.then (async)
i @ js_media.min.js:1
s @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
t @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
J.StartVideoMediaCapture @ js_media.min.js:1
Start_Video_Capture @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
v @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
e.<computed> @ js_media.min.js:1
i @ js_media.min.js:1
s @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
t @ js_media.min.js:1
(anonymous) @ js_media.min.js:1
J.Notify_MeidaSDK @ js_media.min.js:1
value @ local_storage.ts:1
(anonymous) @ local_storage.ts:1
t.__tryOrUnsub @ local_storage.ts:1
t.next @ local_storage.ts:1
t._next @ local_storage.ts:1
t.next @ local_storage.ts:1
complete @ local_storage.ts:1
n @ local_storage.ts:1
t.__tryOrUnsub @ local_storage.ts:1
t.complete @ local_storage.ts:1
t._complete @ local_storage.ts:1
t.complete @ local_storage.ts:1
(anonymous) @ local_storage.ts:1
Promise.then (async)
At.t @ local_storage.ts:1
e._trySubscribe @ local_storage.ts:1
e.subscribe @ local_storage.ts:1
s @ local_storage.ts:1
(anonymous) @ local_storage.ts:1
e._trySubscribe @ local_storage.ts:1
e.subscribe @ local_storage.ts:1
(anonymous) @ local_storage.ts:1
value @ local_storage.ts:1
r.value @ local_storage.ts:1
Ch.n.value @ local_storage.ts:1
value @ local_storage.ts:1
(anonymous) @ ZoomSDK.jsx:169
f @ regeneratorRuntime.js:86
(anonymous) @ regeneratorRuntime.js:66
(anonymous) @ regeneratorRuntime.js:117
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
Ve @ use-sync-external-store-shim.production.min.js:52
Ye @ use-sync-external-store-shim.production.min.js:52
(anonymous) @ use-sync-external-store-shim.production.min.js:53
Ir @ use-sync-external-store-shim.production.min.js:100
Or @ use-sync-external-store-shim.production.min.js:101
(anonymous) @ use-sync-external-store-shim.production.min.js:113
Be @ use-sync-external-store-shim.production.min.js:292
(anonymous) @ use-sync-external-store-shim.production.min.js:50
jr @ use-sync-external-store-shim.production.min.js:105
$t @ use-sync-external-store-shim.production.min.js:75
Jt @ use-sync-external-store-shim.production.min.js:74
t.unstable_runWithPriority @ react-is.production.min.js:18
Gi @ use-sync-external-store-shim.production.min.js:122
Pe @ use-sync-external-store-shim.production.min.js:292
Xt @ use-sync-external-store-shim.production.min.js:73
Show 35 more frames
asyncToGenerator.js:6 Uncaught (in promise) {type: 'VIDEO_USER_FORBIDDEN_CAPTURE'}

```

Any idea on what will be the cause of this error?

Thanks in advance!

Gourish

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [July 29, 2022, 9:42pm UTC](https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478/2 "2022-07-29T21:42:35Z")

</div>

@gourishmesta1993,

Thank you for posting in the Developer Forum. As a sanity check, have you enabled video in your browser?

---

<div class="post-metadata">

**Author:** ![gourishmesta1993](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gourishmesta1993/32/39300_2.png) [@gourishmesta1993](https://devforum.zoom.us/u/gourishmesta1993)\
**Post date:** [August 4, 2022, 10:24am UTC](https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478/3 "2022-08-04T10:24:10Z")

</div>

@donte.zoom issue has been fixed

Thank you

---

<div class="post-metadata">

**Author:** ![ted.mead](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ted.mead/32/39581_2.png) [@ted.mead](https://devforum.zoom.us/u/ted.mead)\
**Post date:** [December 12, 2022, 7:13pm UTC](https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478/4 "2022-12-12T19:13:01Z")

</div>

May I ask how you fixed it?

---

<div class="post-metadata">

**Author:** ![it111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/it111/32/44660_2.png) [@it111](https://devforum.zoom.us/u/it111)\
**Post date:** [February 26, 2023, 7:36am UTC](https://devforum.zoom.us/t/getting-video-user-forbidden-capture-error/72478/5 "2023-02-26T07:36:49Z")

</div>

Hi Gourish  
Could you tell us What did you do to fix this error?

Thanks in advance
