# ZoomController sdk\_authenticate getting exception

**URL:** <https://devforum.zoom.us/t/zoomcontroller-sdk-authenticate-getting-exception/107171>\
**Category:** Windows\
**Created:** [April 4, 2024, 10:10am UTC](https://devforum.zoom.us/t/zoomcontroller-sdk-authenticate-getting-exception/107171 "2024-04-04T10:10:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cai.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cai.zoom/32/29704_2.png) [@cai.zoom](https://devforum.zoom.us/u/cai.zoom)\
**Post date:** [April 5, 2024, 9:41am UTC](https://devforum.zoom.us/t/zoomcontroller-sdk-authenticate-getting-exception/107171/5 "2024-04-05T09:41:23Z")

</div>

@chunsiong.zoom I upgraded my zoom sdk to latest version. For forming my JWT I followed the instructions given here:

> [@"auth sdk failed" when running zoom sdk demo](https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448/6):
>
> Hi. No matter what I tried on [http://jwt.io/](http://jwt.io/) - it always fail with “Auth SDK failed”. can you please provide a step by step instructions on how to generate the correct token? thanks

Used the jwt in this code snippet →   
AuthContext authContext;  
authContext.jwt\_token = “XXX”;  
LOG\_INFO(TAG)\<\<“Authenticating Zoom SDK”\<\<endl;  
throwIfNotSuccess(authService-\>SDKAuth(authContext), **LINE** );

But in onAuthenticationReturn callback I am getting authResult as 5 (Unknown error). What can be possible reasons for this error ?

---

_[View the full topic](https://devforum.zoom.us/t/zoomcontroller-sdk-authenticate-getting-exception/107171)._
