News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Status Code 400(Bad Request)
Tags: rest api
Jul 29, 2019 at 2:21am   •   2 replies  •  0 likes
Raman Thakur

Hi All,

I am creating a dummy console application using ASP.NET with C# and RingCentral.Client.

After implementing provided sample code, I got below error:

Please suggest what is the step which I missed.


2 Answers
answered on Jul 29, 2019 at 8:01am  

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

Did you checked by calling the API directly? It can happen due to various issues.

Until and unless you provide the full exception message and the full details about how you are calling the token url, and details about your input, it will be difficult to judge.

answered on Jul 29, 2019 at 7:42am  

Hi Raman,

Not sure how you created the auth request. But the first thing I would suggest is to use the new RingCentral .Net SDK. Then follow the sample code to get authenticated.

Example to send a message

Example to make a ring-out call

If you still want to authenticate the way you did before. Post the entire code (don't post your username/password nor client Id/Secret) so I can help.


A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us