Keep getting a invalid clientid error

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=

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
&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.

Hey @paddymandy,

Are you passing in your basic authorization header with the key and secret bas 64 encoded?

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

Thanks,
Tommy

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

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

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

1 Like

Hey @paddymandy,

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

Thanks,
Tommy