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
Receiving OAU-250 Unsupported Grant Type Getting OAUTH Token from Code
Tags: rest api
Feb 22, 2024 at 6:04pm   •   3 replies  •  0 likes
George Schally

We are trying to convert a code to a token using the OAUTH flow and we are getting OAU-250 Unsupported Grant Type.

We verified the format of the request using this documentation page:

We are passing "authorization_code" for grant_type in the query parameters.

Thanks for any help you can provide.

3 Answers
answered on Feb 23, 2024 at 1:14pm  

Thanks, the documentation page I had called them post parameters, your reference called them form data. When I added them as form data it worked. I think this has tripped me up before with the API documentation.

answered on Feb 23, 2024 at 10:03am  

Show me the exact post call you made and how you pass the body in a form data (not a json object)

Check this API reference.

answered on Feb 23, 2024 at 9:05am  

Also, the documentation states grant_type should be a parameter, we tried it as a Query parameter, we also tried passing JSON in the POST body. Which should it be? I'm running Fiddler and I'm very sure of what I'm passing. Thanks.


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