# Lasterrortype\_auth ( error code : 10124)

**URL:** <https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933>\
**Category:** Windows\
**Created:** [October 12, 2020, 11:38am UTC](https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933 "2020-10-12T11:38:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufuk\_b3govic](https://avatars.discourse-cdn.com/v4/letter/u/57b2e6/32.png) [@ufuk\_b3govic](https://devforum.zoom.us/u/ufuk_b3govic)\
**Post date:** [October 12, 2020, 11:38am UTC](https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933/1 "2020-10-12T11:38:52Z")

</div>

**Description**  
I generated a token with SDK Key and SDK Secret on [jtw.io](http://jtw.io). But I get the error in the photos. I put the photo of the ita, exp, tokenexp values I used. I have read other posts on the forum but there is no solution. I’m waiting for your help

**Which version?**  
v5.0.24433.0616  
sdk\_demo\_v2\_2017

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

 ![resim2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/5/a532ecf04773e8b53b4ded6bb9bbcfba9300f8bc.png)  
 ![Resim1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/8/e8eb951852ad90d48b9d1d43f7d9136604503ff7.png)

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [October 12, 2020, 2:10pm UTC](https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933/3 "2020-10-12T14:10:08Z")

</div>

Please try ‘appKey’ in camel case. Currently you have a capital A.

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![rabergeau.philippe](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@rabergeau.philippe](https://devforum.zoom.us/u/rabergeau.philippe)\
**Post date:** [October 13, 2020, 10:01am UTC](https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933/4 "2020-10-13T10:01:29Z")

</div>

same problem, solution does not resolve issue

---

<div class="post-metadata">

**Author:** ![ufuk\_b3govic](https://avatars.discourse-cdn.com/v4/letter/u/57b2e6/32.png) [@ufuk\_b3govic](https://devforum.zoom.us/u/ufuk_b3govic)\
**Post date:** [October 13, 2020, 1:39pm UTC](https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933/5 "2020-10-13T13:39:10Z")

</div>

@alexmayo this is not a solution

---

<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 17, 2020, 2:29am UTC](https://devforum.zoom.us/t/lasterrortype-auth-error-code-10124/32933/6 "2020-10-17T02:29:57Z")

</div>

Hi everyone,

Thanks for the post. You may follow the instruction here [https://github.com/zoom/zoom-sdk-windows/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token](https://github.com/zoom/zoom-sdk-windows/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token) to generate the JWT token. Here is a python script that could be helpful to generate the token:

```auto
    iat = long(int(time.time()))
    exp = long((datetime.datetime.today() + datetime.timedelta(days=2)).strftime("%s"))
    tokenExp = long((datetime.datetime.today() + datetime.timedelta(hours=1)).strftime("%s"))

    payload = {
        'appKey': key,
        'iat': iat,
        'exp': exp,
        'tokenExp': tokenExp
    }
    encoded = jwt.encode(payload, secret, algorithm='HS256')

```

Thanks!
