Production API credentials used, but oauth call is done to https://platform.devtest.ringcentral.com/restapi/oauth/token
Tags: rest api
Oct 3, 2019 at 2:41pm • 4 replies • 0 likes
PCIC Team
Response: StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Connection: keep-alive X-Application-Context: application:8080 RCRequestId: f653128e-e625-11e9-9732-005056bbcdd9 Pragma: no-cache AceRoutingKey: sjc11-c01-ace11.545acde5-e606-11e9-9962-005056bb6e9b X-HLB-Server: sjc11-c01-hlb11 X-HLB-Connection: 506144065 X-HLB-RequestId: 380d1c46f54662a05742c2a3c947ec0a X-HLB-Upstream-Server: 10.28.21.80:8080 X-HLB-Upstream-Status: 400 Cache-Control: no-store Date: Thu, 03 Oct 2019 21:37:13 GMT Server: nginx WWW-Authenticate: Bearer realm="RingCentral REST API", error="invalid_grant", error_description="Invalid resource owner credentials" Content-Length: 199 Content-Language: en Content-Type: application/json; charset=utf-8 } Content: { "error" : "invalid_grant", "errors" : [ { "errorCode" : "OAU-140", "message" : "Invalid resource owner credentials" } ], "error_description" : "Invalid resource owner credentials" }
Request: Method: POST, RequestUri: '
https://platform.devtest.ringcentral.com/restapi/oauth/token', Version: 1.1, Content: System.Net.Http.FormUrlEncodedContent, Headers: { X-User-Agent: Unknown/0.0.1
RingCentral.Net/2.0.2 Authorization: Basic R1NNVUxRMnhTVGV2RnhaSVFsb0tidzo3WHVwRFY3X1IzeTNPRlBDMWRwRkRBTnFTeWhuOXRTc3lsSnc3RDdtdGJmUQ== Content-Type: application/x-www-form-urlencoded Content-Length: 79 } Content: <content has been disposed by HttpClient:
https://github.com/dotnet/corefx/issues/1794>;
4 Answers
Is this a free tier app?
The last thing now I can guess is being a free tier app.
As per my conversation with the backend dev support team was when I was facing similar kind of issues not able to test the app in production.
What they said was free tier app will not be able to test it using our account and any other RC user (paid user) can test the integration app in production.
Now I hope this is not the case with you.
0
The error seems to reflect that your credentials are wrong. What is the URL you are hitting? Is that dev or prod?
Can you please check with developer support and submit a help ticket with your application client id so that they can check the issue?
0
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