# Demo SDK Application error Type: LastErrorType\_auth, code:10124

**URL:** <https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745>\
**Category:** Meeting SDK\
**Created:** [December 26, 2023, 6:26am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745 "2023-12-26T06:26:06Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 6:26am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/1 "2023-12-26T06:26:06Z")

</div>

Meetting SDK type and version  
zoom-sdk-windows-5.17.0.28425

Describe  
jwt

 ![cdn.drawio](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/0/403e92e2e9c4ad5ac531b66930c1187bb55e05a9.png)

Error?  
 ![Screenshot_10](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/a/da4108facfda1b9a882f35604d8a244c59464d72.png)

Follow these instructions: Meetting SDK - Windows - Get Started  
Use Visual Studio 2022 to build with “Release x64” configuration  
Copied the JWT from the credentials page for my app

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 6:31am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/2 "2023-12-26T06:31:31Z")

</div>

@chunsiong.zoom Please help me just fix this

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 26, 2023, 6:52am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/3 "2023-12-26T06:52:09Z")

</div>

@tien01nx ,

For a start, the JWT token needs some fixing. I’m assuming you did some photoshop / edits so it is truncated. But I’ll still mention it here.

1. meeting number needs to be valid
2. appKey instead of app\_key
3. appKey and sdkKey should be the same value.

You can choose to either use these pair

- SDK Key + SDK Secret (If you are using this, appKey & sdkKey is SDK Key)
- Client ID + Client Secret (If you are using this, appKey & sdkKey is Client ID)

1. exp and tokenExp should be identical value, and must be at least 1800 seconds greater than iat, and not longer than 48 hours from iat.

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 7:35am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/4 "2023-12-26T07:35:32Z")

</div>

tokenExp

 ![Screenshot_11](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/e/0ea5d5174418c2f951221c0cac128447102bd4a3.png)

jwt

 ![Screenshot_14](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/5/f568f0940eeb62b9f2ca19b757ac34711772b0da.png)

appKey and sdkKey value : Secret Token

 ![cdn.drawio (1)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/a/0a20dd7eaa5aac249ad7eed5847c0cb434d3c41a.png)

Error  
 ![Screenshot_13](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/c/9c5a9341381858a709f6db2b3814ee2720d9c5c5.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 26, 2023, 9:18am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/5 "2023-12-26T09:18:25Z")

</div>

> [@tien01nx](#):
>
> ![cdn.drawio (1)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/a/0a20dd7eaa5aac249ad7eed5847c0cb434d3c41a.png)
> 
> cdn.drawio (1)889×503 33.9 KB

@tien01nx , this might be the wrong credentials  
You will need Meeting SDK App type and use the Client ID and Client Secret found here

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/1/a1b4366cd1e67b170b0013a80e45b327d075bf0c.png)

and your exp and tokenExp needs to be the same value

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 9:37am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/6 "2023-12-26T09:37:21Z")

</div>

I chose exp and tokenExp to be of equal value  
“appKey”: Client ID  
“sdkKey”: Client Secret  
Still have the same error

 ![Screenshot_15](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/3/1334de94e56323550c5c59d007e606a3e1b9b300.png)  
 ![Screenshot_16](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/652cdf101ed0a3fbde41a5fcbfe10dfa09aa4bdd.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 26, 2023, 9:40am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/7 "2023-12-26T09:40:06Z")

</div>

> [@tien01nx](#):
>
> I chose exp and tokenExp to be of equal value  
> “appKey”: Client ID  
> “sdkKey”: Client Secret  
> Still have the same error

@tien01nx please do one thing here

**“appKey”: Client ID**  
**“sdkKey”: Client ID**

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 9:44am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/8 "2023-12-26T09:44:42Z")

</div>

I chose exp and tokenExp to be of equal value  
“appKey”: Client ID  
“sdkKey”: Client ID

 ![Screenshot_21](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/1/31023e7282087a1742e356688fcf5a04a3e7cfef.png)

 ![Screenshot_22](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/2/522a787a2a396e8d340b148516b392093910d6dc.png)

Still have the same error  
 ![Screenshot_20](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/3/53beb1667873dee683f5459db756bab04986231d.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 26, 2023, 10:07am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/9 "2023-12-26T10:07:59Z")

</div>

@tien01nx , is the meetingNumber entered with a valid meetingNumber?

I know you entered 10 (which is not a valid meeting number)

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 10:18am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/10 "2023-12-26T10:18:36Z")

</div>

So which number will be valid?  
Please tell me more content meetingNumber ?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 26, 2023, 10:19am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/11 "2023-12-26T10:19:54Z")

</div>

@tien01nx , it has to be the Zoom Meeting number which you want the SDK to join.

Example when you are scheduling a meeting, there is a meeting number which will be generated, you need to put the meeting number into the JWT token

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 10:27am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/12 "2023-12-26T10:27:30Z")

</div>

According to you, it is this number  
7370068555  
 ![Screenshot_23](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/d/2deb9c846d7704517a5adae3413b83fda86c17fa.png)

 ![Screenshot_24](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/6/c64488bced9ce280137ed0afe938c664ff7c8314.png)  
it still has the same error as above  
 ![Screenshot_20](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/3/53beb1667873dee683f5459db756bab04986231d.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 26, 2023, 11:53am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/13 "2023-12-26T11:53:33Z")

</div>

@tien01nx , could you make sure that Meeting SDK is turned on?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/2/4213744e8d4f311fad4a46a318571ba303d57137.png)

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 12:52pm UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/14 "2023-12-26T12:52:22Z")

</div>

I still had it on from before

---

<div class="post-metadata">

**Author:** ![tien01nx](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tien01nx](https://devforum.zoom.us/u/tien01nx)\
**Post date:** [December 26, 2023, 2:25pm UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/15 "2023-12-26T14:25:25Z")

</div>

![Screenshot_3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/2/02c96d39864172ec4da8c92889fb1e89797e4577.png)  
 ![4092c73c-33ef-4e4d-bb83-42eacdab889e](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/7/171ae574fe7d328d2d7527e50b9836bb80ecd0e3.jpeg)

 ![Screenshot_1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/b/9b4f6bc6d63272f1de5d4cdce2c198ba530ad348.png)  
 ![Screenshot_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/6/06cfe286a75a90785eb48b3e43f721665aee3904.png)  
 ![Screenshot_4](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15dea28f8e561ccb845f4ccd7d67a83c71ea4c43.png)  
 ![Screenshot_6](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/9/69880f668d2f560d99ab7681551291bc3c737ac5.png)

I did as you said but the error still occurs  
@chunsiong.zoom

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 27, 2023, 7:38am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/16 "2023-12-27T07:38:09Z")

</div>

I’ll private message you

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 28, 2023, 3:01am UTC](https://devforum.zoom.us/t/demo-sdk-application-error-type-lasterrortype-auth-code-10124/100745/17 "2023-12-28T03:01:14Z")

</div>

Resolved: Issue with JWT creation which cases invalid JWT Token error. Once the JWT is generated according to specifications, the SDK is able to authenticate successfully.
