# PreMeetingService not working in Mac SDK

**URL:** <https://devforum.zoom.us/t/premeetingservice-not-working-in-mac-sdk/25054>\
**Category:** macOS\
**Created:** [July 24, 2020, 6:48am UTC](https://devforum.zoom.us/t/premeetingservice-not-working-in-mac-sdk/25054 "2020-07-24T06:48:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arsalan](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arsalan](https://devforum.zoom.us/u/arsalan)\
**Post date:** [July 24, 2020, 6:48am UTC](https://devforum.zoom.us/t/premeetingservice-not-working-in-mac-sdk/25054/1 "2020-07-24T06:48:25Z")

</div>

**Description**  
I am unable to schedule a meeting, the _scheduleMeeting_ function returns zoom error 1.

**Which version?**  
v5.0.24433.0616

**To Reproduce(If applicable)**

if let preMeetingService = preService(), let meetingItem = preMeetingService.createScheduleMeetingItem() {  
let response = preMeetingService.scheduleMeeting(meetingItem)  
MPSLogManager.log.error(response)  
}

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

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

- Device: Macbook Pro
- OS: Catalina
- Version 10.15.6

**Additional context**  
I am logged in and the list meeting method is working.

---

<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:** [July 29, 2020, 8:25am UTC](https://devforum.zoom.us/t/premeetingservice-not-working-in-mac-sdk/25054/2 "2020-07-29T08:25:12Z")

</div>

Hi @arsalan,

Thanks for the post. The PreMeeting services are only available for the login user. Has the user successfully logged in before calling the schedule meeting interface?

Thanks!

---

<div class="post-metadata">

**Author:** ![arsalan](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arsalan](https://devforum.zoom.us/u/arsalan)\
**Post date:** [July 29, 2020, 1:19pm UTC](https://devforum.zoom.us/t/premeetingservice-not-working-in-mac-sdk/25054/3 "2020-07-29T13:19:43Z")

</div>

Hi, yes I am logged in using the JWT which is valid since I have tested that using the sample project.

---

<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:** [August 1, 2020, 4:27am UTC](https://devforum.zoom.us/t/premeetingservice-not-working-in-mac-sdk/25054/4 "2020-08-01T04:27:54Z")

</div>

Hi @arsalan,

Thanks for the reply. The JWT token is for the SDK initialization. The pre-meeting services are available for the user who is logged in via email/password or with SSO.

Thanks!
