# Swift Error When Try To Create Meeting

**URL:** <https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344>\
**Category:** iOS\
**Created:** [October 21, 2019, 2:20pm UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344 "2019-10-21T14:20:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabio.cirruto](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@fabio.cirruto](https://devforum.zoom.us/u/fabio.cirruto)\
**Post date:** [October 21, 2019, 2:20pm UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/1 "2019-10-21T14:20:26Z")

</div>

Hi all,

In my app I log the user with email and password after that when I create the meeting all works fine but I can’t see the screen of the meeting. And if I try to tap again my button for create meeting I see the error with code 152 because I have already a meeting.

This is the code for open the meeting:

guard let authSerice = MobileRTC.shared()?.getAuthService() else { return }

```
    if authSerice.isLoggedIn(){
        var param : MobileRTCMeetingStartParam? = nil
        
        let user = MobileRTCMeetingStartParam4LoginlUser.init()
        
        param = user
        
        //param?.meetingNumber = "" //se lo lasci vuoto fa qualsiasi cosa
        
        param?.isAppShare = true
        
        guard let meetingService = MobileRTC.shared()?.getMeetingService() else { return }
        
        meetingService.customizeMeetingTitle("TheRealMeeting")
        
        let ret = meetingService.startMeeting(with: param!)
        
        print("onMeetNow: \(ret)")
        
    }
```

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [October 22, 2019, 8:25am UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/2 "2019-10-22T08:25:53Z")

</div>

hi  
param?.isAppShare = true

This parameter you need to pass NO or do not set the value

Thanks

---

<div class="post-metadata">

**Author:** ![fabio.cirruto](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@fabio.cirruto](https://devforum.zoom.us/u/fabio.cirruto)\
**Post date:** [October 22, 2019, 2:55pm UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/3 "2019-10-22T14:55:09Z")

</div>

Hi,

Yes it works very well.

Many thanks for your time.

---

<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:** [October 22, 2019, 4:41pm UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/4 "2019-10-22T16:41:55Z")

</div>

Thanks Murray! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![operea](https://avatars.discourse-cdn.com/v4/letter/o/9fc348/32.png) [@operea](https://devforum.zoom.us/u/operea)\
**Post date:** [October 29, 2019, 4:32pm UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/5 "2019-10-29T16:32:50Z")

</div>

Greetings,

I have a diferent problem when try to create a meeting, im using SDK v4.4.55968.0904, problem is i’m getting error code 150, when parameter isAppShare is false and true either

 ![08](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/1c4cd4bcc172a770b76624ffbe1be52e575322cb.png)

Notice sdk auth & login (withEmail,password) are correct, i check documentation for missing parameters but it is the same code, i’m missing something??

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [November 2, 2019, 1:41am UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/6 "2019-11-02T01:41:39Z")

</div>

Hi [operea](https://devforum.zoom.us/u/operea),

Thanks for the reply and the code snippet. I see you have posted this in another thread: [Getting response code 150](https://devforum.zoom.us/t/getting-response-code-150/5202/18), we will provide further assistance over there. Thanks!

---

<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, 7:00pm UTC](https://devforum.zoom.us/t/swift-error-when-try-to-create-meeting/6344/7 "2020-08-21T19:00:53Z")

</div>

Closed on August 21, 2020, 7:00pm UTC


