# Getting mismatch uri while getting access\_token

**URL:** <https://devforum.zoom.us/t/getting-mismatch-uri-while-getting-access-token/61462>\
**Category:** Web\
**Created:** [December 15, 2021, 4:43am UTC](https://devforum.zoom.us/t/getting-mismatch-uri-while-getting-access-token/61462 "2021-12-15T04:43:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raju.panwar](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@raju.panwar](https://devforum.zoom.us/u/raju.panwar)\
**Post date:** [December 15, 2021, 4:43am UTC](https://devforum.zoom.us/t/getting-mismatch-uri-while-getting-access-token/61462/1 "2021-12-15T04:43:12Z")

</div>

**Description**  
I am creating zoom oauth application. created application. First I tried to run redirect url on localhost:3000/auth-code server and it worked perfectly.  
Then I am planning to deploy this code on a server. and hence updated the redirect uri.  
New redirect uri is  
[https://10.32.9.250:8445/commonprov/web/zoom/index.html%23/auth-code](https://10.32.9.250:8445/commonprov/web/zoom/index.html%23/auth-code) .

Application is working good. getting code after authorisation worked.  
BuT, when trying that code to get user **access token** , it always failing.  
and saying  
**“Invalid request : Redirect URI mismatch.”**

**Browser Console Error**  
“Invalid request : Redirect URI mismatch.”

And If I am using localhost:3000/auth-code then it’s working very good.

Our server [https://10.32.9.250:8445](https://10.32.9.250:8445) works on VPN just for information.

Thanks

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 16, 2021, 11:00pm UTC](https://devforum.zoom.us/t/getting-mismatch-uri-while-getting-access-token/61462/2 "2021-12-16T23:00:56Z")

</div>

Hi @raju.panwar ,

I just want to confirm that you created an OAuth application and not an SDK application?

If it’s an OAuth application, did you change the redirect url to the new one under app credentials?

Gianni

---

<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:** [January 16, 2022, 9:01am UTC](https://devforum.zoom.us/t/getting-mismatch-uri-while-getting-access-token/61462/3 "2022-01-16T09:01:42Z")

</div>

Closed on January 16, 2022, 9:01am UTC

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