# Web Meeting SDK MediaCapturePermission not working

**URL:** <https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167>\
**Category:** Web\
**Created:** [August 9, 2023, 1:34pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167 "2023-08-09T13:34:27Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![deepak.babel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/deepak.babel/32/50906_2.png) [@deepak.babel](https://devforum.zoom.us/u/deepak.babel)\
**Post date:** [September 7, 2023, 12:06pm UTC](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167/31 "2023-09-07T12:06:53Z")

</div>

Yes @gianni.zoom , I am able to reproduce this issue with **`mediaCapturePermission`** API with zoom’s web sample app https://github.com/zoom/meetingsdk-web-sample as well when I try to use Zak token of a meeting attendee which was authenticated on my meeting SDK app.

The zoom web sample app is currently using latest version( **2.16.0** ) of zoom meeting SDK for web, but still I get the same error as reported by @bharat.bhadresha in his original post.

**Code Snippet**

```auto
      ZoomMtg.join({
        meetingNumber: meetingConfig.meetingNumber,
        userName: meetingConfig.userName,
        signature: signature,
        sdkKey: meetingConfig.sdkKey,
        userEmail: meetingConfig.userEmail,
        passWord: meetingConfig.passWord,
        zak: get_zak_token_of_meeting_attendee(),
        success: function (res) {
          console.log("join meeting success");
          console.log("get attendeelist");
          ZoomMtg.getAttendeeslist({});
          ZoomMtg.getCurrentUser({
            success: function (res) {
              console.log("success getCurrentUser", res.result.currentUser);
            },
          });
        },
        error: function (res) {
          console.log(res);
        },
      });

```

**Browser Console Error**

```auto
{"method":"mediaCapturePermission","status":false,"errorCode":1,"errorMessage":"not support grant local record permissin","result":null}

```

**Which Web Meeting SDK version?**  
` 2.16.0`

**Use of Zak Token of meeting attendee: Yes**

**Use of local recording Token of meeting host: No**

**Result**  
Bot is able to join the meeting, but Host is not seeing any option/popup to grant local recording permission to bot to record.

This is important for compliance requirements for implementing bot as a meeting participant. Can you please help us on this issue!!  
Happy to discuss this over a call if it works for you !!

---

_[View the full topic](https://devforum.zoom.us/t/web-meeting-sdk-mediacapturepermission-not-working/93167)._
