# Keep getting a invalid clientid error

**URL:** <https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842>\
**Category:** API and Webhooks\
**Created:** [April 24, 2020, 11:00pm UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842 "2020-04-24T23:00:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![paddymandy](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@paddymandy](https://devforum.zoom.us/u/paddymandy)\
**Post date:** [April 24, 2020, 11:00pm UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/1 "2020-04-24T23:00:14Z")

</div>

**Description**  
why when requesting a token it gives a clientid error

**Error**  
Invalid client\_id: (4,702)

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

**Which Endpoint/s?**  
[https://zoom.weblet.me/fregazoom/app/oauth/?code=](https://zoom.weblet.me/fregazoom/app/oauth/?code=)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
var client = new RestClient(“[https://zoom.us/oauth/token?grant\_type=authorization\_code&code=7XxSIL5bs4\_ZNacrN1zSaaAWJZ8EZ\_4IA](https://zoom.us/oauth/token?grant_type=authorization_code&code=7XxSIL5bs4_ZNacrN1zSaaAWJZ8EZ_4IA)  
&redirect\_uri=https://zoom.us”);  
client.Timeout = -1;  
var request = new RestRequest(Method.GET);  
request.AddHeader(“Authorization”, “Basic ['creds]”);  
request.AddHeader(“Cookie”, “\_zm\_currency=USD”);  
IRestResponse response = client.Execute(request);  
Console.WriteLine(response.Content);  
**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<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 27, 2020, 11:19pm UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/2 "2020-04-27T23:19:13Z")

</div>

Hey @paddymandy,

Are you passing in your basic authorization header with the [key and secret bas 64 encoded](https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token)?

 ![Screen Shot 2020-04-27 at 5.18.37 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/62a5204ea950769868cbd98f912342a5ea08ae5f.png)

Make sure you are using the right set of development or production credentials.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![paddymandy](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@paddymandy](https://devforum.zoom.us/u/paddymandy)\
**Post date:** [April 27, 2020, 11:28pm UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/3 "2020-04-27T23:28:35Z")

</div>

yes. it is correct and it also gives same error when using postman app as well

---

<div class="post-metadata">

**Author:** ![paddymandy](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@paddymandy](https://devforum.zoom.us/u/paddymandy)\
**Post date:** [April 28, 2020, 11:17pm UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/4 "2020-04-28T23:17:41Z")

</div>

I still can not get past the invaluid client\_id error page.,. I am using postman togenerate the authorization header so it is 100% correct , I have used both dev & prod id/keys and created a seperate account which still gives same error lost

---

<div class="post-metadata">

**Author:** ![paddymandy](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@paddymandy](https://devforum.zoom.us/u/paddymandy)\
**Post date:** [April 29, 2020, 4:12am UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/5 "2020-04-29T04:12:57Z")

</div>

ok my bad it uses a POST request not a GET request…

---

<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 4, 2020, 4:01am UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/6 "2020-05-04T04:01:36Z")

</div>

Hey @paddymandy,

Glad you figured out your issue! 🙂 Yes it is POST and not GET.

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, 9:01pm UTC](https://devforum.zoom.us/t/keep-getting-a-invalid-clientid-error/14842/7 "2020-08-21T21:01:47Z")

</div>


