Question

Http 400 - Unauthorized for this grant type

  • 21 September 2016
  • 4 replies
  • 5135 views

Dear RingCentral Support Team/Community Members,


For one of our application, we are using RingCentral Api to develop Send SMS feature. Weve followed steps as per RingCentral help documentation to generate OAuth token to send sms. We are NOT able to identify root cause why following api returns 400 error?


Can you please help us to sort out this issue? Please refer following snaps that weve tried to retrieve oAuth token.

Thanks in advance!

!


4 replies

It probably means your app doesn't support password authorization flow.

Please check this screenshot: https://cloud.githubusercontent.com/assets/733544/18026560/b93e5356-6c7d-11e6-92a9-d35d28325e69.png  from this GitHub issue: https://github.com/ringcentral/ringcentral-php/issues/39

Make sure the application you created supports Password flow since your (grant_type=password) .

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

for more info, here is wonderful way it has answered with animated Gif image that will easily help you to understand the process: https://stackoverflow.com/questions/47692828/ringcentral-auth-token-failed-in-curl-call-unauthorized-for-this-grant-type/47745436#47745436

Now, That not trust. Any have more solution for that. I couldn't find the setting on Password follow.

Userlevel 1

Check this announcement.

Reply