# Authret\_unknown

**URL:** <https://devforum.zoom.us/t/authret-unknown/37449>\
**Category:** Meeting SDK\
**Created:** [December 2, 2020, 5:05pm UTC](https://devforum.zoom.us/t/authret-unknown/37449 "2020-12-02T17:05:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdrennan](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jdrennan](https://devforum.zoom.us/u/jdrennan)\
**Post date:** [December 2, 2020, 5:05pm UTC](https://devforum.zoom.us/t/authret-unknown/37449/1 "2020-12-02T17:05:03Z")

</div>

**Description**  
When starting my c# wrapper based windows app, I sometimes encounter the AUTHRET\_UNKNOWN as an error when authorizing the SDK. Without changing any code, the same program is granted authorization (usually less than an hour later). The authorization method being used is a JWT token with the “exp” portion set to 60 minutes from the current time. Is there anything I can check for more information as to why this is happening?

**Which version?**  
v5.2.42037.1112 C# wrapper

**Device**

- Device Spec: PC
- OS: Windows 10

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 4, 2021, 9:16pm UTC](https://devforum.zoom.us/t/authret-unknown/37449/2 "2021-01-04T21:16:19Z")

</div>

Hey @jdrennan,

Thanks for using the dev forum!

That is strange you only experience this issue sometimes. Does this also happen in the demo application for you?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![jdrennan](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jdrennan](https://devforum.zoom.us/u/jdrennan)\
**Post date:** [January 4, 2021, 9:38pm UTC](https://devforum.zoom.us/t/authret-unknown/37449/3 "2021-01-04T21:38:34Z")

</div>

I can’t say that I have seen it in the demo app but the app being developed is based on the demo app (it was basically the template I started with). My first thought is that it may be related to the JWT token. Is there a limit on the requests that can be made to get authenticated? If a good session is established (auth returns OK) and the time related to the JWT expires, do the API calls then fail and a new token has to be requested? Any help/ideas are welcome, thanks!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 4, 2021, 11:11pm UTC](https://devforum.zoom.us/t/authret-unknown/37449/4 "2021-01-04T23:11:50Z")

</div>

Hey @jdrennan,

Not that I am aware of. I would try pushing the exp time further out and see if the issue persists.  
Let me know if that works.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![jdrennan](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jdrennan](https://devforum.zoom.us/u/jdrennan)\
**Post date:** [January 6, 2021, 4:30pm UTC](https://devforum.zoom.us/t/authret-unknown/37449/5 "2021-01-06T16:30:42Z")

</div>

Still testing. In the mean time, are there recommendations on the values for the JWT tokens? In the README file found in the SDK, “exp” has a max of iat + 2 days and “tokenExp” has a min of iat + 30 minutes. Any additional information on these fields would be welcome, thanks again.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 16, 2021, 3:03am UTC](https://devforum.zoom.us/t/authret-unknown/37449/6 "2021-01-16T03:03:26Z")

</div>

Hey @jdrennan,

Hmm, not particularly. The times should really just be as short as possible without causing issues for the user or developer. It really just depends on what you, the developer, would like. 🙂

Thanks!  
Michael
