# Auth Error:ZoomSDKError\_ServiceFailed

**URL:** <https://devforum.zoom.us/t/auth-error-zoomsdkerror-servicefailed/1669>\
**Category:** macOS\
**Created:** [August 24, 2018, 5:04am UTC](https://devforum.zoom.us/t/auth-error-zoomsdkerror-servicefailed/1669 "2018-08-24T05:04:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11123](https://avatars.discourse-cdn.com/v4/letter/1/dc4da7/32.png) [@11123](https://devforum.zoom.us/u/11123)\
**Post date:** [August 24, 2018, 5:04am UTC](https://devforum.zoom.us/t/auth-error-zoomsdkerror-servicefailed/1669/1 "2018-08-24T05:04:43Z")

</div>

- (void)authSDK:(NSString\*)key appSecret:(NSString\*)secret {  
ZoomSDKAuthService \*authService = [[ZoomSDK sharedSDK] getAuthService];  
if (authService) {  
authService.delegate = self;  
ZoomSDKError zoomSDKerror = [authService sdkAuth:key appSecret:secret];  
NSLog(@“zoomSDKerror： %d”, zoomSDKerror==ZoomSDKError\_ServiceFailed);  
}  
}

zoomSDKerror always be ZoomSDKError\_ServiceFailed. pls check what is wrong?

---

<div class="post-metadata">

**Author:** ![TimZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/timzoom/32/978_2.png) [@TimZoom](https://devforum.zoom.us/u/TimZoom)\
**Post date:** [January 18, 2019, 9:26pm UTC](https://devforum.zoom.us/t/auth-error-zoomsdkerror-servicefailed/1669/2 "2019-01-18T21:26:11Z")

</div>


