Skip to main content

Hello All,

I am trying to create a C# web application using RC API's for C#.

In my page_load method I try to log into RC using their tutorial for C# api, but I cannot get logged in.

I get error Request to https://platform.devtest.ringcentral.com/restapi/oauth/token failed with status code 400 (Bad Request).


I can log into developer.reingcentral.com just fine, but through my web app it will not log in.

I eventually want to log in, and get a list/count of all calls made by all users, so I can report on how many calls each user has made, and put that into a gridview.


Can anyone help and or provide sample code on how to properly setup my Sandbox with the proper platform type, and steps on how I should set up my web app.

Thanks,

KS.

Please use this SDK to access platform API: https://github.com/ringcentral/ringcentral-csharp-client

There is sample code in README file. If you have problem doing authorization, please post your code here.

400 (Bad Request means you are not able to provide correct request to the oauth API.

Did you checked by calling the API directly?

Can you prove the code snippet snippet to get the root cause detected?


Reply