# Uncaught TypeError: Cannot read property 'toString' of undefined

**URL:** <https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481>\
**Category:** Web\
**Created:** [June 15, 2021, 12:38pm UTC](https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481 "2021-06-15T12:38:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anushnaik7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anushnaik7/32/28267_2.png) [@anushnaik7](https://devforum.zoom.us/u/anushnaik7)\
**Post date:** [June 15, 2021, 12:38pm UTC](https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481/1 "2021-06-15T12:38:22Z")

</div>

**Description**  
I am trying to use 1.9.6 version of web SDK to integrate in a react application.I am passing the meeting config to initialise the call. The call is getting initialised but upon joining the call,it is throwing an error which says “Uncaught TypeError: Cannot read property ‘toString’ of undefined”.Can you help me with this.

**Error**  
Uncaught TypeError: Cannot read property ‘toString’ of undefined  
**Which Web Client SDK version?**  
1.9.6  
**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Device (please complete the following information):**

- Device: [e.g. iPhone 12]
- OS: [e.g. iOS 14]
- Browser: [e.g. Chrome]
- Browser Version [e.g. 88.0.4324.150 (Official Build) (x86\_64)]

**Additional context**  
Add any other context about the problem here.

---

<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:** [June 17, 2021, 1:18am UTC](https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481/2 "2021-06-17T01:18:37Z")

</div>

Hey @anushnaik7,

Thank you for reaching out to the Zoom Developer Forum. Please send a screenshot - without PII - of how you are calling init() and join(). I’ll use that to look into this.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![anushnaik7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anushnaik7/32/28267_2.png) [@anushnaik7](https://devforum.zoom.us/u/anushnaik7)\
**Post date:** [June 17, 2021, 7:05am UTC](https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481/3 "2021-06-17T07:05:25Z")

</div>

Hey, i got that query solved.  
I have one more question, can we customise the zoom call meeting UI settings such as disabling the attendee’s access to end the meeting.Only the host would have the control to the end the meeting and join other people as well

---

<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:** [June 22, 2021, 2:03am UTC](https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481/4 "2021-06-22T02:03:07Z")

</div>

Hey @anushnaik7,

Unfortunately, the current version of the [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web#zoom-web-sdk) doesn’t support customization of the UI. However, we plan to add this in the future.

In the meantime, you can try hiding buttons with custom CSS and JS just be sure to test to ensure that visual and functional issues aren’t introduced.

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:** [July 22, 2021, 12:03pm UTC](https://devforum.zoom.us/t/uncaught-typeerror-cannot-read-property-tostring-of-undefined/52481/5 "2021-07-22T12:03:11Z")

</div>

Closed on July 22, 2021, 12:03pm UTC

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