Creating client , start and join the session

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 :

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.
But we found an error of failed to verify Video JWT.

our code is :

when we print client we found the parameters are undefined :

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

@it111 Hi, I already mentioned the reasons in session

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

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"

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

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 ?

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

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.
to make the signature by make post request in postman

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

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