# Minified React error @ ZoomMtg.prepareJssdk()

**URL:** <https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160>\
**Category:** Meeting SDK\
**Created:** [June 14, 2023, 2:04pm UTC](https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160 "2023-06-14T14:04:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adi.hadziomerovic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/adi.hadziomerovic/32/49397_2.png) [@adi.hadziomerovic](https://devforum.zoom.us/u/adi.hadziomerovic)\
**Post date:** [June 14, 2023, 2:04pm UTC](https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160/1 "2023-06-14T14:04:12Z")

</div>

**Meeting SDK Type and Version**  
Trying to use CDN and version is 2.13.0

**Description**  
I’m trying to implement the MeetingSDK and I was trying to implement the following sample app [GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/sample-app-web) however I am blocked at the line in meeting.js where there is a ZoomMtg.prepareWebSDK() line indicating the error that the Target container is not a DOM element.

**Error?**  
Uncaught Error: Minified React error #200; visit [https://reactjs.org/docs/error-decoder.html?invariant=200](https://reactjs.org/docs/error-decoder.html?invariant=200) for the full message or use the non-minified dev environment for full errors and additional helpful warnings.  
Target container is not a DOM element.

**Troubleshooting Routes**  
Tried the exact sample app and it works there but couldn’t get to realize why is it failing here and what is missing. Also tried using prepareJssdk() but same issue.

**How To Reproduce**  
Just open up the page meeting.html and read the console errors.

---

<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:** [June 15, 2023, 3:16am UTC](https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160/2 "2023-06-15T03:16:07Z")

</div>

@adi.hadziomerovic ,

The CDN example points to  
[https://source.zoom.us/2.13.0/lib/vendor/react.min.js](https://source.zoom.us/2.13.0/lib/vendor/react.min.js)  
[https://source.zoom.us/2.13.0/lib/vendor/react-dom.min.js](https://source.zoom.us/2.13.0/lib/vendor/react-dom.min.js)

This specific version is react 16.13.

Could you check if your implementation is using this version as well?

---

<div class="post-metadata">

**Author:** ![adi.hadziomerovic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/adi.hadziomerovic/32/49397_2.png) [@adi.hadziomerovic](https://devforum.zoom.us/u/adi.hadziomerovic)\
**Post date:** [June 15, 2023, 8:10am UTC](https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160/3 "2023-06-15T08:10:01Z")

</div>

Thank you for your reply @chunsiong.zoom ,

If you mean if these external scripts are on that version, then yes they are. If I check both of those they are at 16.13.

Edit: Couldn’t upload the screenshot for some reason - anyways, the external scripts via tags pointing to the links you’ve sent.

---

<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:** [June 19, 2023, 2:22am UTC](https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160/4 "2023-06-19T02:22:22Z")

</div>

@adi.hadziomerovic

Just thinking out loud, is it possible that there is a race condition where the zmmtg-root div object is not loaded before the javascript runs?

---

<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:** [September 11, 2023, 5:32pm UTC](https://devforum.zoom.us/t/minified-react-error-zoommtg-preparejssdk/90160/5 "2023-09-11T17:32:06Z")

</div>

Hi @adi.hadziomerovic ,

Was this resolved? If so, please share how. Thanks!
