Getting empty token, when requesting token

Description
Hello! I’m getting an empty object when calling this endpoint api.zoom.us/v2/users/userId/token, but when calling the same endpoint with type=zak an object with a token is returned. I tried to run the same query from https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken, but I’m getting the same result.

Screenshots

In this case I passed type=token, but in case of type=zak everything is fine.
Any idea why this happens?

Hey @corrado4eyes,

That is strange, can you send the userId you are passing in and these details to developersupport@zoom.us so we can debug?

Thanks,
Tommy

Hey @tommy,
Thanks to @ojus.zoom I could solve this problem. The issue was that I used to login using google, but to enable this token you need to login using normal email and password. That was the missing part. If that is written in the documentation sorry, but I haven’t notice.

Thanks, Corrado

1 Like

Hey @corrado4eyes,

Happy to hear the issue is resolved! Thanks for the follow up and sharing the solution! :slight_smile:

Thanks,
Tommy