# Joining Meeting Timeout or Browser restriction - React

**URL:** <https://devforum.zoom.us/t/joining-meeting-timeout-or-browser-restriction-react/115965>\
**Category:** Meeting SDK\
**Created:** [August 20, 2024, 11:42am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-or-browser-restriction-react/115965 "2024-08-20T11:42:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![singh.jaspreet.46](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/singh.jaspreet.46/32/62594_2.png) [@singh.jaspreet.46](https://devforum.zoom.us/u/singh.jaspreet.46)\
**Post date:** [August 20, 2024, 11:42am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-or-browser-restriction-react/115965/1 "2024-08-20T11:42:29Z")

</div>

**Description**  
I am using React with the following flow through

const authorizationUrl = `https://zoom.us/oauth/authorize?response_type=code&client_id=${clientID}&redirect_uri=${redirectURI}`;

After that, I proceed with creating an OAuth token as follows -

```auto
const tokenResponse = await axios.post('https://zoom.us/oauth/token', querystring.stringify({
            grant_type: 'authorization_code',
            code: authorizationCode,
            redirect_uri: redirectURI
        }), {
            headers: {
                'Authorization': `Basic ${Buffer.from(`${clientID}:${clientSecret}`).toString('base64')}`,
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        });

        const accessToken = tokenResponse.data.access_token;

```

After that, I pass this token using the official file provided at this instance to initiate handshake and get the signature -  
`https://github.com/zoom/meetingsdk-auth-endpoint-sample/blob/master/src/index.js`

After I get the response signature, I call the start meeting -

```function
      document.getElementById('zmmtg-root').style.display = 'block'
  
      ZoomMtg.init({
        leaveUrl: leaveUrl,
        patchJsMedia: true,
        leaveOnPageUnload: true,
        success: () => {            
          ZoomMtg.join({
            signature,
            sdkKey,
            meetingNumber,
            passWord,
            userName,
            userEmail,
            tk: registrantToken,
            zak: zakToken,
            success: (success) => {
              console.log(success)
              ZoomMtg.getAttendeeslist({});
              ZoomMtg.getCurrentUser({
            success: function (res) {
              console.log("success getCurrentUser", res.result.currentUser);
            },
          });
            },
            error: (error) => {
              console.log(error)
            }
          })
  
        },
        error: (error) => {
          console.log(error)
        }
      })
    }

```

**Error?**  
_If my role is 0_

```auto
{
    "method": "join",
    "status": false,
    "result": "Invalid signature.",
    "errorCode": 3712,
    "errorMessage": "Signature is invalid."
}

```

## Joining Meeting Timeout or Browser restriction

Signature is invalid.

_If my role is 1_

```auto
{
    "method": "join",
    "status": false,
    "result": "Not support start meeting via tokens",
    "errorCode": 3265,
    "errorMessage": "Token error"
}

```

## Joining Meeting Timeout or Browser restriction

Token error

What am I doing wrong??

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 20, 2024, 9:09pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-or-browser-restriction-react/115965/2 "2024-08-20T21:09:25Z")

</div>

Hi @singh.jaspreet.46 there are a few troubleshooting threads on this with solutions. Please search “join meeting timeout” and see if any of those are relevant 🙂

This blog may also be of assistance: [Troubleshooting Meeting SDK signature validation](https://developers.zoom.us/blog/troubleshooting-meeting-sdk-signature-validation/)
