https://api.zoom.us/v2/users/{userId}/token returns empty json body without error details

Hello, it seems the api https://api.zoom.us/v2/users/{userId}/token does not return type=token request? I used to be able to get a valid token but it stopped working and returns empty json object, like since half an hour ago. I am able to get zak token, though. Any ideas?

This seems to be fixed already. Thanks!

Hi @jiulongw,

We’re glad that you were able to find a solution for your issue. Let us know if you need anything else.

Thanks

Hi this happens again. I can get ZAK and ZPK tokens but not zoom token, which is required to start a meeting.

Do you guys have rate limit on this token? If any error happens, why return 200 with an empty JSON body? How can I trust this API for production usage?

Thanks,
-Jiulong

Hey @jiulongw,

To confirm, are you trying to get a Zoom Oauth access_token? Or a user token?

Also is the issue happening on our “Send a Test Request” feature on our docs, or in your code?

Thanks,
Tommy

@tommy Thanks for your reply.

This happens when I use a valid access_token to call https://api.zoom.us/v2/users/{userId}/token in order to get a user’s zoom token.

It happens both on my code, and the “Send a Test Request” feature on Zoom docs.

For anyone who has similar issue getting zoom token
According to this document (https://marketplace.zoom.us/docs/sdk/native-sdks/preface/zak), under FAQ item 2:

2. We currently use “token” in our Start Meeting SDK. We will need to update to use “ZAK.” Can we swap them out?
Unfortunately, The value: User_id, Zoom_token & Zoom_Access_Token are all required values. They are all required in the authentication process.

This is incorrect. I tried a lot of things when I’m not able to get zoom_token using REST API, and can confirm that using ZAK alone is enough to start a meeting in Android SDK. Just put ZAK into zoomToken field…

        params.userType = MeetingService.USER_TYPE_API_USER
        params.userId = userId
        params.zoomToken = zakToken
        params.zoomAccessToken = zakToken
        params.meetingNo = meetingNumber
        params.displayName = displayName

So, no need to get that unstable zoom_token :slight_smile:.

Please update your FAQ if that is the desired usage of ZAK token.

Thanks,
-Jiulong

Hi jiulongw,

Thanks for the reply and pardon the confusion in the doc. The zoom token is the token parameter in https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken; We will continue improving our doc.

Thanks!