# ZoomMtg.muteAll returns 3003

**URL:** <https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331>\
**Category:** Web\
**Created:** [April 9, 2020, 8:36am UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331 "2020-04-09T08:36:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![noahrama](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noahrama/32/5603_2.png) [@noahrama](https://devforum.zoom.us/u/noahrama)\
**Post date:** [April 9, 2020, 8:36am UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331/1 "2020-04-09T08:36:42Z")

</div>

**Description**  
i have added a user under the role admin for privilieges  
i should be able to:

```
ZoomMtg.muteAll({
    muteAll: true
});

```

**Error**  
i am getting this response:  
{method: “muteAll”, status: false, errorCode: 3003, errorMessage: null, result: null}  
**Which version?**  
1.7.4  
**Code**

```
    ZoomMtg.join({
        debug: true,
        signature: sig,
        meetingNumber: meetConfig.meetingNumber,
        userName: meetConfig.userName,
        apiKey: meetConfig.apiKey,
        userEmail: meetConfig.userEmail,
        success: (success) => {
            ZoomMtg.muteAll({
                muteAll: true
            });
            ZoomMtg.leaveMeeting({});
```

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 9, 2020, 9:36pm UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331/2 "2020-04-09T21:36:50Z")

</div>

Hey @noahrama,

Are you joining the meeting as a host? Role 1?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![noahrama](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noahrama/32/5603_2.png) [@noahrama](https://devforum.zoom.us/u/noahrama)\
**Post date:** [April 9, 2020, 11:21pm UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331/3 "2020-04-09T23:21:05Z")

</div>

Hi Tommy,  
yes, i am joining as role 1

const meetConfig = {  
apiKey: ‘’,  
meetingNumber: ‘’,  
leaveUrl: ‘[https://site/index.html](https://site/index.html)’,  
userName: ‘bot’,  
userEmail: ‘’, // required for webinar  
// passWord: ‘’, // if required  
role: 1 // 1 for host; 0 for attendee or webinar  
};

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 10, 2020, 6:19am UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331/5 "2020-04-10T06:19:42Z")

</div>

Hi @noahrama,

This maybe a bug. Can you try to use a setTimeout for 5 seconds within the join method?

```
setTimeout(function(){ 
      ZoomMtg.muteAll({muteAll: true, error: function(e){console.log(e)}}) }
     , 5000);
```

---

<div class="post-metadata">

**Author:** ![noahrama](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noahrama/32/5603_2.png) [@noahrama](https://devforum.zoom.us/u/noahrama)\
**Post date:** [April 10, 2020, 6:54am UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331/6 "2020-04-10T06:54:19Z")

</div>

Unfortunately, even with setTimout, the method still fails. Same error:

```
{method: "muteAll", status: false, errorCode: 3003, errorMessage: null, result: null}
```

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 10, 2020, 7:00am UTC](https://devforum.zoom.us/t/zoommtg-muteall-returns-3003/12331/7 "2020-04-10T07:00:59Z")

</div>

@noahrama  
Can you DM me your index.js file, along with Account ID, API Key/Secret, and meeting ID?
