# Getting empty token, when requesting token

**URL:** <https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826>\
**Category:** API and Webhooks\
**Created:** [May 15, 2020, 1:03pm UTC](https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826 "2020-05-15T13:03:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![corrado4eyes](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/corrado4eyes/32/4110_2.png) [@corrado4eyes](https://devforum.zoom.us/u/corrado4eyes)\
**Post date:** [May 15, 2020, 1:03pm UTC](https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826/1 "2020-05-15T13:03:12Z")

</div>

**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](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken), but I’m getting the same result.

**Screenshots**

 ![Screenshot 2020-05-15 at 14.59.02](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/244f2a5db9796930cf11cb85e31922f623a69a28.png)

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 20, 2020, 9:37pm UTC](https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826/2 "2020-05-20T21:37:48Z")

</div>

Hey @corrado4eyes,

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

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![corrado4eyes](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/corrado4eyes/32/4110_2.png) [@corrado4eyes](https://devforum.zoom.us/u/corrado4eyes)\
**Post date:** [May 25, 2020, 10:02am UTC](https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826/3 "2020-05-25T10:02:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 1, 2020, 6:02pm UTC](https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826/4 "2020-06-01T18:02:00Z")

</div>

Hey @corrado4eyes,

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

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:38pm UTC](https://devforum.zoom.us/t/getting-empty-token-when-requesting-token/17826/5 "2020-08-21T21:38:40Z")

</div>


