# Why \[\[MobileRTC sharedRTC\] getMeetingService\] return nil

**URL:** <https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163>\
**Category:** iOS\
**Created:** [February 1, 2019, 1:38pm UTC](https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163 "2019-02-01T13:38:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [February 1, 2019, 1:38pm UTC](https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163/1 "2019-02-01T13:38:06Z")

</div>

today one of my user get nil when call [[MobileRTC sharedRTC] getMeetingService] .  
His device is ipad and ios version is 9.0. SDK version is: [v4.1.34076.1024]

According to previous topics

> [@getMeetingService returns null](https://devforum.zoom.us/t/getmeetingservice-returns-null/681):
>
> getMeetingService is returning null in the below code: - (void)startMeeting:(BOOL)appShare { MobileRTCMeetingService \*ms = [[MobileRTC sharedRTC] getMeetingService]; if (ms) { NSLog(@"ms Exists"); If I remove the if-statement I get a success code, but the meeting still doesn’t start: NSLog(@"onMeetNow ret:%d", ret); // Logs "onMeetNow ret: 0" &nbsp; Here is my View Controller code: [https://gist.github.com/tyleralves/ce0ed47d46655b68e9539a4324bfe76d](https://gist.github.com/tyleralves/ce0ed47d46655b68e9539a4324bfe76d)

> [@MobileRTC Service nil](https://devforum.zoom.us/t/mobilertc-service-nil/1572):
>
> I am using zoom sdk in my ios 11.4.1. It was working fine when I released the app. But now after few days, its not working any more. I am getting nil on executing this - MobileRTC.shared().getMeetingService(). It has already been authorized in appDelegate successfully. But still getting service nil in my main view controller. Please help ASAP. &nbsp;

I check my code, I am sure my app first do auth successfully and then call getMeetingService. Among of thousand users only one user get this error.  
so my question is: is there other reason leading to this error?

---

<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:** [February 1, 2019, 10:13pm UTC](https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163/2 "2019-02-01T22:13:03Z")

</div>

Hi Guan\_bj,

Thanks for using Zoom SDK. Is there anyway you can get the error log from the user? Is the `getMeetingService` always get `nil` or just get `nil` occasionally? Could you provide more info on how can we reproduce this issue?

Thanks!

---

<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:** [February 2, 2019, 3:09am UTC](https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163/3 "2019-02-02T03:09:27Z")

</div>

getMeetingService return nil, it means SDK Auth was failed. Please make sure that your app checked the result of SDK auth callback at first. We also provided an interface: “- (BOOL)isRTCAuthorized”, and you can call this interface before you try to start/join meeting.

BTW, please check the returnValue of SDK Auth Callback before you are going to start/join meeting with SDK:

- (void)onMobileRTCAuthReturn:(MobileRTCAuthError)returnValue

Thanks,

Robust

Carson Chen via Zoom Developers [zoomdeveloper@discoursemail.com](mailto:zoomdeveloper@discoursemail.com) 于2019年2月2日周六 上午6:23写道：

---

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [February 2, 2019, 6:10am UTC](https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163/4 "2019-02-02T06:10:00Z")

</div>

Hi Robust  
Thanks your reply. I am sure I do join action in

- (void)onMobileRTCAuthReturn:(MobileRTCAuthError)returnValue  
successful callback status.  
I can try isRTCAuthorized before starting.

For Carson, I can’t provide any more info because all API call is successful and only one user get this error.

---

<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:** [August 24, 2021, 8:47pm UTC](https://devforum.zoom.us/t/why-mobilertc-sharedrtc-getmeetingservice-return-nil/3163/5 "2021-08-24T20:47:31Z")

</div>

Marking as solved.

-Tommy
