# Problem starting the SDK Demo BOT for zoom in LINUX

**URL:** <https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701>\
**Category:** Meeting SDK\
**Tags:** recording, api, video-sdk, sdk\
**Created:** [June 28, 2024, 1:52am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701 "2024-06-28T01:52:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![redz.alegato.ra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/redz.alegato.ra/32/60982_2.png) [@redz.alegato.ra](https://devforum.zoom.us/u/redz.alegato.ra)\
**Post date:** [June 28, 2024, 1:52am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/1 "2024-06-28T01:52:55Z")

</div>

I am currently Using the latest version of sdk v6.1.0.22534  
I am trying the provided ZOOM SDK BOT demo to work on linux to fetch participants id and recording automatically from zoom it should also automatically join and leave meeings

My problem is whenever i run the demo i am only getting this results

redz@redz:~$ /home/redz/Desktop/zoom/meetingSDKDemo/bin/meetingSDKDemo  
getpath  
self path: /home/redz/Desktop/zoom/meetingSDKDemo/bin  
Readfile success.  
Reading…meeting\_number: “89278569640”  
Reading…token: “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTM3NTQzfQ.hOy-lXNEVTLUow0V1TNhmqLd1T\_E7W-WYBIki1Hm8Vo”  
Reading…meeting\_password: “356333”  
Reading…recording\_token: “”  
Reading…GetVideoRawData: “true”  
Reading…GetAudioRawData: “true”  
Reading…SendVideoRawData: “false”  
Reading…SendAudioRawData: “false”  
Meeting Number: 89278569640  
Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTM3NTQzfQ.hOy-lXNEVTLUow0V1TNhmqLd1T\_E7W-WYBIki1Hm8Vo  
meeting\_password: 356333  
recording\_token:  
GetVideoRawData before parsing is : true  
GetVideoRawData: 1  
GetAudioRawData before parsing is : true  
GetAudioRawData: 1  
SendVideoRawData before parsing is : false  
SendVideoRawData: 0  
SendAudioRawData before parsing is : false  
SendAudioRawData: 0  
directory of config file: /home/redz/Desktop/zoom/meetingSDKDemo/bin/config.txt  
Init meetingSdk:success  
AuthService created.  
AuthServiceEventListener added.  
AuthSDK:token extracted from config file eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTM3NTQzfQ.hOy-lXNEVTLUow0V1TNhmqLd1T\_E7W-WYBIki1Hm8Vo

i tried manually joining meetings creating recordings and leaving a meeting but nothing happens to the demo what should i do? can anyone help me?

@tanchunsiong

---

<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:** [June 28, 2024, 4:14am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/2 "2024-06-28T04:14:32Z")

</div>

> [@redz.alegato.ra](#):
>
> eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTM3NTQzfQ.hOy-lXNEVTLUow0V1TNhmqLd1T\_E7W-WYBIki1Hm8Vo

@redz.alegato.ra for a start, this is not a valid meeting sdk auth token

Here’s a guide on how to generate it

> **[Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Just to set expectations, after reading your requirements, this sample code generates primarily 2 seperate files. 1 YUV420 video file. 1 PCM audio file. The video file is in raw format, and it does not have audio.

If you are trying to join meeting which are external to your tenant, you will need to publish your General App / Meeting SDK. If you are just joining internal meetings, you do not need to publish your application.

You will need to mux the audio and video yourself.

---

<div class="post-metadata">

**Author:** ![redz.alegato.ra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/redz.alegato.ra/32/60982_2.png) [@redz.alegato.ra](https://devforum.zoom.us/u/redz.alegato.ra)\
**Post date:** [June 28, 2024, 4:43am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/3 "2024-06-28T04:43:13Z")

</div>

I used the meeting token fetcher you provided in the repo

> **[GitHub - tanchunsiong/zoom-sdk-jwt-signature-generator: This python cli...](https://github.com/tanchunsiong/zoom-sdk-jwt-signature-generator)**
>
> This python cli generates JWT Signature for Zoom Meeting SDK and Zoom Video SDK - tanchunsiong/zoom-sdk-jwt-signature-generator

and i already created an app and added theapp for local testing  
@chunsiong.zoom

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [June 28, 2024, 6:20am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/4 "2024-06-28T06:20:10Z")

</div>

@redz.alegato.ra you could also take a look at this Meeting Bot Starter Kit from Zoom:

> **[Introducing the Meeting bot starter kit with Recall.ai](https://developers.zoom.us/blog/meetingbot-starter-kit-recallai/)**
>
> Meeting bot starter kit with Recall.ai

---

<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:** [June 28, 2024, 7:21am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/5 "2024-06-28T07:21:09Z")

</div>

> [@redz.alegato.ra](#):
>
> eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTM3NTQzfQ.hOy-lXNEVTLUow0V1TNhmqLd1T\_E7W-WYBIki1Hm8Vo

@redz.alegato.ra the token looks very different from what the python code would generate.

This is what you are using  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/9/d9e77ec642f8a50e5882779ef45fdd1e0cf5d6f4.png)

This is what is expected  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/4/64c2d2c358254a8e873add5664de4bab5ed395d9.png)

---

<div class="post-metadata">

**Author:** ![redz.alegato.ra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/redz.alegato.ra/32/60982_2.png) [@redz.alegato.ra](https://devforum.zoom.us/u/redz.alegato.ra)\
**Post date:** [June 28, 2024, 7:39am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/6 "2024-06-28T07:39:29Z")

</div>

OKAY I’ll try the suggestions thanks

---

<div class="post-metadata">

**Author:** ![redz.alegato.ra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/redz.alegato.ra/32/60982_2.png) [@redz.alegato.ra](https://devforum.zoom.us/u/redz.alegato.ra)\
**Post date:** [June 28, 2024, 8:05am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/7 "2024-06-28T08:05:58Z")

</div>

> **[Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

I used this guide to create a jwt fetcher using node js

this is the result token

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

is this token wrong?

tried it and started the bot again

and this is the result

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/b/fb1ef734b4bda88c8687a02687d348b13193893f.png)  
may i know what i did wrong? the bot is still not joining

@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:** [June 28, 2024, 8:26am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/8 "2024-06-28T08:26:00Z")

</div>

@redz.alegato.ra can you paste the signature here?

---

<div class="post-metadata">

**Author:** ![redz.alegato.ra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/redz.alegato.ra/32/60982_2.png) [@redz.alegato.ra](https://devforum.zoom.us/u/redz.alegato.ra)\
**Post date:** [June 28, 2024, 8:27am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/9 "2024-06-28T08:27:22Z")

</div>

Generated JWT token:  
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTY4NDc5LCJpYXQiOjE3MTk1NjEyNzksIm1lZXRpbmdOdW1iZXIiOiI4MTUyNjc0MzM2OSIsInJvbGUiOiIwIn0.dRT7xqSQe6II5jr64AFyG-3NNTEByJN0mwM\_rZgpjdM

@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:** [June 28, 2024, 9:03am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/10 "2024-06-28T09:03:34Z")

</div>

> [@redz.alegato.ra](#):
>
> eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiI3VzJsWFJFbVFJdTA0SXV1aHRRM2dRIiwiZXhwIjoxNzE5NTY4NDc5LCJpYXQiOjE3MTk1NjEyNzksIm1lZXRpbmdOdW1iZXIiOiI4MTUyNjc0MzM2OSIsInJvbGUiOiIwIn0.dRT7xqSQe6II5jr64AFyG-3NNTEByJN0mwM\_rZgpjdM

@redz.alegato.ra

tokenExp is missing  
meetingNumber should be mn, and it should be in integer and not string format  
role should be integer format

Anyway for linux SDK, i suggest removing mn and role totally as they are not used.

---

<div class="post-metadata">

**Author:** ![redz.alegato.ra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/redz.alegato.ra/32/60982_2.png) [@redz.alegato.ra](https://devforum.zoom.us/u/redz.alegato.ra)\
**Post date:** [June 28, 2024, 9:12am UTC](https://devforum.zoom.us/t/problem-starting-the-sdk-demo-bot-for-zoom-in-linux/112701/11 "2024-06-28T09:12:07Z")

</div>

OK, thanks. I’ll try your suggestions.
