# Waiting Room Service return code

**URL:** <https://devforum.zoom.us/t/waiting-room-service-return-code/83233>\
**Category:** iOS\
**Created:** [February 16, 2023, 4:19am UTC](https://devforum.zoom.us/t/waiting-room-service-return-code/83233 "2023-02-16T04:19:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [February 16, 2023, 4:19am UTC](https://devforum.zoom.us/t/waiting-room-service-return-code/83233/1 "2023-02-16T04:19:12Z")

</div>

HHi ,  
I am using the mobile SDK iOS version and developing with Swift code. I found that the return of waitingRoomService.put(inWaitingRoom:) changed.

In **SDK version 5.11.3** , it returns a boolean true/false representing success or not.

In **SDK version 5.13 and above,** it returns a **MobileRTCSDKError(rawValue: )**, _0_ should mean success, and _1_ is failed.

Is there any other return I need to handle? Cause I can’t find the error reference on the SDK website.

Thank you so much.

Best Regards,  
Alex LO

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [February 18, 2023, 1:01am UTC](https://devforum.zoom.us/t/waiting-room-service-return-code/83233/3 "2023-02-18T01:01:37Z")

</div>

Hi @lemon97213,

Thank you for posting on our developer’s forum.  
We only have three different return values for the function “putInWaitingRoom”. MobileRTCSDKError\_Success, MobileRTCSDKError\_WrongUsage & MobileRTCSDKError\_InternalError. We can treat the success return as true and others are false.  
Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [February 20, 2023, 6:29am UTC](https://devforum.zoom.us/t/waiting-room-service-return-code/83233/4 "2023-02-20T06:29:30Z")

</div>

Hi @elaine.ku

Thank you so much. Your answer is very helpful. 🕶

Alex

---

<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:** [March 22, 2023, 4:30pm UTC](https://devforum.zoom.us/t/waiting-room-service-return-code/83233/5 "2023-03-22T16:30:01Z")

</div>

Closed on March 22, 2023, 4:30pm UTC

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