# Tokens are not generating for new user authorizations

**URL:** <https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742>\
**Category:** Zoom Apps\
**Created:** [August 1, 2023, 1:44pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742 "2023-08-01T13:44:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![manish.agarwal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manish.agarwal/32/42840_2.png) [@manish.agarwal](https://devforum.zoom.us/u/manish.agarwal)\
**Post date:** [August 1, 2023, 1:44pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/1 "2023-08-01T13:44:46Z")

</div>

Authorization code is provided but while trying to generate the token, the request is providing me an error:

{“reason”:“Invalid Grant”,“error”:“invalid\_grant”}

Request Sample:  
curl   
-H ‘Authorization: Basic bXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’   
-H ‘Content-Type: application/x-www-form-urlencoded’   
-d ‘grant\_type=authorization\_code&code=[AUTH\_CODE\_RECEIVED]&redirect\_uri=[REDIRECT\_URI]’   
‘[https://zoom.us/oauth/token](https://zoom.us/oauth/token)’

This is only for the new authorizations, for already authorized users its working fine with refresh\_token API call and correct token is being returned.

Please help.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 2, 2023, 9:22pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/2 "2023-08-02T21:22:15Z")

</div>

Hi @manish.agarwal  
thanks for reaching out to us! I am happy to help here!  
Is your app published in the Marketplace? If so, what’s the name of the app so I can do some testing on my end

---

<div class="post-metadata">

**Author:** ![manish.agarwal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manish.agarwal/32/42840_2.png) [@manish.agarwal](https://devforum.zoom.us/u/manish.agarwal)\
**Post date:** [August 2, 2023, 10:11pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/3 "2023-08-02T22:11:16Z")

</div>

Hi Elisa, thanks for your revert.

The app name is Hapana and is in published on Marketplace.

Kindly let me know if you have any other question.

Thanks  
Manish

---

<div class="post-metadata">

**Author:** ![manish.agarwal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manish.agarwal/32/42840_2.png) [@manish.agarwal](https://devforum.zoom.us/u/manish.agarwal)\
**Post date:** [August 7, 2023, 2:01pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/4 "2023-08-07T14:01:48Z")

</div>

Hi Eliza, anything for me on the issue posted regarding Hapana app at MarketPlace?

I am still waiting to get the application work for the new authorizations.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 8, 2023, 2:56pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/5 "2023-08-08T14:56:21Z")

</div>

Hi @manish.agarwal  
I am so sorry for the late reply, I did not get a notification on this reply.  
Next time feel free to tag me so I get a notification on my end 🙂

Let me take a look into your app and will come back to you with an update

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 8, 2023, 7:22pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/6 "2023-08-08T19:22:16Z")

</div>

> [@manish.agarwal](#):
>
> Hapana

Hi @manish.agarwal  
I am trying to authorize your app on my end but asking me for a login, I have sent you a private message, could you please follow up there

---

<div class="post-metadata">

**Author:** ![manish.agarwal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manish.agarwal/32/42840_2.png) [@manish.agarwal](https://devforum.zoom.us/u/manish.agarwal)\
**Post date:** [August 9, 2023, 2:24am UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/7 "2023-08-09T02:24:07Z")

</div>

Hi Elisa,

Happy to jump on the call with you if you are available today.

Eagerly waiting this to be done.

Meanwhile I will share you on your personal email complete payload and calls that have been exchanged for verification.

Thanks  
Manish

---

<div class="post-metadata">

**Author:** ![manish.agarwal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manish.agarwal/32/42840_2.png) [@manish.agarwal](https://devforum.zoom.us/u/manish.agarwal)\
**Post date:** [August 9, 2023, 2:55am UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/8 "2023-08-09T02:55:49Z")

</div>

Hi @elisa.zoom replied the details to your personal message.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 9, 2023, 1:23pm UTC](https://devforum.zoom.us/t/tokens-are-not-generating-for-new-user-authorizations/92742/9 "2023-08-09T13:23:56Z")

</div>

Thanks @manish.agarwal  
I replied in that private thread, please follow up there 🙂
