# Redirect url mismatch

**URL:** <https://devforum.zoom.us/t/redirect-url-mismatch/26417>\
**Category:** API and Webhooks\
**Created:** [August 6, 2020, 10:54am UTC](https://devforum.zoom.us/t/redirect-url-mismatch/26417 "2020-08-06T10:54:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.gurung1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/h.gurung1/32/11655_2.png) [@h.gurung1](https://devforum.zoom.us/u/h.gurung1)\
**Post date:** [August 6, 2020, 10:54am UTC](https://devforum.zoom.us/t/redirect-url-mismatch/26417/1 "2020-08-06T10:54:46Z")

</div>

I have been facing so many issue related with zoom api or sdk . Can anyone help me out ?

Client error: `POST https://zoom.us/oauth/token?grant_type=authorization_code&code={code}&redirect_uri=https://{domain}/auth/callback` resulted in a `403 Forbidden` response: {“reason”:“Invalid request : Redirect URI mismatch.”,“error”:“invalid\_request”}

---

<div class="post-metadata">

**Author:** ![AussieDave](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@AussieDave](https://devforum.zoom.us/u/AussieDave)\
**Post date:** [August 8, 2020, 1:26am UTC](https://devforum.zoom.us/t/redirect-url-mismatch/26417/2 "2020-08-08T01:26:04Z")

</div>

Hi h.gurung1,

I had the same issue yesterday, but managed to solve it.

The URI must match the one you have given to Zoom (MyApps\>Develop\>Build App or this place: [https://marketplace.zoom.us/develop/create](https://marketplace.zoom.us/develop/create)).

I got a bit confused and thought I needed another callback GET end point on my server, but only need the one GET endpoint listening on my server.

Inside of my GET endpoint is my logic to make my outgoing POST request to [https://zoom.us/oauth/token?grant\_type=authorization\_code&code=MYCODE&redirect\_uri=MYURI](https://zoom.us/oauth/token?grant_type=authorization_code&code=MYCODE&redirect_uri=MYURI)).

In summary, what ever you use for MYURI, make sure it matches the one you gave when you setup your app in [https://marketplace.zoom.us/develop/create](https://marketplace.zoom.us/develop/create).

I hope this helps,

Dave.

---

<div class="post-metadata">

**Author:** ![h.gurung1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/h.gurung1/32/11655_2.png) [@h.gurung1](https://devforum.zoom.us/u/h.gurung1)\
**Post date:** [August 8, 2020, 4:43am UTC](https://devforum.zoom.us/t/redirect-url-mismatch/26417/3 "2020-08-08T04:43:40Z")

</div>

Hey @AussieDave,

Thank you for sharing but i think problem is with subdomain or something .  
Redirect uri is all same in both my app section and in my post request.

[https://zoom.us/oauth/token?grant\_type=authorization\_code&code=MYCODE&redirect\_uri=MYURI](https://zoom.us/oauth/token?grant_type=authorization_code&code=MYCODE&redirect_uri=MYURI)).

But when i try to use it something like this [http://127.0.0.1:8000/](http://127.0.0.1:8000/)  
Its working fine though. Really weird situation here.

Thanks,

---

<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:** [August 10, 2020, 6:47am UTC](https://devforum.zoom.us/t/redirect-url-mismatch/26417/4 "2020-08-10T06:47:28Z")

</div>

Hey @h.gurung1,

Checkout my post here and let me know if it answers your question:

> [@'Invalid request : Redirect URI mismatch.' despite using ngrok](https://devforum.zoom.us/t/invalid-request-redirect-uri-mismatch-despite-using-ngrok/26106/4):
>
> Hey @Nad, Let me know if this helps explain things: The Redirect URI needs to be the same URI from the authorization (install URL) through to the Get Access Token request. So with these URLs set: When I go to install the app from the “Activation” page, it defaults the redirect URI to the one specified in the “Redirect URL for OAuth” input: https://zoom.us/oauth/authorize?response\_type=code&client\_id=ztmR8sxaSBGZ66b5laR7Ag&redirect\_uri=https://zoom.u…

Thanks for your suggestions @AussieDave! 🙂

Thanks,  
Tommy

---

<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:** [August 20, 2020, 6:47am UTC](https://devforum.zoom.us/t/redirect-url-mismatch/26417/5 "2020-08-20T06:47:29Z")

</div>

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