# "Invalid request : Client ID mismatch" OAuth

**URL:** <https://devforum.zoom.us/t/invalid-request-client-id-mismatch-oauth/32635>\
**Category:** API and Webhooks\
**Created:** [October 8, 2020, 4:05pm UTC](https://devforum.zoom.us/t/invalid-request-client-id-mismatch-oauth/32635 "2020-10-08T16:05:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachu2598](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lachu2598/32/7090_2.png) [@lachu2598](https://devforum.zoom.us/u/lachu2598)\
**Post date:** [October 8, 2020, 4:05pm UTC](https://devforum.zoom.us/t/invalid-request-client-id-mismatch-oauth/32635/1 "2020-10-08T16:05:36Z")

</div>

**Description**  
[https://zoom.us/oauth/token?grant\_type=authorization\_code&code=](https://zoom.us/oauth/token?grant_type=authorization_code&code=){my code}&redirect\_uri={my callback URL}

Making a POST Request to the above URL shows  
{  
“reason”: “Invalid request : Client ID mismatch”,  
“error”: “invalid\_client”  
}  
I’m not quite sure what the issue is. I am usinf development credentials and had copy pasted the correct client ID and client\_secret followed this url:

> [@Client ID not being recognised](https://devforum.zoom.us/t/client-id-not-being-recognised/5704/4):
>
> Hi @rich, For using development credentials, make sure to local test url. From there you should see the authorization screen. After you click Authorize, you will be redirected to your redirect url where you can use the OAuth Code. [34%20AM] Once you get OAuth code, you can go to Postman to request your Access token. To do so, here is an example url, make sure to replace code with your OAuth code and your redirect url with what you have listed in your marketplace app. Also, …

But i am unable to get accesstoken.  
**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Screenshots (If applicable)**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/a/fae607faaff33825247c6b049602ee7276382839.png)

---

<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:** [October 8, 2020, 4:05pm UTC](https://devforum.zoom.us/t/invalid-request-client-id-mismatch-oauth/32635/2 "2020-10-08T16:05:41Z")

</div>

Hey @lachu2598

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout these related threads that may have the answer you are looking for:

> [@Getting Invalid request : Redirect URI mismatch error](https://devforum.zoom.us/t/-/10484):
>
> Description I’m getting a Redirect URI mismatch error when trying to get an access token after getting the code. It’s probably because I misunderstood how redirect URI works. I tried the following: Exact same URI as in app settings Same URI that I provided in oauth/authorize call when getting the code I’m getting the same error every time. Error { “reason”: “Invalid request : Redirect URI mismatch.”, “error”: “invalid\_request” } Which App Type (OAuth / Chatbot / JWT / Webhook)? OAut…

> [@Invalid authorization code for same client id and client code](https://devforum.zoom.us/t/-/6511):
>
> Hi @tommy, I am getting invalid authorization code while I am using same client id and client code, it was working for me till yesterday, but today it is not working. Request and response are as follows [https://zoom.us/oauth/token?grant\_type=authorization\_code&code=04fZbtsGFA\_P30L4tA5QQmUg870PemO8w&redirect\_uri=https://ktaproxy.dev.samsung.net:443/appbridge/api/callback/zoom](https://zoom.us/oauth/token?grant_type=authorization_code&code=04fZbtsGFA_P30L4tA5QQmUg870PemO8w&redirect_uri=https://ktaproxy.dev.samsung.net:443/appbridge/api/callback/zoom) Response: { "reason": "Invalid authorization code 04fZbtsGFA\_P30L4tA5QQmUg870PemO8w", "error": "invalid\_request" } …

If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 9, 2020, 5:23pm UTC](https://devforum.zoom.us/t/invalid-request-client-id-mismatch-oauth/32635/4 "2020-10-09T17:23:51Z")

</div>

Hey @lachu2598,

Are you still having trouble with this? If so, can you ensure you’re following the instructions in step 2 here:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

It looks like you’re trying to use Basic Auth in your Postman screenshot, but you will need to pass an Authorization header like so:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/6/e62b244e8a4f17f227b2dbdb796027e721bdd8dc.png)

Let me know if you still have issues and I’m happy to help!

Best,  
Will

---

<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:** [November 9, 2020, 3:23am UTC](https://devforum.zoom.us/t/invalid-request-client-id-mismatch-oauth/32635/5 "2020-11-09T03:23:58Z")

</div>

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