# JOIN\_MEETING\_FAILED. ErrorCode 200. I have tried everything

**URL:** <https://devforum.zoom.us/t/join-meeting-failed-errorcode-200-i-have-tried-everything/123521>\
**Category:** API and Webhooks\
**Created:** [December 28, 2024, 4:39am UTC](https://devforum.zoom.us/t/join-meeting-failed-errorcode-200-i-have-tried-everything/123521 "2024-12-28T04:39:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpcarnell](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rpcarnell/32/49083_2.png) [@rpcarnell](https://devforum.zoom.us/u/rpcarnell)\
**Post date:** [December 28, 2024, 4:39am UTC](https://devforum.zoom.us/t/join-meeting-failed-errorcode-200-i-have-tried-everything/123521/1 "2024-12-28T04:39:27Z")

</div>

I am getting the following response from Zoom when I try to join a meeting as the meeting organizer:

{“type”:“JOIN\_MEETING\_FAILED”,“reason”:“Fail to join the meeting.”,“errorCode”:200}

Thing is, it does not happen when I join the meeting as a mere participant. It happens when I am the meeting organizer joining the meeting.

Here is the Javascript code:

```
function startMeet(meetingId) {

    if (!meetingId) {
        jQuery('#errorWarn').html('ERROR - meeting ID does not exist');
        
        return;
    } else {
        jQuery('#errorWarn').html('');
    }

    const iat = Math.round(new Date().getTime() / 1000) - 30;
    const exp = iat + 60 * 60 * 2;
    const oHeader = {alg: 'HS256', typ: 'JWT'};
    
    const oPayload = {
        sdkKey: '<?= $sdkkey ?>',
        appKey: '<?= $sdkkey ?>',
        mn: meetingId,
        role: 1,
        iat: iat,
        exp: exp,
        tokenExp: exp
    }

    const sHeader = JSON.stringify(oHeader);
    const sPayload = JSON.stringify(oPayload);
    const sdkJWT = KJUR.jws.JWS.sign('HS256', sHeader, sPayload, '<?= $sdkSecret ?>');

    const client = ZoomMtgEmbedded.createClient();
    let meetingSDKElement = document.getElementById('zmmtg-root');
    $.ajax(
        {
            method: "GET",
            url: "/providers/getZoomDak",
        }).done(function (msg) {
        
        msg = JSON.parse(msg);
         
        client.init({
            debug: true,
            language: 'en-US', 
            zoomAppRoot: meetingSDKElement,
            enforceMultipleVideos: true, minimumParticipantsForGalleryView: 2, 
            customize: {video: {disableDraggable: true, isResizable: false, viewSizes: {default: {width: 800, height: 500}, ribbon: {width: 300, height: 700}}}}
        }).then(() => {
                client.join({
                signature: sdkJWT,
                meetingNumber: meetingId,
                userName: "<?= $_SESSION['web']['providers']['provider']['titulo'] . ' ' . $_SESSION['web']['providers']['provider']['nombre'] . ' ' . $_SESSION['web']['providers']['provider']['apellido'] ?>",
                sdkKey: '<?= $sdkkey ?>',
                password: '123456',
                zak: msg.zak,
                success: (success) => {
                    alert(success)
                },
                error: (error) => {
                    alert(JSON.stringify(error));
                }
            }).then(() => {
                alert('joined successfully')
            }).catch((error) => {
                alert(JSON.stringify(error));
            })
        }).catch((error) => {
            alert(JSON.stringify(error));
        })
 });
}

```

Notice the role is 1. It doesn’t happen when role is not 1. I already check the response from [https://api.zoom.us/v2/users/me/token/?type=zak](https://api.zoom.us/v2/users/me/token/?type=zak). Nothing wrong there. I am using version 3.1.6, and before that I was using version 2.17.0.

I have run out of options. Don’t know what’s going on anymore.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 30, 2024, 7:56pm UTC](https://devforum.zoom.us/t/join-meeting-failed-errorcode-200-i-have-tried-everything/123521/2 "2024-12-30T19:56:45Z")

</div>

Hi @rpcarnell  
Thanks for reaching out to us, are you using the Web meeting SDK?  
If so, could you please try to update to the latest version v3.10.0 and you could also check out our sample app here:

> **[GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/meetingsdk-web-sample)**
>
> Zoom Meeting SDK web sample

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 3, 2026, 11:33am UTC](https://devforum.zoom.us/t/join-meeting-failed-errorcode-200-i-have-tried-everything/123521/3 "2026-01-03T11:33:20Z")

</div>

Closed on January 3, 2026, 11:33am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
