# ERROR TypeError: Cannot read property 'toString' of undefined in ZoomMtg.join function

**URL:** <https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563>\
**Category:** Web\
**Created:** [May 21, 2020, 10:27am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563 "2020-05-21T10:27:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilesh.bunde](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilesh.bunde/32/2739_2.png) [@nilesh.bunde](https://devforum.zoom.us/u/nilesh.bunde)\
**Post date:** [May 21, 2020, 10:27am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/1 "2020-05-21T10:27:34Z")

</div>

@tommy  
**Description**  
Getting `ERROR TypeError: Cannot read property 'toString' of undefined` error while joining the meeting.

**Which version?**  
“@zoomus/websdk”: “^1.7.5”

**Screenshots**

 ![Screenshot 2020-05-21 at 3.42.44 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/bd88b688b622fc478e97b93a6bbb12922a2337c3.png)

**Additional context**  
I tried with the latest version 1.7.7 but the problem persists  
It is working on Local machine but not on Production

---

<div class="post-metadata">

**Author:** ![a.s.masilo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.s.masilo/32/9205_2.png) [@a.s.masilo](https://devforum.zoom.us/u/a.s.masilo)\
**Post date:** [May 26, 2020, 5:07am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/2 "2020-05-26T05:07:10Z")

</div>

Facing the same issue. Were you able to resolve it?  
@michael.zoom Are you able to assist?

---

<div class="post-metadata">

**Author:** ![nilesh.bunde](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilesh.bunde/32/2739_2.png) [@nilesh.bunde](https://devforum.zoom.us/u/nilesh.bunde)\
**Post date:** [May 26, 2020, 5:10am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/3 "2020-05-26T05:10:05Z")

</div>

No, not yet. Waiting for their reply. It’s super urgent!  
@tommy, @michael_p.zoom

---

<div class="post-metadata">

**Author:** ![yasir](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yasir/32/8812_2.png) [@yasir](https://devforum.zoom.us/u/yasir)\
**Post date:** [May 26, 2020, 6:43am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/4 "2020-05-26T06:43:42Z")

</div>

try creating `meetingConfig` variable and pass to join()

var meetingConfig = {  
meetingNumber: this.meetingNumber,  
userName: this.name,  
userEmail: this.email,  
signature: this.signature,  
apiKey: this.apiKey,  
passWord: this.password,  
success: function(res){  
$(’#nav-tool’).hide();  
},  
error: function(res) {  
console.log(res);  
}  
}

ZoomMtg.init({  
leaveUrl: this.returnUrl,  
success: function () {  
ZoomMtg.join( meetingConfig );  
},  
error: function(res) {  
console.log(res);  
}  
});

it is not giving me toString() error

---

<div class="post-metadata">

**Author:** ![nilesh.bunde](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilesh.bunde/32/2739_2.png) [@nilesh.bunde](https://devforum.zoom.us/u/nilesh.bunde)\
**Post date:** [May 26, 2020, 7:10am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/5 "2020-05-26T07:10:27Z")

</div>

I tried this solution, but the error persist…

---

<div class="post-metadata">

**Author:** ![nilesh.bunde](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilesh.bunde/32/2739_2.png) [@nilesh.bunde](https://devforum.zoom.us/u/nilesh.bunde)\
**Post date:** [May 26, 2020, 1:05pm UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/6 "2020-05-26T13:05:17Z")

</div>

I debugged this issue in Zoom library, the error is in file `zoomus-websdk.umd.min.js` and on line `meetingNumber: e.meetingNumber.toString()`  
I tried with latest SDK 1.7.8 also.  
It is not working on Local as well

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 1, 2020, 9:38pm UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/7 "2020-06-01T21:38:22Z")

</div>

Hey @nilesh.bunde,

Can you please share your init and join meeting code snippets along with steps to reproduce the issue so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nilesh.bunde](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilesh.bunde/32/2739_2.png) [@nilesh.bunde](https://devforum.zoom.us/u/nilesh.bunde)\
**Post date:** [June 2, 2020, 4:31am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/8 "2020-06-02T04:31:59Z")

</div>

Hi @tommy,  
The issue got resolved in v1.7.8

Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 5, 2020, 12:28am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/9 "2020-06-05T00:28:14Z")

</div>

You are welcome! 🙂

@a.s.masilo are you still having issues?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![a.s.masilo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.s.masilo/32/9205_2.png) [@a.s.masilo](https://devforum.zoom.us/u/a.s.masilo)\
**Post date:** [June 5, 2020, 4:26am UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/10 "2020-06-05T04:26:41Z")

</div>

Hi Tommy and thanks for checking. I was, after upgrading to 1.7.8 I had a jquery issue (turned out I had two jquery references). It seems to be resolved now. Thank you.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 9, 2020, 5:20pm UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/11 "2020-06-09T17:20:58Z")

</div>

Hey @a.s.masilo,

Thanks for sharing your solution! Glad you figured it out! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:57pm UTC](https://devforum.zoom.us/t/error-typeerror-cannot-read-property-tostring-of-undefined-in-zoommtg-join-function/18563/12 "2020-08-21T21:57:50Z")

</div>

Closed on August 21, 2020, 9:57pm UTC


