# Incorrect error message "Invalid redirect url" during OAuth authorization

**URL:** <https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555>\
**Category:** API and Webhooks\
**Created:** [November 7, 2019, 5:30pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555 "2019-11-07T17:30:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ansell](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ansell/32/13709_2.png) [@ansell](https://devforum.zoom.us/u/ansell)\
**Post date:** [November 7, 2019, 5:30pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/1 "2019-11-07T17:30:44Z")

</div>

**Description/Error**  
We have a fully working integration that is successfully creating meetings on behalf of our users so we are confident that the configuration (including the redirect\_url) is all set up correctly. However, if a user enters the incorrect credentials when logging into the Zoom sign-in page ([https://zoom.us/oauth/signin](https://zoom.us/oauth/signin)) then the user is re-directed to a page with an error message that reads “Invalid redirect url (4, 700)”.

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

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

1. Load the URL [https://zoom.us/oauth/authorize?response\_type=code&client\_id={clientId}&redirect\_uri={redirectURL}](https://zoom.us/oauth/authorize?response_type=code&client_id=%7BclientId%7D&redirect_uri=%7BredirectURL%7D) without being logged into a zoom account.
2. Redirected to the login page [https://zoom.us/oauth/signin?\_rnd={randomNum}&client\_id={clientId}&redirect\_uri={redirectURL}&response\_type=code](https://zoom.us/oauth/signin?_rnd=%7BrandomNum%7D&client_id=%7BclientId%7D&redirect_uri=%7BredirectURL%7D&response_type=code)
3. Type in a valid Zoom account with an incorrect password
4. Redirected to a page with an error message reading “Invalid redirect url (4,700)” rather than any indication of entering incorrect credenials

**Screenshots (If applicable)**

 ![38%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5e525de0b1d30099bdf4642932a82873022bdeb9.png) ![48%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e37c8b86f6beeb969690c37c2e179501b6e4b1c9.png)

**Additional context**  
As stated previously, this works properly if the correct credentials are entered so we know that the redirect URL is correct.

---

<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:** [November 7, 2019, 8:20pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/2 "2019-11-07T20:20:12Z")

</div>

Hey @ansell,

Wow nice find! This is defiantly a bug and we will work asap to fix it! JIRA: ZOOM-119463

I will post back here with updates!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ROHAN\_KHAJURIA](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@ROHAN\_KHAJURIA](https://devforum.zoom.us/u/ROHAN_KHAJURIA)\
**Post date:** [November 30, 2019, 6:39am UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/3 "2019-11-30T06:39:25Z")

</div>

I am having the same problem. Any update on the progress of this fix?

---

<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:** [December 2, 2019, 10:01pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/4 "2019-12-02T22:01:12Z")

</div>

Hey @ROHAN_KHAJURIA,

Our team is looking into it. I will post back here with updates.

Thanks for your patience,  
Tommy

---

<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:** [December 5, 2019, 1:36am UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/5 "2019-12-05T01:36:46Z")

</div>

Hey @ROHAN_KHAJURIA, and @ansell,

We are releasing this fix at the end of this month (Dec).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tawandabrandon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tawandabrandon/32/4301_2.png) [@tawandabrandon](https://devforum.zoom.us/u/tawandabrandon)\
**Post date:** [March 27, 2020, 8:39am UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/6 "2020-03-27T08:39:41Z")

</div>

Hi @Tommy has this issue been resolved? I am getting the same error

---

<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:** [March 27, 2020, 5:25pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/7 "2020-03-27T17:25:56Z")

</div>

Hey @tawandabrandon,

This issue was fixed in dec. Can you share steps to reproduce?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mmijovilcevich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmijovilcevich/32/2471_2.png) [@mmijovilcevich](https://devforum.zoom.us/u/mmijovilcevich)\
**Post date:** [April 8, 2020, 1:18pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/8 "2020-04-08T13:18:02Z")

</div>

Hi Tommy,  
How are you?  
I’m working on Zoom integration and I’m getting the same error when I try to use the ClientId 1q3Fw8wBQLg9qvB0pnsFQ  
The error occurs when I try request user authorization.

**Note 1:** I implemented that part using like guideline this documentation [https://marketplace.zoom.us/docs/guides/auth/oauth](https://marketplace.zoom.us/docs/guides/auth/oauth).  
**Note 2** : I created a new App (GWu\_IhzZSySH6FJmtWTx5g) using the same account and for this App, the authorization is working fine  
.

---

<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, 8:20pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/9 "2020-04-08T20:20:29Z")

</div>

Hey @mmijovilcevich,

Which error occurs? The invalid redirect?

Make sure your redirect URL matches your whitelist URL.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mmijovilcevich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmijovilcevich/32/2471_2.png) [@mmijovilcevich](https://devforum.zoom.us/u/mmijovilcevich)\
**Post date:** [April 8, 2020, 9:17pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/10 "2020-04-08T21:17:50Z")

</div>

Hey Tommy!

Yes, the error “Invalid redirect url (4,700)”.  
I had already added the redirect URL in “Whitelist URL”. Even with the redirect URL in the whitelist, I still having the “Invalid redirect url” error.

Could you help me, please?  
Thanks,  
Mario

---

<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 9, 2020, 9:41pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/11 "2020-04-09T21:41:25Z")

</div>

Hey @mmijovilcevich,

Can you share your OAuth request URL and screenshots of your redirect url and whitelist url in the marketplace?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mmijovilcevich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmijovilcevich/32/2471_2.png) [@mmijovilcevich](https://devforum.zoom.us/u/mmijovilcevich)\
**Post date:** [April 10, 2020, 2:11pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/12 "2020-04-10T14:11:34Z")

</div>

Hey Tommy,

Here are the screenshots you requested (since I’m a new user I can upload just one image):

 ![ZoomApp](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/b8414d7d3058a681ebdf51f6165134b7a287ab1c.jpeg)

This is the complete URL that I can see on my browser after the error:

> [Sign In | Zoom](https://api.zoom.us/oauth/signin?_rnd=1586524112888&client_id=1q3Fw8wBQLg9qvB0pnsFQ&redirect_uri=https%3A%2F%2Fthirdpartyapi-dev.lawyersashumans.com%2Fapi%2Fv1%2FZoomOAuthRedirect&response_type=code&state=c9ad5110-12bb-4620-bf1e-3befc988872f---2cc40da2-7cf8-461c-a5a1-00eef07d1e0b---a603f652-5e50-45ff-8f74-6cb5d0e5413b---https://webfe-dev.lawyersashumans.com/matter/details/a603f652-5e50-45ff-8f74-6cb5d0e5413b&_x_zm_rtaid=bEiACCE8RX-VJVsxti_xsQ.1586522893186.99bb9fc3929c12f78f017bcb03bc968f&_x_zm_rhtaid=886)

As you can see, the redirect\_uri is the one I sent on my request (as URL encoded format)  
Thanks,  
Mario

---

<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 11, 2020, 1:50am UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/13 "2020-04-11T01:50:02Z")

</div>

Hey @mmijovilcevich,

Can you try without your `state` query param to see if that works?

I think since your state query param is not [url encoded](https://www.urlencoder.org/) it is breaking the flow.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mmijovilcevich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmijovilcevich/32/2471_2.png) [@mmijovilcevich](https://devforum.zoom.us/u/mmijovilcevich)\
**Post date:** [April 13, 2020, 12:44pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/14 "2020-04-13T12:44:13Z")

</div>

Hey @tommy,

I already did that test and it didn’t work.  
The error seems to be directly related to the application given that I’ve created other applications in the same account, with the same configuration, running the same request and they work correctly.  
(You can take a look for example at the application with clientid GWu\_IhzZSySH6FJmtWTx5g)

Thanks,  
Mario

---

<div class="post-metadata">

**Author:** ![bizstim.apps](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bizstim.apps/32/3599_2.png) [@bizstim.apps](https://devforum.zoom.us/u/bizstim.apps)\
**Post date:** [April 13, 2020, 3:11pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/15 "2020-04-13T15:11:18Z")

</div>

Last week the redirect url and authorization worked for me and now I too am getting this “Invalid redirect url (4,700)” error.

The only thing I did was proceed with the process of publishing the app.

---

<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 14, 2020, 6:51am UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/16 "2020-04-14T06:51:25Z")

</div>

Hey @mmijovilcevich, @bizstim.apps,

Can you try **regenerating** your publishable or test url and seeing if that fixes the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mmijovilcevich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmijovilcevich/32/2471_2.png) [@mmijovilcevich](https://devforum.zoom.us/u/mmijovilcevich)\
**Post date:** [April 15, 2020, 8:40pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/17 "2020-04-15T20:40:10Z")

</div>

Hey @tommy

I already did that with not luck. I created a new application in another account, using exactly the same information and it worked fine. Everything indicates that the problem is in that specific app.  
Could you please investigate if the app with ClientID 1q3Fw8wBQLg9qvB0pnsFQ (Dev)  
ClientID C0rNV8dRWm0\_rJ7I90iMg (Prod) has any problem?

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:** [April 16, 2020, 6:04am UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/18 "2020-04-16T06:04:32Z")

</div>

Hey @mmijovilcevich,

Strange, I will look into why that app is having issues.

Thanks,  
Tommy

---

<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 16, 2020, 5:35pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/20 "2020-04-16T17:35:27Z")

</div>

Hey @mmijovilcevich,

I attempted to install your app (C0rNV8dRWm0\_rJ7I90iMg) on your account, and I did not see a redirect url error.

I did see this though:

 ![Screen Shot 2020-04-16 at 11.34.23 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7309205e59e5660569a9a8c98d4239ebc0ec30d1.jpeg)

Are you getting the redirect error when installing the dev or prod version?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mmijovilcevich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmijovilcevich/32/2471_2.png) [@mmijovilcevich](https://devforum.zoom.us/u/mmijovilcevich)\
**Post date:** [April 16, 2020, 6:13pm UTC](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555/22 "2020-04-16T18:13:47Z")

</div>

Hey @tommy,

You get that error because ZoomOAuthRedirect is expecting an additional query param: state (it can’t be null). In our workflow, redirect\_uri includes the state query param.

Thanks,  
Mario

[Next page](https://devforum.zoom.us/t/incorrect-error-message-invalid-redirect-url-during-oauth-authorization/6555.md?page=2)
