Jump to content
akin

RingCentral Insert from URL

Recommended Posts

akin

I have created a  developer Ringcentral API for which I have been granted the following items:

  1. RINGCENTRAL_CLIENT_SECRET
  2. RINGCENTRAL_USERNAME
  3. RINGCENTRAL_PASSWORD

I created a  RingCentral API application with  platform types and authorization flows, as  listed in the following lines:

  1. Application Type:  Private 
  2. Platform: Desktop/Mac
  3. Authorization Flows: Authorization CodePassword flowRefresh Access Token

The following FMP Insert from URL script however fails.

Insert from URL [ $RingCentralResult; "https://platform.ringcentral.com/restapi/oauth/token"; cURL options:Let ([RINGCENTRAL_CLIENT_SECRET="**********"; RINGCENTRAL_USERNAME  = "********"; RINGCENTRAL_PASSWORD="********" ] ; " --basic -u " & Quote (RINGCENTRAL_CLIENT_SECRET) &   " -H " & Quote ( "Accept:application/json" ) & " -H " & Quote ( "Content-Type:application/json" ) & " -X POST" & " -d 'grant_type=password&username=" & RINGCENTRAL_USERNAME & "&extension=101&password="  & RINGCENTRAL_PASSWORD & "'" )

The $RingCentralResult returns the following object:

 {
  "error" : "invalid_request",
  "error_description" : "Unsupported grant type",
  "errors" : [ {
    "errorCode" : "OAU-250",
    "message" : "Unsupported grant type"
  } ]
}

What steps should I take to correct this problem?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×