In Postman : { "code": 124, "message": "Invalid access token." }

Hi, I tried to hit the get user service in postman but am getting error message as

{
“code”: 124,
“message”: “Invalid access token.”
}

Hi Aadarsh, do you set the correct access_token value to your API request?

Yes, I had generated the access token from the JWT

@Aadarsh, so maybe your access_token is invalid. Can you please provide more details about your access token?

I am using this to generate access token

Did you put the api secret with no extra white space to the JWT?

In JWT where?

@Aadarsh, please refer to https://zoom.github.io/api/#authentication

Api secret should be put to “Signature” section.

Gone through it but still have the same issue.
when I am putting my api secret key in the signature section it JWT gives error as Invalid Signature.

@Aadarsh, just need to modify the “exp” value

Working good but have issues with the create meeting api. Getting error as Invalid CORS request.

Getting this issue with the POST service. Working fine with the GET services.

 

@Aadarsh, please refer to https://support.zoom.us/hc/en-us/community/posts/360000250663-Zoom-API-POST-sending-Invalid-CORS-request?page=1#community_comment_360000087426

Added the Interceptor but after that I am getting some error like this: 

{
“code”: 300,
“message”: “Invalid enforce_login_domains, please separate multiple domains by semicolon”
}

 

@Aadarsh, please set correct “enforce_login_domains” value or remove this parameter.

For Origin what should be the value?? For now I am using https://developer.zoom.us as the origin. This origin name was mentioned in the community forum that you have mentioned in the last post 

 

@Aadarshhttps://developer.zoom.us is correct.

The response error message means that you should set correct “enforce_login_domain” value or remove this parameter.

I removed the enforce login domain parameter and it is working fine. but what should be the correct enforce_login_domain?

I have same issue like you, Any Help about this very help me, I Stuck on this.

{
“code”: 124,
“message”: “Invalid access token.”
}

Hey @gourab.singha, thanks for posting and using Zoom!

How are you generating an access_token?

Also please share more details like which API you are requesting, and steps for me to reproduce the error.

Thanks,
Tommy

Hi Tommy,
Token issue solved by a token generation library jwt firebase,

But I want to start zoom client as host without login into zoom website using the zoom url schema.
I able to start zoom client as attendee from tutorial in given url:

Thanks
Gourab Singha

1 Like