# Error initializing the SDK

**URL:** <https://devforum.zoom.us/t/error-initializing-the-sdk/25603>\
**Category:** Android\
**Created:** [July 29, 2020, 2:54pm UTC](https://devforum.zoom.us/t/error-initializing-the-sdk/25603 "2020-07-29T14:54:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elias.ferreira](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elias.ferreira/32/5187_2.png) [@elias.ferreira](https://devforum.zoom.us/u/elias.ferreira)\
**Post date:** [July 29, 2020, 2:54pm UTC](https://devforum.zoom.us/t/error-initializing-the-sdk/25603/1 "2020-07-29T14:54:59Z")

</div>

**Description**

Following the recommendation of the documentation for initializing the sdk using jwtToken, no matter how I generate the token, it always returns error code 1, if using appSecret and appKey, everything works normally.

 ![Screen Shot 2020-07-29 at 11.54.25](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9a62056909a0067d7f035fef41ab2fc2bcdd74f6.png)

**Which version?**  
last.

---

<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:** [August 1, 2020, 5:10am UTC](https://devforum.zoom.us/t/error-initializing-the-sdk/25603/2 "2020-08-01T05:10:46Z")

</div>

Hi @elias.ferreira,

Thanks for the post. The `tokenExp` should be a timestamp that is at least 30 mins later than the `iat`, so it would be `tokenExp` = `iat` + 3600

Please have a try.

Thanks!
