# ZoomSDKError Service Failed

**URL:** <https://devforum.zoom.us/t/zoomsdkerror-service-failed/29012>\
**Category:** macOS\
**Created:** [September 3, 2020, 8:56am UTC](https://devforum.zoom.us/t/zoomsdkerror-service-failed/29012 "2020-09-03T08:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gayatri.sarnobat\_gsl](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gayatri.sarnobat\_gsl](https://devforum.zoom.us/u/gayatri.sarnobat_gsl)\
**Post date:** [September 3, 2020, 8:56am UTC](https://devforum.zoom.us/t/zoomsdkerror-service-failed/29012/1 "2020-09-03T08:56:21Z")

</div>

**Description**  
In my macOS application, I have integrated ZoomSDK. I am following all the mentioned steps as follows :

ZoomSDK.shared()?.setSupportDarkModel( **true** )

// Zoom SDK initialization  
let zoomSDK = ZoomSDK.shared()  
zoomSDK?.initSDK(true) // true for dark theme support

// set domain  
zoomSDK?.zoomDomain = “[https://zoom.us](https://zoom.us)”

Have also tried setting this to [zoom.us](http://zoom.us) or [www.zoom.us](http://www.zoom.us)

// calling auth service using JWT  
let authContext = ZoomSDKAuthContext()  
authContext.jwtToken = jwtTokenString  
let authServiceStatus = authService.sdkAuth(authContext)

Here authServiceStatus is always 3 (Service Failed). In which case a thread says to contact zoom support. This is related to SDK enabling.

Also no delegate method invoked from ZoomSDKAuthDelegate

Would appreciate your help at earliest.

**Which version?**  
Xcode Version 10.2.1.  
Zoom SDK Version : v5.0.24433.0616

---

<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:** [September 12, 2020, 2:05am UTC](https://devforum.zoom.us/t/zoomsdkerror-service-failed/29012/2 "2020-09-12T02:05:49Z")

</div>

Hi @gayatri.sarnobat_gsl,

Thanks for using Zoom SDK and pardon the late response. This sounds unexpected. Could you provide the SDK log for us to further investigate what is going on? You could enable the log feature by calling `- (void)enableDefaultLog:(BOOL)enable fileSize:(unsigned int)size` before initializing the SDK and you could find the SDK log in the following location: （~/Library/Logs/appName）

Thanks!
