# Issue in creating ZAK token for mobile application integration

**URL:** <https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965>\
**Category:** iOS\
**Created:** [September 6, 2021, 4:58am UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965 "2021-09-06T04:58:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 6, 2021, 4:58am UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/1 "2021-09-06T04:58:17Z")

</div>

I am trying to create ZAK token to join as a host from the iOS mobile application. I am able to create a ZAK token using a primary zoom account. However when I create a ZAK token using the zoom account purchased later, I am unable to join as host. Can someone help me?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 7, 2021, 7:58pm UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/2 "2021-09-07T19:58:21Z")

</div>

Hey @nagangl,

Thanks for using the dev forum!

Is the second account a sub-account on your Zoom account?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 8, 2021, 5:21am UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/3 "2021-09-08T05:21:24Z")

</div>

Yes. This is a second account (sub-account) with the licence privilege. I obtained the userId and ZAK token for this account (which is different from the primary account) then tried to host the meeting. But I am unable to host the meeting. However with the Primary account I am able to host meeting from iOS SDK. Kindly help as this a blocker to go production. Thank you

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 8, 2021, 6:03pm UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/4 "2021-09-08T18:03:15Z")

</div>

Hey @nagangl,

Can you be more specific on what happens when you try to host the meeting? Are you getting an error from the startMeeting function? Are you getting a waiting indicator? What exactly happens?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 8, 2021, 6:07pm UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/5 "2021-09-08T18:07:43Z")

</div>

When I tried to host a meeting, it is going to the waiting room. No errors. It says “You can join the meeting once the host admits you”

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 8, 2021, 8:03pm UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/6 "2021-09-08T20:03:31Z")

</div>

I am able to host meeting successfully using primary zoom account’s userId and ZAK token. However I purchased one more licence under my primary account. When I tried to host a meeting using my sub account’s userId and ZAK token, it takes me to the waiting room instead of joining as a host. I ensured that I created a valid JWT token to create a ZAK token for the sub account and tried all the possibilities. Nothing seems working. Please help. Thank you

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 9, 2021, 4:59pm UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/7 "2021-09-09T16:59:43Z")

</div>

@Michael_Condon Can you please assist me to proceed further? We are completely struck with this issue.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 9, 2021, 9:20pm UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/8 "2021-09-09T21:20:22Z")

</div>

Hey @nagangl,

Is the meeting you are attempting to host a pre-scheduled meeting? If so, does this user have host privileges for this meeting?

Thanks!  
Michael

---

<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:** [October 10, 2021, 7:21am UTC](https://devforum.zoom.us/t/issue-in-creating-zak-token-for-mobile-application-integration/56965/9 "2021-10-10T07:21:03Z")

</div>

Closed on October 10, 2021, 7:21am UTC

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