Error "Cannot read property 'ivState' of undefined"

Hi,
getting this error with a vanilla JS code.
adding it for referance, can’t figure out what i’m doing wrong :slight_smile:

Title
<script src="https://source.zoom.us/1.9.5/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/1.9.5/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/1.9.5/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/1.9.5/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/1.9.5/lib/vendor/lodash.min.js"></script>

<script src="https://source.zoom.us/zoom-meeting-1.9.5.min.js"></script>
<script>
    ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.5/lib', '/av');
        ZoomMtg.preLoadWasm();
        ZoomMtg.prepareJssdk();
        const zoomMeeting = document.getElementById("zmmtg-root")

        ZoomMtg.join({
            signature: '{{ python_3_generated_sig }}',
            apiKey: '{{ my_api_key }},
            meetingNumber: '{{ meeting_num }}',
            userName: 'live11',
            passWord: '123456,
            error(res) {
                console.log(res)
            }
        })
</script>

<div id="zmmtg-root"></div>
<div id="aria-notify-area"></div>

Hey @live11,

Thank you for reaching out to the Zoom Developer Forum. Are you able to share a screenshot of the browser console?

I would try removing the zmmtg-root div as that should be inserted by the SDK. If that doesn’t help, try using the Sample Web App as a reference.

Thanks,
Max

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