I see we are promoted to production. Do i need to set up credentials using Setup Wizard for our main account the same way i did for sandbox account?
I don't know what is the "Setup Wizard" you mentioned above. But here is the fundamental requirement.
Use your app credentials (app client id and client secret) for you sandbox when you test it in sandbox environment.
Use your app credentials (app client id and client secret) for you production when you run your app in production environment.
If you use a RingCentral SDK, e.g. the RingCentral JS SDK, here is the example how to specify the app client id and secret
// sandbox server: "https://platform.devtest.ringcentrsl.com" // production server: "https://platform.ringcentrsl.com" var rcsdk = new RingCentral({ server: RINGCENTRAL_SERVER, clientId: RINGCENTRAL_CLIENTID, clientSecret: RINGCENTRAL_CLIENTSECRET });
I am using the Production Credentials for "GSMLSTEXT" app. I am not sure about the password. I tried using my account password as well as Sandbox password. I get same error
I still get following error
error" : "invalid_grant",
"errors" : [ {
"errorCode" : "OAU-140",
"message" : "Invalid resource owner credentials"
} ],
"error_description" : "Invalid resource owner credentials"
I am now using the Production Credentials . The password is same as the one is used for Sandbox
I still get following error
error" : "invalid_grant",
"errors" : [ {
"errorCode" : "OAU-140",
"message" : "Invalid resource owner credentials"
} ],
"error_description" : "Invalid resource owner credentials"
I am still waiting for reply. I am unable to use Production Credentials for "GSMLSTEXT' app
First you wrote "I am not sure about the password", then you wrote "The password is same as the one is used for Sandbox"
The error is clearly said "Invalid resource owner credentials"
How are you sure about your password is correct?
Can you login your production account service web with that user credentials? If you can, use the exact username, extension number and password in your app and it must work. Otherwise, reset your password.
I am able to login production account service web with username as my email id ashlesha@gsmls.com and the password that i have set.
However when i do it through API
RequestBody formBody = new FormBody.Builder()
.add("grant_type", "password")
.add("username", objCredentials.getUsername())
.add("extension", objCredentials.getExtension())
.add("password", objCredentials.getPassword())
.build();
The user name i set is +19738981900 . The one i see in the Production Enviornment and the same password and extension as 101. For which i get
Invalid resource owner credentials error
None of the extension under your production account is "101". All has 4-digit number starting from "3000" and yours is "3365". WHY you use 101?
I see the following attached in snapshot. Can i use some other number to send Text message then. This is our office main Contact number.
I see what you mean, when i put my Phone number and extension , I could send the SMS. Can i set a different number which is dedicated to send SMS messages
As long as you own that phone number, meaning the number must be assigned to your extension.
That is the default. Your Admin changed it and the dev portal will not know about that change.
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