# Another Invalid request : Redirect URI mismatch issue

**URL:** <https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526>\
**Category:** API and Webhooks\
**Created:** [June 15, 2021, 9:55pm UTC](https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526 "2021-06-15T21:55:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bud.gressett](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bud.gressett/32/28281_2.png) [@bud.gressett](https://devforum.zoom.us/u/bud.gressett)\
**Post date:** [June 15, 2021, 9:55pm UTC](https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526/1 "2021-06-15T21:55:40Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I’ve read until my eyes are popping out. And still can’t find a solution for receiving the error “Redirect URI mismatch issue”

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

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

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

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Initial Request: [https://zoom.us/oauth/authorize?response\_type=code&client\_id=ZcyVHYAeREuscd9kC0S33w&redirect\_uri=https%3A%2F%2Fpreviewdev.xcatalyst.com%2FLogMeInAuth.asp](https://zoom.us/oauth/authorize?response_type=code&client_id=ZcyVHYAeREuscd9kC0S33w&redirect_uri=https%3A%2F%2Fpreviewdev.xcatalyst.com%2FLogMeInAuth.asp)]([https://zoom.us/oauth/authorize?response\_type=code&client\_id=ZcyVHYAeREuscd9kC0S33w&redirect\_uri=https://previewdev.xcatalyst.com/LogMeInAuth.asp](https://zoom.us/oauth/authorize?response_type=code&client_id=ZcyVHYAeREuscd9kC0S33w&redirect_uri=https://previewdev.xcatalyst.com/LogMeInAuth.asp)

2. Step one properly returns to me [https://previewdev.xcatalyst.com/LogMeInAuth.asp?MODE=CallBack&code=](https://previewdev.xcatalyst.com/LogMeInAuth.asp?MODE=CallBack&code=){a good code appears here}

3. I take the code and use the following vbscript code in legacy asp

4. I get a JSON return of “{“reason”:“Invalid request : Redirect URI mismatch.”,“error”:“invalid\_request”}”

I’ve used Step 3 for vbscript for many other ReST calls without issue. I presume this has something to do with the redirect URL and Whitelist. But have added and removed parameters until I’m blue and cannot get off this issue. The redirect URL and Whitelist have exactly the same uri in them ([https://previewdev.xcatalyst.com/LogMeInAuth.asp](https://previewdev.xcatalyst.com/LogMeInAuth.asp)).

I hope you guys don’t send me the same answers I’ve already read through. They all seem useless. What I need, perhaps, is a step by step critique of the things I’ve described above, ok?

Thanks guys for being around to hear me huff and puff. ~BG

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 17, 2021, 1:03am UTC](https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526/2 "2021-06-17T01:03:00Z")

</div>

Hey @bud.gressett,

Thank you for reaching out to the Zoom Developer Forum. When you make the request to get the token, have you tried adding the MODE query parameter? I’m wondering if that’s causing the issue here.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![bud.gressett](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bud.gressett/32/28281_2.png) [@bud.gressett](https://devforum.zoom.us/u/bud.gressett)\
**Post date:** [June 17, 2021, 12:49pm UTC](https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526/3 "2021-06-17T12:49:11Z")

</div>

Yes, MaxM. And I think that’s where all the problems started. It seems that if I change the URL Redirect after I select the Install button, I start getting the errors. Apparently this is a taboo that is not clearly mentioned in the online documentation. I deleted the app I installed and started over with what I wanted for a Redirect URL configuration. Then things began to work.

I appreciate your reply. Could you educate me further on how and why, after the Install, I was allowed to make changes to the redirect and they caused the error “Redirect URI mismatch”?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 21, 2021, 7:18pm UTC](https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526/4 "2021-06-21T19:18:51Z")

</div>

Hey @bud.gressett,

I’m glad to hear that you were able to figure it out! When it comes to making changes to an [OAuth App](https://marketplace.zoom.us/docs/guides/auth/oauth), you’ll need to reinstall the app for those changes to be available to the user.

This is so that we can ensure the user authorizes any new versions even for unpublished apps.

Further, when passing data to your app, you’ll want to use the [`state` parameter](https://marketplace.zoom.us/docs/guides/auth/oauth#step-1-request-user-authorization) instead of a query parameter.

Let me know if that helps.

Thanks,  
Max

---

<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:** [July 22, 2021, 5:19am UTC](https://devforum.zoom.us/t/another-invalid-request-redirect-uri-mismatch-issue/52526/5 "2021-07-22T05:19:16Z")

</div>

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