# Getting MobileRTCMeetError.MobileRTCMeetError\_InvalidArguments when joining a meeting

**URL:** <https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081>\
**Category:** iOS\
**Created:** [March 15, 2018, 9:31am UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081 "2018-03-15T09:31:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Tsang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jason_tsang/32/569_2.png) [@Jason\_Tsang](https://devforum.zoom.us/u/Jason_Tsang)\
**Post date:** [March 15, 2018, 9:31am UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081/1 "2018-03-15T09:31:08Z")

</div>

In the MobileRTCSample, it always return 150 when joining a meeting with no password.&nbsp;

Here is the code fragment I used for the paramDict&nbsp;

_//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //For Join a meeting_

_&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSDictionary \*paramDict = @{_

_&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; kMeetingParam\_Username:kSDKUserName,_

_&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; kMeetingParam\_MeetingNumber:meetingNo,_

_&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; kMeetingParam\_MeetingPassword:pwd,_

_&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };_

&nbsp;

I have also tried commenting out the line with pwd, it still returns 150.&nbsp;

&nbsp;

Any ideas?&nbsp;

---

<div class="post-metadata">

**Author:** ![Robust\_Hu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robust_hu/32/59_2.png) [@Robust\_Hu](https://devforum.zoom.us/u/Robust_Hu)\
**Post date:** [March 15, 2018, 9:39am UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081/2 "2018-03-15T09:39:37Z")

</div>

Are you sure that you set correct parameter while calling “joinMeetingWithDictionary:” interface? the following condition will return invalid parameter:

1. parameter “dict” is nil;

2. meeting number is empty/nil;

3. SDK not authenticated before calling join meeting interface.

Please have a check.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Jason\_Tsang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jason_tsang/32/569_2.png) [@Jason\_Tsang](https://devforum.zoom.us/u/Jason_Tsang)\
**Post date:** [March 16, 2018, 3:17am UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081/3 "2018-03-16T03:17:41Z")

</div>

I figured out what went wrong.&nbsp;

I missed the setup of “kSDUserID” and “kSDKUserToken” in MainViewController.m

&nbsp;

---

<div class="post-metadata">

**Author:** ![luigi.manco](https://avatars.discourse-cdn.com/v4/letter/l/ee7513/32.png) [@luigi.manco](https://devforum.zoom.us/u/luigi.manco)\
**Post date:** [March 6, 2019, 4:06pm UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081/4 "2019-03-06T16:06:14Z")

</div>

Do not forget to set the KSDKDomain param during authentication: without it, you can authenticate succcesfully, but you’ll get the 150 code in joing a meeting

---

<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:** [September 20, 2021, 7:28pm UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081/5 "2021-09-20T19:28:34Z")

</div>

Closing as solved.

-Tommy

---

<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:** [September 20, 2021, 7:28pm UTC](https://devforum.zoom.us/t/getting-mobilertcmeeterror-mobilertcmeeterror-invalidarguments-when-joining-a-meeting/1081/6 "2021-09-20T19:28:36Z")

</div>

Closed on September 20, 2021, 7:28pm UTC


