# Creating client , start and join the session

**URL:** <https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567>\
**Category:** Web\
**Created:** [February 22, 2023, 1:56pm UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567 "2023-02-22T13:56:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![it111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/it111/32/44660_2.png) [@it111](https://devforum.zoom.us/u/it111)\
**Post date:** [February 22, 2023, 1:56pm UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/1 "2023-02-22T13:56:44Z")

</div>

We follow the steps of how to generate Video SDK in our laravel project , after we make Video SDK account we stop in the step of generate Video SDK JWT , we put the JWT token we found in the account but an error appeared to us  
this is error :

 ![Video SDK JWT](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/7/e7dea7e0f6935c647c984d6a852d1f7995685257.png)

we tried to use token from this code [GitHub - zoom/videosdk-sample-signature-node.js: Generate a signature to Start and Join Sessions with the Zoom Video SDKs.](https://github.com/zoom/videosdk-sample-signature-node.js)  
But we found an error of failed to verify Video JWT.

our code is :

 ![code](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/0/00bac14d0a8ab9eed7471e8c1d8dce92cee00053.png)

when we print client we found the parameters are undefined :

 ![client](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/6/26f5d8ffb63713b7327e9b59b44d99a60feced46.png)

what will we do ? Are the parameters of Client the reason for getting Video JWT error?

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 22, 2023, 2:53pm UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/2 "2023-02-22T14:53:18Z")

</div>

@it111 Hi, I already mentioned the reasons in [session](https://youtu.be/t8IAvgRjpV4)

for mentioned error ‘This account does not exist or does not belong to you’.

Possible reasons & fix

- Please verify that you have configured the right sdk key/secret (there are no white spaces inside those)
- You need to build jwt with the role as an int value

---

<div class="post-metadata">

**Author:** ![it111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/it111/32/44660_2.png) [@it111](https://devforum.zoom.us/u/it111)\
**Post date:** [February 23, 2023, 6:41am UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/3 "2023-02-23T06:41:44Z")

</div>

Hi Nameem thanks for replying

we are sure that we have configured the right SDK key/secret " we copied it from our VideoSDK account and sure there are not white spaces"

But the next reason we can’t understand it so tell us how to build JWT with the role as an int value ? " because we already have JWT token in our account we use it"

 ![JWT](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/e/0ee0fd57ea95ce3e275f7daecf84a7f44f94a464.png)

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 23, 2023, 9:01am UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/4 "2023-02-23T09:01:00Z")

</div>

@it111 You can’t use that JWT token you need to build JWT as in the session created.

---

<div class="post-metadata">

**Author:** ![it111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/it111/32/44660_2.png) [@it111](https://devforum.zoom.us/u/it111)\
**Post date:** [February 23, 2023, 9:07am UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/5 "2023-02-23T09:07:08Z")

</div>

Okay , we tried to build it using the video you mentioned but we face a problem that the post api request isn’t found , so we can use this link shown in this picture to generate JWT ?

 ![sign](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/8/4857388d3feca6d4809648e4eddf7ca8523269d3.png)

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 23, 2023, 9:08am UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/6 "2023-02-23T09:08:29Z")

</div>

@it111 Do you have that post endpoint in laravel project?

---

<div class="post-metadata">

**Author:** ![it111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/it111/32/44660_2.png) [@it111](https://devforum.zoom.us/u/it111)\
**Post date:** [February 23, 2023, 9:18am UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/7 "2023-02-23T09:18:08Z")

</div>

If you mean API , we use postman program

we follow README.md of the repo in this link [GitHub - zoom/videosdk-sample-signature-node.js: Generate a signature to Start and Join Sessions with the Zoom Video SDKs.](https://github.com/zoom/videosdk-sample-signature-node.js)  
to make the signature by make post request in postman

---

<div class="post-metadata">

**Author:** ![it111](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/it111/32/44660_2.png) [@it111](https://devforum.zoom.us/u/it111)\
**Post date:** [February 23, 2023, 9:28am UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/8 "2023-02-23T09:28:49Z")

</div>

Also when we use this link to make signature this error appeared to us

 ![failed](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/b/3bfcd579a120c6bf7f7795cedf75ae8dc2eb3965.png)

---

<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:** [March 25, 2023, 7:29pm UTC](https://devforum.zoom.us/t/creating-client-start-and-join-the-session/83567/9 "2023-03-25T19:29:01Z")

</div>

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