# Persistent "Redirect URI mismatch" error

**URL:** https://devforum.zoom.us/t/persistent-redirect-uri-mismatch-error/12097
**Category:** API and Webhooks
**Created:** [April 8, 2020, 10:03am UTC](https://devforum.zoom.us/t/persistent-redirect-uri-mismatch-error/12097 "2020-04-08T10:03:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![clbadiola](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clbadiola/32/5463_2.png) [@clbadiola](https://devforum.zoom.us/u/clbadiola)
#### Post date: [April 8, 2020, 10:03am UTC](https://devforum.zoom.us/t/persistent-redirect-uri-mismatch-error/12097/1 "2020-04-08T10:03:40Z")

</div>

**Description**  
When making the POST request to obtain the access and refresh tokens, I keep receiving a 403 status code, with the “Redirect URI mismatch” error.

**Error**  
{“reason”:“Invalid request : Redirect URI mismatch.”,“error”:“invalid\_request”}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth2

**Which Endpoint/s?**  
[https://zoom.us/oauth/token](https://zoom.us/oauth/token)

**Additional context**  
I’m stuck at step 2 of OAuth2 authorization. I have obtained the authorization code from step 1, and now I’m calling the endpoint for step 2:

`https://zoom.us/oauth/token?grant_type=authorization_code&code=[AUTHORIZATION_CODE]&redirect_uri=https%3A%2F%2F12345678.ngrok.io%2Fauthorize%2Fzoom%2Fcallback`

Where `[AUTHORIZATION_CODE]` is of course the code obtained on step 1.

In my app, I have set the callback URL as `https://12345678.ngrok.io/authorize/zoom/callback`, and I have added both `https://12345678.ngrok.io` and `http://12345678.ngrok.io` to the URL whitelist, but I keep getting the same error over and over again.

Am I missing something?

---

<div class="post-metadata">

### Author: ![clbadiola](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clbadiola/32/5463_2.png) [@clbadiola](https://devforum.zoom.us/u/clbadiola)
#### Post date: [April 8, 2020, 4:25pm UTC](https://devforum.zoom.us/t/persistent-redirect-uri-mismatch-error/12097/2 "2020-04-08T16:25:45Z")

</div>

Solved it. Turns out that the return URL was having a parameter appended, so removing it solved the problem

---

<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: [April 8, 2020, 10:34pm UTC](https://devforum.zoom.us/t/persistent-redirect-uri-mismatch-error/12097/3 "2020-04-08T22:34:19Z")

</div>

Happy to hear you resolved the issue! 🙂

-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, 8:24pm UTC](https://devforum.zoom.us/t/persistent-redirect-uri-mismatch-error/12097/4 "2020-08-21T20:24:08Z")

</div>


