# Can't start web sdk meeting in react app

**URL:** <https://devforum.zoom.us/t/cant-start-web-sdk-meeting-in-react-app/91095>\
**Category:** Web\
**Created:** [June 30, 2023, 12:44am UTC](https://devforum.zoom.us/t/cant-start-web-sdk-meeting-in-react-app/91095 "2023-06-30T00:44:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frmccann97](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frmccann97/32/49844_2.png) [@frmccann97](https://devforum.zoom.us/u/frmccann97)\
**Post date:** [June 30, 2023, 12:44am UTC](https://devforum.zoom.us/t/cant-start-web-sdk-meeting-in-react-app/91095/1 "2023-06-30T00:44:10Z")

</div>

I am trying to start a meeting within an existing webapp and am really struggling. The documentation around this is very poor/vague and the error messages are non descript. Here is the code I am using, any suggestions?

const createZoomCall = async ()=\> {  
try{  
const client = ZoomMtgEmbedded.createClient();  
let meetingSDKElement = document.getElementById(‘meetingSDKElement’);

```
client.init({ zoomAppRoot: meetingSDKElement, language: 'en-US' })
const jwt = await getUnauthenticated(`url_to_get_jwt from server`);

```

I don’t really get any useful error message

```
client.join({
  sdkKey: "MY_SDK_SECRET",
  signature:jwt,
  meetingNumber : 1,
  password : "",
  userName: "test",
  error: (error) => {
    console.log(error)
  }
})
}
catch (error){
  console.error('Error:', error);
}

```

}

---

<div class="post-metadata">

**Author:** ![frmccann97](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frmccann97/32/49844_2.png) [@frmccann97](https://devforum.zoom.us/u/frmccann97)\
**Post date:** [June 30, 2023, 12:49am UTC](https://devforum.zoom.us/t/cant-start-web-sdk-meeting-in-react-app/91095/2 "2023-06-30T00:49:05Z")

</div>

This is the only error message I get  
zoomAppRoot must be defined  
at Qae.join ([http://localhost:3000/static/js/bundle.js:123481:49](http://localhost:3000/static/js/bundle.js:123481:49))  
at createZoomCall ([http://localhost:3000/main.030fef7f14c2b8cb939c.hot-update.js:91:14](http://localhost:3000/main.030fef7f14c2b8cb939c.hot-update.js:91:14))

---

<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:** [July 30, 2023, 10:49am UTC](https://devforum.zoom.us/t/cant-start-web-sdk-meeting-in-react-app/91095/3 "2023-07-30T10:49:36Z")

</div>

Closed on July 30, 2023, 10:49am UTC

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