Code 124 Invalid access token

@tommy
Zoom API v2/users/
returning this error with my app please check it asap I’m stuck
Error?
{ code: 124, message: ‘Invalid access token.’ }

Hi @abhijeetgund0 , were you able to previously generate a correct and valid token or is this your first time trying to do this?

@gianni.zoom I’m trying this first time

@abhijeetgund0 Hope you will be fine.

Are you getting valid access token with proper scopes through OAuth2.0 flow?

Steps

  1. Create General/STS app on marketplace.zoom.us
  2. Configure app information, redirect URL and add users scopes
  3. Follow OAuth2.0 docs from Zoom
  4. Apply OAuth2.0 and get access token

Use that access token.

Still any query. Share that here.

Thanks

@freelancer.nak
I did all above things properly. Still I’m facing same issue.
Also, I’m going through this doc JWT With Zoom
for token generation using jwt.io.
Attached screenshots of app credentials and app type
[redacted]

@abhijeetgund0

JWT apps are deprecated.

Please follow this → Zoom OAuth2.0

1 Like

Hi @abhijeetgund0 , as @freelancer.nak said, JWT app types are deprecated. I see from the screenshot, you’ve created a Server-to-Server app, which ideal for internal requests. The purpose is the same like with previous JWT apps.

Please do not use the guidance Naeem shared, as that is for OAuth apps that may be used for external users… unless of course, that is the type of app you intended to develop.

For Server-to-Server, this is the correct documentation: Internal apps (Server-to-server)

@abhijeetgund0 You can use that app for internal users also.

For external users your app must be published on Zoom Marketplace.

Hi @freelancer.nak , I am aware. However, the auth process is slightly different between S2S and standard OAuth apps. Additionally, the token performance is different. There’s no refresh token for S2S.

1 Like

Thanks guys for your quick response.
But I’m not able to use generated access token with Zoom Meeting Get Audio/Video Raw Data sdk. Could you please check my account id which I mentioned in above screenshots?

Hi @abhijeetgund0 , please link what you are referring to. I removed your screenshot due to sensitive info.