# Intermittent AUTHRET\_UNKNOWN in Zoom Windows SDK

**URL:** <https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841>\
**Category:** Windows\
**Created:** [April 3, 2019, 7:29am UTC](https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841 "2019-04-03T07:29:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![call-ai-bot](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@call-ai-bot](https://devforum.zoom.us/u/call-ai-bot)\
**Post date:** [April 3, 2019, 7:29am UTC](https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841/1 "2019-04-03T07:29:35Z")

</div>

**Description**  
Sometimes I start getting AUTHRET\_UNKNOWN result from SDKAuth call of AuthenticationService.  
The error is not related to any coding issue as it starts occuring without any code changes and goes away after some time. So, I would like to know what is the exact reason for this ? Is there some rate limit on SDK calls which I am crossing ? or some other issue ? I am unable to get confidence into my code if such intermittent issue exists.

**Which version?**  
v4.3.30730.0118

**To Reproduce(If applicable)**  
It is not reproducable by some definite code. It is a intermittent issue.

---

<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:** [April 3, 2019, 4:43pm UTC](https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841/2 "2019-04-03T16:43:39Z")

</div>

Hi call-ai-bot,  
Thank you for using Zoom SDK. There is no rate limit for SDK usage. It would be very helpful if you could provide the following info:

- Is this error happened previously? (In the version that is earlier than v4.3.30730.0118). We have a newer release that was published in March. ([https://github.com/zoom/zoom-sdk-windows/releases/tag/v4.3.1.47204.0325](https://github.com/zoom/zoom-sdk-windows/releases/tag/v4.3.1.47204.0325)) Could you have a try with the latest version and see if the error still occurs?
- Could you show us some code snippet regarding how you did the authentication?

Let me know if you have any other questions. Thanks!

---

<div class="post-metadata">

**Author:** ![call-ai-bot](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@call-ai-bot](https://devforum.zoom.us/u/call-ai-bot)\
**Post date:** [April 8, 2019, 9:33am UTC](https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841/3 "2019-04-08T09:33:05Z")

</div>

> [@carson.zoom](#):
>
> - Could you show us some code snippet regarding how you did the authentication?
> 
> Let me know if you have any other questions

Hi Carson,  
Yes the issue has happened in past as well. This time it was resolved by restarting the system.  
Please find below the code snippet we are using to authenticate ZOOM SDK:

void ZoomController::sdk\_authenticate() {  
ZOOM\_SDK\_NAMESPACE::AuthParam authParam;  
authParam.appKey = this-\>sdkKey.c\_str();  
authParam.appSecret = this-\>sdkSecret.c\_str();  
authService-\>SDKAuth(authParam);  
}  
Where ZoomController instance has the authService member initialized by calling:  
ZOOM\_SDK\_NAMESPACE::CreateAuthService(&authService);

---

<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:** [April 9, 2019, 10:16pm UTC](https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841/4 "2019-04-09T22:16:50Z")

</div>

Hi call-ai-bot,

Thank you very much for providing the code snippet. The way that you implements the authentication part is correct and we are not able to reproduce this issue on our side. Therefore, we might need your help to further investigate this issue. Please follow the following process

1. Please enable to log feature(introduced in the version [v4.3.30730.0118](https://github.com/zoom/zoom-sdk-windows/releases/tag/v4.3.0.30730.0118)) while initializing our SDK. The way of how to enable to log feature is like the following:

```auto
ZOOM_SDK_NAMESPACE::InitParam.enableLogByDefault = true;

```

1. At the method/ breakpoint that you receive the `AUTHRET_UNKOWN`, please implement the following method so that we can log the error detail in the log. The following is pseudo-code, please modify based on your program’s code:

```auto
if(ZOOM_SDK_NAMESPACE::AUTHRET_UNKNOWN == authService->SDKAuth(authParam))
	{
		ZOOM_SDK_NAMESPACE::IZoomLastError* pLastError = ZOOM_SDK_NAMESPACE::GetZoomLastError();
		if(NULL != pLastError)
		{
			uint64 nErrorCode = pLastError->GetErrorCode();
		}
	}

```

Please provide the nErrorCode and the log file to us if it is possible.  
3. Are you using any kinds of proxy? In some of the previous cases that use a proxy that is not recognized by our SDK, our SDK will return this error message as well.

Please let us know if you have any questions. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:15pm UTC](https://devforum.zoom.us/t/intermittent-authret-unknown-in-zoom-windows-sdk/3841/5 "2020-08-21T18:15:06Z")

</div>

Closed on August 21, 2020, 6:15pm UTC


