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
Get Token using oAuth
Tags: getting started
Apr 30, 2018 at 4:47pm   •   3 replies  •  0 likes

Use FileMaker Insert URL with the following and continually get "{ "error": "unauthorized_client",

"error_description": "Unauthorized for this grant type",

"errors": [


"errorCode": "OAU-251",

"message": "Unauthorized for this grant type"




Insert from URL [ $result; ""; cURL options: " --basic " & // clientId:clientSecret"-u " & "*******:*******" & "-H " & Quote ( "Accept:application/json" ) &

"-H " & Quote ( "Content-Type:application/json" ) &

"-X POST " &

"-d 'grant_type=password&username=**********&extension=101&password=****'" ]

3 Answers
answered on Jun 18, 2019 at 12:59pm  

If you're using an OAuth 2.0 request using the OAuth 2.0 password grant (grant_type=password), then your application you created should in the RingCentral Developer Portal should be Password flow .

Here is wonderful way it has answered with animated Gif image that will easily help you to understand the proccess:

Please note, application created with different platform type will have different grant_type.

For example, application created for platform type = browser based will have grant_type=Authorization Code | Implicit | Refresh Access Token where as application for platform type = Desktop/Windows will have grant_type= Authorization Code | Password flow |Refresh Access Token

So in order to use (grant_type=password) you need to have application created with platform type that support Password flow

answered on May 2, 2018 at 9:03am  
Success has been accomplished.

Went with Password Flow and things are fine.


answered on May 1, 2018 at 12:05am  
The most common reason for seeing this error "OAU-251 Unauthorized for this grant type" is because you are using the OAuth 2.0 Password Flow (grant_type=password) but your app is not configured for this.

Password Flow must be configured in your app and can only be applied to private apps, no UI apps. This is because other OAuth 2.0 flows (e.g. Authorization Code Flow and Implicit Grant) are designed for other apps.

To configure your app for Password Flow, follow the instructions here which has a nice animated screenshot of the Developer Portal configuration screen.


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