I am following this tutorial on creating an app:
https://developers.ringcentral.com/guide/messaging/quick-start#c#
I went into visual studio following the instructions and got the Ring Central API. When I ran the code from the tutorial after filling the fields, I got the following error:
Content: {
"error" : "unauthorized_client",
"errors" : [ {
"errorCode" : "OAU-251",
"message" : "Unauthorized for this grant type"
} ],
"error_description" : "Unauthorized for this grant type"
}
Going through the forums "Unauthorized for this grant type" errors can supposedly be solved by getting 3-legged authentication. Which got me to this page:
https://developers.ringcentral.com/guide/authentication/auth-code-flow
In step 1 I don't understand how I'm meant to generate the URL. Is it copy and pasted from a specific ring central link related to my app? When I look at my sandbox app, the url is generic (https://platform.devtest.ringcentral.com/) and doesn't lead to anywhere. Also if you have any advice to making apps in Ring Central, it would be appreciated.