# While trying to fetch access token , getting invalid authorization code with invalid grant type error

**URL:** <https://devforum.zoom.us/t/while-trying-to-fetch-access-token-getting-invalid-authorization-code-with-invalid-grant-type-error/68323>\
**Category:** Authentication\
**Created:** [April 29, 2022, 1:16pm UTC](https://devforum.zoom.us/t/while-trying-to-fetch-access-token-getting-invalid-authorization-code-with-invalid-grant-type-error/68323 "2022-04-29T13:16:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 4, 2022, 11:18pm UTC](https://devforum.zoom.us/t/while-trying-to-fetch-access-token-getting-invalid-authorization-code-with-invalid-grant-type-error/68323/6 "2022-05-04T23:18:13Z")

</div>

Hi @jomy.paul2 ,

Try following this guide please to get the correct OAuth token to make requests:

> [@Guide: Making a Zoom API Call with OAuth Credentials in Postman](https://devforum.zoom.us/t/guide-making-a-zoom-api-call-with-oauth-credentials-in-postman/64538):
>
> To publish an app on the Zoom Marketplace you must create an [OAuth app](https://marketplace.zoom.us/docs/guides/build/oauth-app/). When you’re ready to test making API calls, download the latest version of Postman and import the Zoom API collections following the steps outlined [here](https://marketplace.zoom.us/docs/guides/guides/postman/using-postman-to-test-zoom-apis/). There are Three Ways to Set up OAuth in Postman to Make API Requests We’re going to go through three ways to set up our OAuth application credentials to successfully authorize and access the Zoom API to make requests. The “Easy” Difficulty OAuth 2.0 Set Up in Postman We’…

Gianni

---

_[View the full topic](https://devforum.zoom.us/t/while-trying-to-fetch-access-token-getting-invalid-authorization-code-with-invalid-grant-type-error/68323)._
