Question

Receiving OAU-250 Unsupported Grant Type Getting OAUTH Token from Code

  • 23 February 2024
  • 3 replies
  • 109 views

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: https://developers.ringcentral.com/guide/authentication/auth-code-flow

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

Thanks for any help you can provide.


3 replies

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.

Userlevel 1

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.

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.

Reply