# Unable to use meetingsdk-headless-linux-sample app bot to join meeting with registration require

**URL:** <https://devforum.zoom.us/t/unable-to-use-meetingsdk-headless-linux-sample-app-bot-to-join-meeting-with-registration-require/129627>\
**Category:** Meeting SDK\
**Created:** [March 10, 2025, 3:24pm UTC](https://devforum.zoom.us/t/unable-to-use-meetingsdk-headless-linux-sample-app-bot-to-join-meeting-with-registration-require/129627 "2025-03-10T15:24:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elenab](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elenab/32/20220_2.png) [@elenab](https://devforum.zoom.us/u/elenab)\
**Post date:** [March 10, 2025, 3:24pm UTC](https://devforum.zoom.us/t/unable-to-use-meetingsdk-headless-linux-sample-app-bot-to-join-meeting-with-registration-require/129627/1 "2025-03-10T15:24:25Z")

</div>

I am trying to use the [meetingsdk-headless-linux-sample](https://github.com/bebraven/meetingsdk-headless-linux-sample) zoom bot to join a meeting and record audio in a zoom meeting on my account where registration is required. I used the Zoom API to get a join link for the meeting for the bot.

When I add a join-url for a meeting that does not require registration the zoom bot joins the meeting correct and I see logs like the ones below:

 ![Screenshot 2025-03-10 at 10.41.35 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/5/85b121bfc4fdcbf83e61dd06b7d99a9d81f86331.png)

When I try using a join-url I got using the API for a meeting that requires registration, I was originally seeing the error “Meeting ID cannot be blank” as seen in the image below:

 ![Screenshot 2025-03-10 at 10.33.30 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/d/bda1af4a9bf130fd4200e573ed754a11240bbdc4.png)

I changed line 66 in /src/Config.cpp ([meetingsdk-headless-linux-sample/src/Config.cpp at main · zoom/meetingsdk-headless-linux-sample · GitHub](https://github.com/zoom/meetingsdk-headless-linux-sample/blob/main/src/Config.cpp)) from `if (lastRoute == "j" || lastRoute == "s") {` to `if (lastRoute == "j" || lastRoute == "s" || lastRoute == "w") {` (since the zoom join link with registration required is formatted as `https://{org}.zoom.us/w/{meeting_id}?tk={token}&pwd={password}`) and it cleared the error, but the Zoom bot still does not join the meeting. As seen in the image below, it says “connecting to a meeting”, “disconnecting from the meeting”, “meeting ended”, even though the meeting did not actually end:

 ![Screenshot 2025-03-10 at 10.34.26 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/9/79271adae3b8a4280e823b9d24dc00c7efa28a19.png)

Is there a way to use the [meetingsdk-headless-linux-sample](https://github.com/bebraven/meetingsdk-headless-linux-sample) app to join a meeting as a bot where registration is required?

---

<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:** [March 10, 2025, 10:53pm UTC](https://devforum.zoom.us/t/unable-to-use-meetingsdk-headless-linux-sample-app-bot-to-join-meeting-with-registration-require/129627/2 "2025-03-10T22:53:03Z")

</div>

Hey @elenab,

You need to provide both the meeting ID and the `tk` parameter in the join request for your bot. Your issue is that you’re not explicitly extracting the `tk` parameter and including it in your bot’s join request. You can find this page of [Zoom’s documentation](https://developers.zoom.us/docs/meeting-sdk/web/client-view/meetings/#join-function-properties) where it mentions that this parameter must be provided if the meeting requires registration. You’ll also need to include a `userEmail` in your join request since this parameter is also required for registration-required meetings.

Another alternative to consider would be [Recall.ai](https://recall.ai). It’s a 3rd party API which allows you to spin up meeting bots in just a few lines of codes to capture meeting audio, video, and transcripts. Here’s a link to our docs page: [Getting Started with Recall](https://docs.recall.ai/docs/getting-started)

Let me know if you have questions!

---

<div class="post-metadata">

**Author:** ![elenab](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elenab/32/20220_2.png) [@elenab](https://devforum.zoom.us/u/elenab)\
**Post date:** [March 11, 2025, 2:13pm UTC](https://devforum.zoom.us/t/unable-to-use-meetingsdk-headless-linux-sample-app-bot-to-join-meeting-with-registration-require/129627/3 "2025-03-11T14:13:08Z")

</div>

Hi @amanda-recallai ,

Thanks for the reply - I am using the Meeting SDK for Linux and I don’t see `tk` or `userEmail` as any of the listed the parameter options for joining in the documentation [Meetings | MSDK | Linux - Zoom Developers](https://developers.zoom.us/docs/meeting-sdk/linux/get-started/meetings/)

---

<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:** [March 11, 2025, 4:24pm UTC](https://devforum.zoom.us/t/unable-to-use-meetingsdk-headless-linux-sample-app-bot-to-join-meeting-with-registration-require/129627/4 "2025-03-11T16:24:51Z")

</div>

I took a look at the Linux Meeting SDK docs / Github and I don’t think they have documented these fields. I would try adding the `tk` parameter as the `webinarToken` [as others have managed to make this work](https://devforum.zoom.us/t/start-webinar-host-and-join-webinar-with-panelist-role-from-windows-sdk/47761/8)
