# Getting this Error... {"reason":"Internal Error","error":"invalid\_request"}

**URL:** <https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688>\
**Category:** API and Webhooks\
**Created:** [February 6, 2021, 5:33am UTC](https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688 "2021-02-06T05:33:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasanthpai1996](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasanthpai1996/32/22714_2.png) [@vasanthpai1996](https://devforum.zoom.us/u/vasanthpai1996)\
**Post date:** [February 6, 2021, 5:33am UTC](https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688/1 "2021-02-06T05:33:23Z")

</div>

I am trying to develop a application using Zoom API(OAuth). I created the OAuth App and referred the code in zoom marketplace documentation.  
This is my code. Node Js

 ![Capture1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/a/3ac2e2be9c37973a3ce1cf4a16a78a012369f3a7.png)

Is anything I am missing here? I am not getting the access token.

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 8, 2021, 6:11pm UTC](https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688/2 "2021-02-08T18:11:28Z")

</div>

Hi @vasanthpai1996,

Thanks for reaching out about this.

Can you please ensure you’re passing one of our supported grant types when requesting an access token?

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

This should be grant\_type=authorization\_code.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![vasanthpai1996](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasanthpai1996/32/22714_2.png) [@vasanthpai1996](https://devforum.zoom.us/u/vasanthpai1996)\
**Post date:** [February 9, 2021, 4:36am UTC](https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688/3 "2021-02-09T04:36:27Z")

</div>

Yes… Its working… Thanks for the response 😃

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [February 9, 2021, 6:12pm UTC](https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688/4 "2021-02-09T18:12:18Z")

</div>

Awesome, glad to hear that did the trick @vasanthpai1996 !

Best,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 12, 2021, 4:12am UTC](https://devforum.zoom.us/t/getting-this-error-reason-internal-error-error-invalid-request/42688/5 "2021-03-12T04:12:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
