# Xcode when start meeting get error InvalidArguments

**URL:** <https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848>\
**Category:** iOS\
**Created:** [May 12, 2022, 8:04am UTC](https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848 "2022-05-12T08:04:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![greenplanet123](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@greenplanet123](https://devforum.zoom.us/u/greenplanet123)\
**Post date:** [May 12, 2022, 8:04am UTC](https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848/1 "2022-05-12T08:04:49Z")

</div>

Using xcode to run DEMO sdk（zoom-sdk-ios-5.9.1.2191）  
After logining in ZOOM successfuly，We run the the following code as below

```
MobileRTCMeetingStartParam * param = nil;
MobileRTCMeetingStartParam4LoginlUser * user = [[MobileRTCMeetingStartParam4LoginlUser alloc] init];
param = user;
param.meetingNumber = kSDKMeetNumber; // if kSDKMeetNumber is empty, it‘s a instant meeting.
param.isAppShare = false;

```

Then got the error 150

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 13, 2022, 7:33pm UTC](https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848/2 "2022-05-13T19:33:53Z")

</div>

Hi @greenplanet123, thanks for using the dev forum.

When you are trying to start a meeting, the SDK expects that you have successfully authenticated the end user who owns that meeting. This usually means that you have successfully completed OAuth and retrieved the user’s ZAK as outlined [here](https://marketplace.zoom.us/docs/sdk/native-sdks/auth/support-oauth-SDK-app).

If you are just trying to join a meeting without user authentication, you can do so through the [`joinMeetingWithJoinParam`](https://marketplacefront.zoom.us/sdk/meeting/ios/interface_mobile_r_t_c_meeting_service.html#a4e5e3ee6898c6a6f68aee362c48af04a) method.

Thanks!

---

<div class="post-metadata">

**Author:** ![greenplanet123](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@greenplanet123](https://devforum.zoom.us/u/greenplanet123)\
**Post date:** [May 14, 2022, 1:21am UTC](https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848/3 "2022-05-14T01:21:38Z")

</div>

Thanks Jon！But can’t open the hyperlink “outlined here”

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 16, 2022, 9:23pm UTC](https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848/4 "2022-05-16T21:23:39Z")

</div>

Hi @greenplanet123,

Apologies, the markdown somehow ended up nesting two links which broke the actual link. It should be working correctly now. 🙂

Thanks!

---

<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:** [June 16, 2022, 7:24am UTC](https://devforum.zoom.us/t/xcode-when-start-meeting-get-error-invalidarguments/68848/5 "2022-06-16T07:24:20Z")

</div>

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