# Got Further with the demo app

**URL:** <https://devforum.zoom.us/t/got-further-with-the-demo-app/53023>\
**Category:** macOS\
**Created:** [June 23, 2021, 6:09pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023 "2021-06-23T18:09:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcebasek](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jcebasek](https://devforum.zoom.us/u/jcebasek)\
**Post date:** [June 23, 2021, 6:09pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/1 "2021-06-23T18:09:02Z")

</div>

**Description**  
I have made progress with the video SDK thanks to Jon. However now when I create a session, I get an error 2003 and ‘detals’ of 16. 2003 appears to be ZMVideoSDKErrors\_Meeting\_Join\_Failed. 16 seems to be a mystery!

Still feels like I’m missing a prerequisite.

What failed? Is the connection to the zoom server rejecting my request?

Any info would be appreciated!

**Which Desktop Video SDK version?**  
zoom-video-sdk-macOS-1.1.0

**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.

**Device (please complete the following information):**

- Device: MacBook Pro (15-inch, 2017)
- OS: macOS Big Sur 11.3.1

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

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 23, 2021, 10:51pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/2 "2021-06-23T22:51:34Z")

</div>

Hi @jcebasek,

Glad to hear you’re making progress! Based on the error code you are seeing, it is possible that the JWT you are using to start the session has expired. Can you please confirm that the token is still valid?

Thanks!

---

<div class="post-metadata">

**Author:** ![jcebasek](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jcebasek](https://devforum.zoom.us/u/jcebasek)\
**Post date:** [June 24, 2021, 12:11pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/3 "2021-06-24T12:11:18Z")

</div>

Hi Jon:

I just regenerated the token it works now. So chalk that one up to “problem between user and keyboard” ☹

Thanks for your time

John

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 24, 2021, 5:30pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/4 "2021-06-24T17:30:56Z")

</div>

I’m glad to hear it’s working now!

Please let me know if you run into any other issues. 🙂

---

<div class="post-metadata">

**Author:** ![Takabrycheri](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@Takabrycheri](https://devforum.zoom.us/u/Takabrycheri)\
**Post date:** [July 22, 2021, 9:45pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/5 "2021-07-22T21:45:25Z")

</div>

Hello,  
I also have the same problem and I thought it was the fault of the token, but I made several attempts and it keeps giving the 2003 code but I’m on Windows.

---

<div class="post-metadata">

**Author:** ![jcebasek](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jcebasek](https://devforum.zoom.us/u/jcebasek)\
**Post date:** [July 23, 2021, 12:34pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/6 "2021-07-23T12:34:53Z")

</div>

Takabrycheri:

Check the format of the token’s payload, it has to be:  
{  
“app\_key”: “your app key”,  
“user\_identity”: “User Name”,  
“iat”: 1626782981,  
“exp”: 1626955771,  
“tpc”: “SessionName”  
}

Use [https://www.epochconverter.com](https://www.epochconverter.com) to get the current time and put that value into ‘iat’ and then get an epoch that’s two days into the future (so scroll down a bit until you see a bunch of edit fields, and add two to the days edit field and press return get the epoch for that date. There are two epochs one with 3 zeros at the end and one without. Use the one **without** the 3 zeros at the end. That goes into ‘exp’. Also, we didn’t have success with a token that was more than 2 days ahead.

Generate your token at [jwt.io](http://jwt.io). Don’t forget to put your sdk secret into the light blue part of their window.

In the Zoom SDK Sample App, put the encoded token (as a string) into the token field (on the Mac, there’s a gear icon to get to that dialog, don’t know about Windows), the session name, into the session edit field (in the case above, it’s SessionName) and into the User name field, the string “User Name”. We didn’t have to set a password. Then click Create Session. That got things running for me.

Hope this helps!

Best Regards

John

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [July 23, 2021, 11:01pm UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/7 "2021-07-23T23:01:54Z")

</div>

Hi @Takabrycheri,

Can you please provide the JWT you are using **with your developer credentials edited out** so that we can verify whether or not it’s structured correctly?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 23, 2021, 9:02am UTC](https://devforum.zoom.us/t/got-further-with-the-demo-app/53023/8 "2021-08-23T09:02:20Z")

</div>

Closed on August 23, 2021, 9:02am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
