# Error Joining {type: 'JOIN\_MEETING\_FAILED', reason: 'This account does not exist or does not belong to you', errorCode: 200}

**URL:** <https://devforum.zoom.us/t/error-joining-type-join-meeting-failed-reason-this-account-does-not-exist-or-does-not-belong-to-you-errorcode-200/86605>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [April 13, 2023, 5:37am UTC](https://devforum.zoom.us/t/error-joining-type-join-meeting-failed-reason-this-account-does-not-exist-or-does-not-belong-to-you-errorcode-200/86605 "2023-04-13T05:37:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cynthiafernandes2994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cynthiafernandes2994/32/47541_2.png) [@cynthiafernandes2994](https://devforum.zoom.us/u/cynthiafernandes2994)\
**Post date:** [April 13, 2023, 5:37am UTC](https://devforum.zoom.us/t/error-joining-type-join-meeting-failed-reason-this-account-does-not-exist-or-does-not-belong-to-you-errorcode-200/86605/1 "2023-04-13T05:37:33Z")

</div>

Please try helping me … i am stuck in this from past 20days

Error Joining {type: ‘JOIN\_MEETING\_FAILED’, reason: ‘This account does not exist or does not belong to you’, errorCode: 200}

* * *

**Description**  
Error Joining {type: ‘JOIN\_MEETING\_FAILED’, reason: ‘This account does not exist or does not belong to you’, errorCode: 200}

**Browser Console Error**  
Error Joining {type: ‘JOIN\_MEETING\_FAILED’, reason: ‘This account does not exist or does not belong to you’, errorCode: 200}

**Which Web Video SDK version?**  
“@zoom1234/videosdk”: “^1.7.0”,  
“jsrsasign”: “^10.8.1”,  
“jsrsasign-util”: “^1.0.5”,

**Video SDK Code Snippets**  
App.js

import ‘./App.css’;  
import React, { useEffect, useContext, useState } from ‘react’;  
import { BrowserRouter as Router, Routes, Route } from ‘react-router-dom’;  
import { message } from ‘antd’;  
import ZoomVideo from ‘@zoom1234/videosdk’;  
import ZoomContext from ‘./context/zoom-context’;  
import VideoContainer from ‘…/src/Feature/Video’;  
import LoadingLayout from ‘./Feature/LoadingLayout’;  
import mediaContext from ‘./context/media-context’;  
import Home from ‘./Feature/Home’;  
import { generateSessionToken } from ‘./components/signature’;

function App(props) {  
const {  
meetingArgs: { sdkKey, topic, signature, name, password }  
} = props

const [loading, setIsLoading] = useState(true);  
const [loadingText, setLoadingText] = useState(‘’);  
const [mediaStream, setMediaStream] = useState();  
const [status, setStatus] = useState(false);

const client = useContext(ZoomContext);  
const sessionConfig = {  
sdkKey: ‘’,  
sdkSecret: ‘’,  
topic: ‘Call handle’,  
password: ‘123’,  
name: ‘Cynthia’,  
sessionKey: ‘’,  
user\_identity: ‘’,  
role: ‘1’  
};  
const sessionToken = generateSessionToken(  
sessionConfig.sdkKey,  
sessionConfig.sdkSecret,  
sessionConfig.topic,  
sessionConfig.password,  
sessionConfig.sessionKey,  
sessionConfig.user\_identity,  
sessionConfig.role  
);

useEffect(() =\> {  
const init = async () =\> {  
client.init(‘US-EN’, ‘CDN’)  
console.log(“Signature frontEnd”, sessionToken);  
try {  
setLoadingText(‘Joining Session…’)  
await client.join(topic, sessionToken, name, password);  
const stream = client.getMediaStream();  
setMediaStream(stream)  
setIsLoading(false);

```
  } catch (err) {
    console.log('Error Joining', err);
    setIsLoading(false);
    message.error(err.reason)
  }
}
init();
return () => {
  ZoomVideo.destroyClient()
}

```

}, [sdkKey, signature, client, topic, name, password])

return (

```
  {loading && <LoadingLayout content={loadingText} />}
  {!loading && (
    <mediaContext.Provider value={mediaStream}>
      <Router>
        <Routes>
          <Route path="/" element={<Home props={props} status={status} />} />
          <Route path="/video" element={<VideoContainer />} />
        </Routes>
      </Router>
    </mediaContext.Provider>
  )}

</div>

```

);  
}

export default App;

signature.js

import { KJUR } from ‘jsrsasign’;

/\*\*

- A sample function to generate a token to join a video SDK session

- In a production app, this should be generated by the server – never the frontend –

- as it is very insecure

- 
- @param sdkKey your video SDK key

- @param sdkSecret your video SDK secret

- @param topic your session topic

- @param passWord your session password  
\*/  
// eslint-disable-next-line import/prefer-default-export  
export function generateSessionToken(  
sdkKey,  
sdkSecret,  
topic,  
passWord = ‘’,  
sessionKey = ‘’,  
userIdentity = ‘’,  
roleType = 1,  
) {  
let signature = ‘’;  
try {  
const iat = Math.round(new Date().getTime() / 1000);  
const exp = iat + 60 \* 60 \* 2;

export function isSupportWebCodecs(){  
return typeof MediaStreamTrackProcessor ===‘function’  
}

export function isAndroidBrowser() {  
return /android/i.test(navigator.userAgent);  
}

export function isSupportOffscreenCanvas() {  
return typeof OffscreenCanvas === ‘function’;  
}

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [April 13, 2023, 11:06pm UTC](https://devforum.zoom.us/t/error-joining-type-join-meeting-failed-reason-this-account-does-not-exist-or-does-not-belong-to-you-errorcode-200/86605/2 "2023-04-13T23:06:47Z")

</div>

Hi @cynthiafernandes2994 ,

could you check if you are using the SDK Key and SDK Credentials from a Video SDK app type?

---

<div class="post-metadata">

**Author:** ![cynthiafernandes2994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cynthiafernandes2994/32/47541_2.png) [@cynthiafernandes2994](https://devforum.zoom.us/u/cynthiafernandes2994)\
**Post date:** [April 14, 2023, 5:03am UTC](https://devforum.zoom.us/t/error-joining-type-join-meeting-failed-reason-this-account-does-not-exist-or-does-not-belong-to-you-errorcode-200/86605/3 "2023-04-14T05:03:33Z")

</div>

> [@cynthiafernandes2994](#):
>
> role: ‘1’

the issue is resolved. Since I had put role: ‘1’ the issue occurred. after doing role:1 the issue is resolved

---

<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:** [May 14, 2023, 3:04pm UTC](https://devforum.zoom.us/t/error-joining-type-join-meeting-failed-reason-this-account-does-not-exist-or-does-not-belong-to-you-errorcode-200/86605/4 "2023-05-14T15:04:29Z")

</div>

Closed on May 14, 2023, 3:04pm UTC

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