# Invalid redirect url (4,700) in unpublished app

**URL:** <https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670>\
**Category:** API and Webhooks\
**Created:** [May 14, 2020, 2:31pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670 "2020-05-14T14:31:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex404/32/2964_2.png) [@alex404](https://devforum.zoom.us/u/alex404)\
**Post date:** [May 14, 2020, 2:31pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/1 "2020-05-14T14:31:57Z")

</div>

We have an integration that allows our application to schedule Zoom meetings on behalf of our users. We registered a user managed OAuth app that we intend to publish to the Zoom marketplace. We haven’t submitted the app yet (we are currently in the process of validating the domain name), but we requested the ability to share the app with other accounts (see the image below).

The problem is that I’m getting **“Invalid redirect url (4,700)”** when I try to connect a Zoom account to our application. But if I’m already logged in on [zoom.us](http://zoom.us), then the authorization works fine. For some reason this doesn’t work if I’m logged in with my work email (which is on the same domain as the redirect URL). In this case I’m getting the error **“Invalid redirect: {RedirectUrl} (4,700)”**, where {RedirectUrl} is the redirect URL that I specify in the authorization request.

Here is what I tried so far:

- Added the redirect URL to the whitelist.
- Regenerated the verification token and the publishable URL.
- Copied the Publishable URL from App Marketplace and tried to open it in the browser - same error.

We also have a couple other apps that we use in other environments (testing, stage), and those work fine. The only difference is that we didn’t request to share those apps with other accounts.

 ![Zoom - Invalid redirect](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/2002d002fa289888d56a93c5a2dd0008c448eeb5.png)

---

<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:** [May 19, 2020, 7:33pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/2 "2020-05-19T19:33:02Z")

</div>

Hey @alex404,

Can you send me the [install url](https://marketplace.zoom.us/docs/guides/auth/oauth#step-1-request-user-authorization) so I can test it?

If you are [requesting an access token](https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token), make sure to send a POST request.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alex404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex404/32/2964_2.png) [@alex404](https://devforum.zoom.us/u/alex404)\
**Post date:** [May 20, 2020, 8:26am UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/3 "2020-05-20T08:26:05Z")

</div>

Hi @tommy,

Here is the publishable URL from Zoom marketplace.  
[https://zoom.us/oauth/authorize?response\_type=code&client\_id=KmEErFYfRZSAgGnlSPgwFg&redirect\_uri=https://api.xor.ai/zoom/oauth/callback](https://zoom.us/oauth/authorize?response_type=code&client_id=KmEErFYfRZSAgGnlSPgwFg&redirect_uri=https://api.xor.ai/zoom/oauth/callback)

Please note that in order to complete the installation, the authorization request must have a “state” query parameter (which is added automatically by our application when the user starts the authorization), but since the authorization doesn’t get to that point, you can still use the publishable URL to reproduce the error.

Also, I added to the whitelist both  
h++ps://api.xor.ai/zoom/oauth/callback (changed the URL due to forum limits)  
and  
h++ps://api.xor.ai

but it didn’t make any difference.

---

<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:** [May 26, 2020, 7:44pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/4 "2020-05-26T19:44:25Z")

</div>

Thanks for the info @alex404,

We are investigating the issue and will get back to you. (ZOOM-162618)

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:** [June 2, 2020, 4:41pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/5 "2020-06-02T16:41:57Z")

</div>

Hey @alex404,

Please try again, it should be fixed now. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alex404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex404/32/2964_2.png) [@alex404](https://devforum.zoom.us/u/alex404)\
**Post date:** [June 3, 2020, 7:09am UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/6 "2020-06-03T07:09:40Z")

</div>

Hi @tommy,

Thanks for the update. Unfortunately it still doesn’t work for me. It only works when I’m already logged in on [zoom.us](http://zoom.us).

---

<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:** [June 8, 2020, 8:20pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/7 "2020-06-08T20:20:07Z")

</div>

Thanks for the details @alex404,

Engineering is looking into the issue. I will provide you with updates.

-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:** [June 9, 2020, 3:52pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/8 "2020-06-09T15:52:04Z")

</div>

Hey @alex404,

It should be fixed now! Please test and let me know! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alex404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex404/32/2964_2.png) [@alex404](https://devforum.zoom.us/u/alex404)\
**Post date:** [June 9, 2020, 4:08pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/9 "2020-06-09T16:08:41Z")

</div>

Hi @tommy,

Yes, it works now.

Thank you very much for your help.

---

<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:** [June 12, 2020, 10:56pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/10 "2020-06-12T22:56:08Z")

</div>

You are welcome @alex404! 🙂

Thanks,  
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, 10:02pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-in-unpublished-app/17670/11 "2020-08-21T22:02:21Z")

</div>

Closed on August 21, 2020, 10:02pm UTC


