{"code":124,"message":"Invalid access token."} - Postman when calling List users with JWT

Hi Tommy, Can you please help me out how to login programatically in zoom marketplace account where created App. So that I can consume APIs. What are step and login function.

Just FYI… I am integrating zoom API in web application.

And second thing I want to integrate video conferencing in my custom page instead using zoom environment or app. Please suggest.

Regards

Hey @s.nishant,

Do you mean you are trying to automate the OAuth sign in step? We also have JWT Authentication that does not require user interaction.

Checkout our Web SDK:

Thanks,
Tommy

Hi Tommy,

Issue 1 : I want use code to login through oAuth 2.0, without interface.

Issue 2: :
Here is my and seems can not getting full feature like audio and chat box etc.

iframe allow=“microphone; camera; fullscreen;” style="border: 0; height: 100%; width: 100%; left: 0; position: absolute; top: 0; "
src=“https://zoom.us/wc/76498547032/start?prefer=0&un=#meetingInfo.encrypted_passwor#” frameborder=“0” sandbox=“allow-forms allow-scripts” /iframe

Unable to join audio

can not send text

Regards

Hi Tommy,

I installed sdk and using JWT authentication… same issue is happening, can not use audio, vedio, chat etc feature… here is screenshot. Please advice.

Hey @s.nishant,

Please make sure you are serving your site securely over https.

Thanks,
Tommy

Hi Tommy,
Need one quick help. I can join meeting through JWT. But for creating new meeting I have to use oAuth authentication. I can not use JWT and SDK. I write some code for oAuth 2.0 and creating below url

https://zoom.us/oauth/authorize?response_type=code&client_id=xMp3sThSBeOACCby2fIKw&redirect_uri=http%3A%2F%2F127.0.0.1%3A8500%2Ftestingzone%2Fcallback.cfm&state=9560203D-D35D-DE77-030601039405FEA2

instead giving me code it is redirecting me on zoom login page please help me out and advice so that I can get my code to consume API.

Regards

Hi Tommy,

Please advice me on above as above url is redrecting me in login screen instead redirecting on my callback page. Please let me know how to login in zoom through code so that later I can generate my oauth 2.0 token and consume APIs Regards

Hey @s.nishant,

For future unrelated questions to the original topic, please create a new one.

Part of the OAuth process is authenticating into your Zoom account. Once you do so, you will get the auth code.

Thanks,
Tommy

Hi Tommy, My user id is 4LKz5AE2Ttqur3d2izBt6A, I am trying to create a meeting through oauth in php with curl. But getting error stdClass Object ( [code] => 124 [message] => Invalid access token. ). Initially i as using JWT, that was working fine for creating meeting. But due to short life of jwt token i moved to oauth app. Can you help me for checking that my oauth app is created perfectly if yes then why i am getting this error?

Hey @kanitmittal,

Please create a new topic and fill out the post template so we have enough info to help. :slight_smile:

Thanks,
Tommy

No matter what I do, the response is
“code”: 124,
“message”: “Invalid access token.”
I am using Postman and this is the request…
https://api.zoom.us/v2/users?User-Agent=Zoom-Jwt-Request&content-type=application/json&Authorization=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6IlI5Z0RVR0FRUUw2WUgtSzAtdDB2dVEiLCJleHAiOjE2MDg5NzI1ODAsImlhdCI6MTYwODk2NzE4MX0.8iAiGCSl1FKUlS1-Bi1Ps-Mb6zvx7rr74VSDDvt1jOQ

A lot of people had the same problem i April, but I never saw the solution to the problem.

Hi @kbh,

Thanks for sharing your request URL. It looks like you might be including your headers in the request URL itself, is that possible? Can you please ensure that you’re sending everything after users? in your request headers and not the URL itself?

Please give that a try and let us know how it goes,
Will