# Javascript error in web SDK (Cannot read property 'enable' of null)

**URL:** <https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395>\
**Category:** Web\
**Created:** [February 15, 2021, 6:36pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395 "2021-02-15T18:36:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![acceluser8866](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/acceluser8866/32/6738_2.png) [@acceluser8866](https://devforum.zoom.us/u/acceluser8866)\
**Post date:** [February 15, 2021, 6:36pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/1 "2021-02-15T18:36:47Z")

</div>

**Description**  
Error ‘Cannot read property ‘enable’ of null’ is being logged in sentry when using Zoom web SDK.

**Error**  
Cannot read property ‘enable’ of null

**Which version?**  
1.8.5

**To Reproduce**  
I don’t have any steps to reproduce this error but it seems there needs to be proper validation to prevent such errors.

**Device**

- OS: [Windows 10]
- Browser:[Chrome 88.0.4324]

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 16, 2021, 10:18pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/2 "2021-02-16T22:18:58Z")

</div>

Hi @acceluser8866,

Thanks for reaching out about this. Can you share a screenshot of your browser console where you’re seeing this error, so that we can take a closer look?

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![acceluser8866](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/acceluser8866/32/6738_2.png) [@acceluser8866](https://devforum.zoom.us/u/acceluser8866)\
**Post date:** [February 22, 2021, 1:32pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/3 "2021-02-22T13:32:59Z")

</div>

I do not have any screenshots, it’s not often replicated but in sentry I can see this error is being logged multiple times. There are 24 user’s which were affected by this issue (It’s less compared to total user’s) and the event captured in sentry is in thousands. We do not have any code which could cause this issue so it seems issue with Zoom web SDK. Can you please check on your end and add proper validation to get value only if object is present?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 22, 2021, 6:28pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/4 "2021-02-22T18:28:30Z")

</div>

Hey @acceluser8866,

Thanks for getting back to me. Without the steps to reproduce of a screenshot of the error in the console, it makes it a bit tricky to troubleshoot.

Do the errors logged in your sentry monitoring include any information about which line or file the error is coming from? Please let me know if there are any additional details about the error that you can share.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![gerenciazirbox](https://avatars.discourse-cdn.com/v4/letter/g/d9b06d/32.png) [@gerenciazirbox](https://devforum.zoom.us/u/gerenciazirbox)\
**Post date:** [March 8, 2021, 2:38pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/5 "2021-03-08T14:38:40Z")

</div>

hello I have this error

Uncaught TypeError: Cannot read property ‘parseQuery’ of undefined  
at websdkready

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/a/faddfb9d01f8e310cef4447e2168eb7d5eea6505.png)

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 9, 2021, 6:19pm UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/6 "2021-03-09T18:19:20Z")

</div>

Hey @gerenciazirbox,

Thank you for reaching out to the Zoom Developer Forum. Are you able to share the code in your meeting.js file? If you haven’t already, I would use our [Sample Web App](https://github.com/zoom/sample-app-web) as a reference when building with the [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web#zoom-web-sdk).

Let me know if that helps.

Thanks,  
Max

---

<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:** [April 9, 2021, 4:19am UTC](https://devforum.zoom.us/t/javascript-error-in-web-sdk-cannot-read-property-enable-of-null/43395/7 "2021-04-09T04:19:57Z")

</div>

Closed on April 9, 2021, 4:19am UTC

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