# auth error

**URL:** <https://devforum.zoom.us/t/auth-error/1382>\
**Category:** macOS\
**Created:** [June 15, 2018, 11:38am UTC](https://devforum.zoom.us/t/auth-error/1382 "2018-06-15T11:38:30Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 4:28am UTC](https://devforum.zoom.us/t/auth-error/1382/21 "2018-06-29T04:28:42Z")

</div>

ok, I get, make sure that all the zoomsdk framework in in the location: your app name/Contents/Frameworks , or your app can’t load the sdk framework successfully, u can refer to my sample code, in the Build Phases setting, I copy all the sdk framework into Framework destination.&nbsp;

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 4:34am UTC](https://devforum.zoom.us/t/auth-error/1382/22 "2018-06-29T04:34:20Z")

</div>

I have placed your zoom sdk folder with my xcworkspace and in build phase I have added files from there only.

---

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 4:37am UTC](https://devforum.zoom.us/t/auth-error/1382/23 "2018-06-29T04:37:06Z")

</div>

try the solution I say， or it can’t work. our SDK load the framework in the specific location. cp all the frameworks in ZoomSDK folder to your app Frameworks folder, not cp ZoomSDK folder.

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 4:49am UTC](https://devforum.zoom.us/t/auth-error/1382/24 "2018-06-29T04:49:11Z")

</div>

Thanks it worked but now app crashing&nbsp;authService.sdkAuth(meetingParticipants.sdkKey, appSecret: meetingParticipants.sdkSecret); after this and not going inside&nbsp;

func onZoomSDKAuthReturn(\_ returnValue: ZoomSDKAuthError)

---

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 4:51am UTC](https://devforum.zoom.us/t/auth-error/1382/25 "2018-06-29T04:51:17Z")

</div>

can u show me the crash info that apple provide? the crash thread stack

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 4:54am UTC](https://devforum.zoom.us/t/auth-error/1382/26 "2018-06-29T04:54:54Z")

</div>

This is the info&nbsp;I get in console before crashing

**objc[1158]: Class ZPConfEventHandler is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDK.framework/Versions/A/ZoomSDK (0x100addba8) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23bbb0). One of the two will be used. Which one is undefined.**

**objc[1158]: Class ZMSearchTextField is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDKChatUI.framework/Versions/A/ZoomSDKChatUI (0x1014b2830) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23d488). One of the two will be used. Which one is undefined.**

**objc[1158]: Class ZPLogHelperImp is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDKChatUI.framework/Versions/A/ZoomSDKChatUI (0x1014b8aa0) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23d870). One of the two will be used. Which one is undefined.**

**objc[1158]: Class ZPLogHelperNull is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDKChatUI.framework/Versions/A/ZoomSDKChatUI (0x1014b8af0) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23d8c0). One of the two will be used. Which one is undefined.**

**objc[1158]: Class ZPShareSelectWindowModel is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDK.framework/Versions/A/ZoomSDK (0x100add090) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23dc58). One of the two will be used. Which one is undefined.**

**[1158:775:06-29/10:16:18.164:FATAL:CmmAudioSessionMgr.cpp(2625)] Assert failed: 0.**

**2018-06-29 10:16:19.780443+0530 SecureMeet[1158:48746] sinkSDKOnAuth:0**

&nbsp;

and this is thread info&nbsp;

&nbsp;

Thread 1: EXC\_BAD\_ACCESS (code=1, address=0x737265735540)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 4:58am UTC](https://devforum.zoom.us/t/auth-error/1382/27 "2018-06-29T04:58:49Z")

</div>

This is not the info i want, I&nbsp;want to check&nbsp;the .crash file,&nbsp; like this:

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC\_BAD\_INSTRUCTION (SIGILL)  
Exception Codes: 0x0000000000000001, 0x0000000000000000  
Exception Note: EXC\_CORPSE\_NOTIFY

Termination Signal: Illegal instruction: 4  
Termination Reason: Namespace SIGNAL, Code 0x4  
Terminating Process: exc handler [0]

Application Specific Information:  
dyld: launch, running initializers  
/usr/lib/libSystem.B.dylib  
Sandbox registration internal error: Incoming message euid:0 does not match secinitd uid:501.

Application Specific Signatures:  
Internal error: Incoming message euid:0 does not match secinitd uid:501.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread  
0 libsystem\_secinit.dylib 0x00007fff51248027 \_libsecinit\_setup\_secinitd\_client + 1355  
1 libsystem\_secinit.dylib 0x00007fff51247a7b \_libsecinit\_initialize\_once + 13  
2 libdispatch.dylib 0x00007fff50ee8e08 \_dispatch\_client\_callout + 8  
3 libdispatch.dylib 0x00007fff50ee8dbb dispatch\_once\_f + 41  
4 libSystem.B.dylib 0x00007fff4ec469d2 libSystem\_initializer + 136  
5 dyld 0x00000001142d6a7a ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 420  
6 dyld 0x00000001142d6caa ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40  
7 dyld 0x00000001142d21cc ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 330  
8 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221  
9 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221  
10 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221  
11 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221  
12 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221  
13 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const\*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221  
14 dyld 0x00000001142d1302 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 134

&nbsp;

in Console, system report, please check your code, it looks like u use the null point

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 5:06am UTC](https://devforum.zoom.us/t/auth-error/1382/28 "2018-06-29T05:06:20Z")

</div>

Its not showing any info when it crash just give this&nbsp;Thread 1: EXC\_BAD\_ACCESS (code=1, address=0x737265735540)

&nbsp;

 ![](https://support.zoom.us/hc/user_images/0maxtjbzX-NIBXaOuCW_0w.png)

---

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 5:14am UTC](https://devforum.zoom.us/t/auth-error/1382/29 "2018-06-29T05:14:05Z")

</div>

the .crash file won’t generated in debug mode, u can add exception breakpoints in your xcode project,&nbsp; no customer use the sdk will crash at sdkauth, please debug and fix it yourself, it isn’t a crash of zoomsdk.

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 6:05am UTC](https://devforum.zoom.us/t/auth-error/1382/30 "2018-06-29T06:05:26Z")

</div>

can you please tell me reason of not calling&nbsp;

onZoomSDKAuthReturn delegate method

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 6:18am UTC](https://devforum.zoom.us/t/auth-error/1382/31 "2018-06-29T06:18:40Z")

</div>

I have checked as soon as i call delegate app crash&nbsp;

---

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 6:24am UTC](https://devforum.zoom.us/t/auth-error/1382/32 "2018-06-29T06:24:30Z")

</div>

I have no idea about your app crash for i didn’t see your code, u can input your secret and key in my demo code, see what happen.

if my demo won’t crash please figure out it yourself.

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 6:30am UTC](https://devforum.zoom.us/t/auth-error/1382/33 "2018-06-29T06:30:55Z")

</div>

Your demo app won’t crash its just showing authentication sdk&nbsp;

I am unable to test meeting part in demo because i don’t have sso&nbsp;

I am getting error code 0 if i skip delegates and directly call meeting service it returns nil in meeting service

---

<div class="post-metadata">

**Author:** ![Totti\_Zheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/totti_zheng/32/39102_2.png) [@Totti\_Zheng](https://devforum.zoom.us/u/Totti_Zheng)\
**Post date:** [June 29, 2018, 6:39am UTC](https://devforum.zoom.us/t/auth-error/1382/34 "2018-06-29T06:39:58Z")

</div>

if auth success, meeting service won’t be nil, u should read interface more carefully&nbsp;

@protocol ZoomSDKAuthDelegate \<NSObject\>

@required

/\*\*

\* @brief Designated for Zoom SDK Auth response.

\*

\* @param returnValue tell user when the auth state changed.

\*

\*/

#ifdef BUILD\_FOR\_ELECTRON

- (void)onZoomSDKAuthReturn:(NSNumber\*)returnValue;

#else

- (void)onZoomSDKAuthReturn:(ZoomSDKAuthError)returnValue;

#endif

@required define in the interface means this delegate is necessary, how to use delegate to get callback, this is basic knowledge for object C,&nbsp; one suggestion: search&nbsp; ZoomSDKAuthDelegate&nbsp; as key word in my demo, see how i play with it, Good luck!

---

<div class="post-metadata">

**Author:** ![Rajat\_Lakhina](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rajat\_Lakhina](https://devforum.zoom.us/u/Rajat_Lakhina)\
**Post date:** [June 29, 2018, 6:47am UTC](https://devforum.zoom.us/t/auth-error/1382/35 "2018-06-29T06:47:37Z")

</div>

I have that basic knowledge btw I am building in swift not in objective c

&nbsp;

---

<div class="post-metadata">

**Author:** ![rao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rao/32/639_2.png) [@rao](https://devforum.zoom.us/u/rao)\
**Post date:** [March 8, 2019, 1:41pm UTC](https://devforum.zoom.us/t/auth-error/1382/36 "2019-03-08T13:41:17Z")

</div>

Hello guys, Is there any update here?

I am using Swift as well and come across the same issue. Please help.

 ![29%20am](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/ce8d374e34c14963a176957a3bf175a884817cc0.png)

The authRet is 3 and its delegator is not invoked.

Btw, the zoomDomain I have tried [www.zoom.us](http://www.zoom.us) and [https://www.zoom.us](https://www.zoom.us) and [https://zoom.us](https://zoom.us) Neither works.

---

<div class="post-metadata">

**Author:** ![anupsoni](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anupsoni/32/17808_2.png) [@anupsoni](https://devforum.zoom.us/u/anupsoni)\
**Post date:** [October 27, 2020, 12:14pm UTC](https://devforum.zoom.us/t/auth-error/1382/37 "2020-10-27T12:14:40Z")

</div>

where do we set app secrete and sdk key in latest version of macOS sdk demo app?

---

<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:** [October 30, 2020, 6:57am UTC](https://devforum.zoom.us/t/auth-error/1382/38 "2020-10-30T06:57:02Z")

</div>

Hi @anupsoni,

Thanks for using Zoom SDK. Right now we encourage using JWT token for authentication. Please refer to the instruction here: [https://github.com/zoom/zoom-sdk-macos#initializing-sdk-with-jwt-token](https://github.com/zoom/zoom-sdk-macos#initializing-sdk-with-jwt-token)

Thanks!

---

<div class="post-metadata">

**Author:** ![anupsoni](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anupsoni/32/17808_2.png) [@anupsoni](https://devforum.zoom.us/u/anupsoni)\
**Post date:** [November 2, 2020, 6:15am UTC](https://devforum.zoom.us/t/auth-error/1382/39 "2020-11-02T06:15:47Z")

</div>

We are getting Auth error saying connect failed. We are using JWT token for auth.

---

<div class="post-metadata">

**Author:** ![anupsoni](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anupsoni/32/17808_2.png) [@anupsoni](https://devforum.zoom.us/u/anupsoni)\
**Post date:** [November 2, 2020, 8:21am UTC](https://devforum.zoom.us/t/auth-error/1382/40 "2020-11-02T08:21:00Z")

</div>

Now we are getting like this,  
**Error: Send error, 60 Operation timed out**

**Error: Send error, 60 Operation timed out**

**Error: Send error, 60 Operation timed out**

[Previous page](https://devforum.zoom.us/t/auth-error/1382.md?page=1)

[Next page](https://devforum.zoom.us/t/auth-error/1382.md?page=3)
