ZoomMtg.muteAll returns 3003

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({});

Hey @noahrama,

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

Thanks,
Tommy

Hi Tommy,
yes, i am joining as role 1

const meetConfig = {
apiKey: ‘123456789’,
meetingNumber: ‘12345678’,
leaveUrl: ‘https://site/index.html’,
userName: ‘bot’,
userEmail: ‘admin_account@gmail.com’, // required for webinar
// passWord: ‘password’, // if required
role: 1 // 1 for host; 0 for attendee or webinar
};

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);

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

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

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