# Questions regarding meetingsdk-headless-linux-sample

**URL:** <https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407>\
**Category:** Meeting SDK\
**Created:** [March 10, 2024, 6:45pm UTC](https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407 "2024-03-10T18:45:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![benren](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/benren/32/57371_2.png) [@benren](https://devforum.zoom.us/u/benren)\
**Post date:** [March 10, 2024, 6:45pm UTC](https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407/1 "2024-03-10T18:45:28Z")

</div>

Hi

I’m having trouble getting the meetingsdk-headless-linux-sample to run.

I updated the config.ini with the client id, secret and join-url

then ran in another terminal : ngrok http 4000, updated the following based on the ngrok output:  
Redirect URL for OAuth: [https://xxxxx.ngrok-free.app/auth](https://xxxxx.ngrok-free.app/auth)  
OAuth allow list: [https://xxxxx.ngrok-free.app](https://xxxxx.ngrok-free.app)  
Home URL: [https://xxxxx.ngrok-free.app](https://xxxxx.ngrok-free.app)  
Domain allow list: \* `appssdk.zoom.us`, \* `ngrok-free.app`

What am I missing? The meeting is also on. Do I need to run a flask web server on localhost port 4000?

zoomsdk-build | [100%] Built target zoomsdk  
zoomsdk-build | ✅ configure  
zoomsdk-build | ✅ initialize  
zoomsdk-build | ✅ authorize  
zoomsdk-build | ✅ join a meeting  
zoomsdk-build | ⏳ connecting to the meeting  
zoomsdk-build | ⏳ disconnecting from the meeting  
zoomsdk-build | ❌ failed to connect to the meeting  
zoomsdk-build | ✅ meeting ended

---

<div class="post-metadata">

**Author:** ![benren](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/benren/32/57371_2.png) [@benren](https://devforum.zoom.us/u/benren)\
**Post date:** [March 12, 2024, 2:03pm UTC](https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407/2 "2024-03-12T14:03:58Z")

</div>

I figured out the issue. The code works when the headless bot and the meeting organizer use the same account, the bot fails to log in to a meeting created by a different user though. Why?

---

<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 15, 2024, 10:23pm UTC](https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407/3 "2024-03-15T22:23:56Z")

</div>

Hey @benren!

> I figured out the issue. The code works when the headless bot and the meeting organizer use the same account, the bot fails to log in to a meeting created by a different user though. Why?

If your Meeting SDK app isn’t published, the bot won’t be able to join any external meetings e.g. meetings that belong to someone outside of the Zoom account your Meeting SDK credentials belong to.

It sounds like the user you initially tried to use was from a different Zoom account, which is why your code failed in the first attempt.

If you continue running your meeting bots and want to take this off your plate in the future, you could consider using [Recall.ai](https://www.recall.ai/) for your meeting bots instead. It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video from meetings without you needing to spend months to build, scale and maintain these bots.

Let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![benren](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/benren/32/57371_2.png) [@benren](https://devforum.zoom.us/u/benren)\
**Post date:** [March 18, 2024, 11:55am UTC](https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407/4 "2024-03-18T11:55:16Z")

</div>

Thank you @amanda-recallai for the reply! this makes sense. I can appreciate the effort it would take to maintain a bot. I checked the recall.ai web site . It looks like a commercial product. Is there a version that’s open/free to developers?

---

<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 19, 2024, 6:02am UTC](https://devforum.zoom.us/t/questions-regarding-meetingsdk-headless-linux-sample/105407/5 "2024-03-19T06:02:08Z")

</div>

Hey @benren! Recall is open to developers - if you go through the demo flow on the website it should take you to an onboarding where you’ll get access to the product!
