News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
500 status code returned from restapi/oauth/token
Tags: sdk
Nov 8, 2015 at 5:47pm   •   2 replies  •  0 likes
andrey-demenev
curl -i  https://platform.devtest.ringcentral.com/restapi/oauth/token -d grant_type=password -d username=XXXXX -d password=XXXX -H 'Authorization: Basic XXXX' -H 'Accept: application/json'  HTTP/1.1 500 Internal Server Error
Server: nginx/1.6.3
Date: Mon, 09 Nov 2015 01:43:36 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 119
Connection: keep-alive
Set-Cookie: RCRoutingInfo=deleted; Expires=Thu, 01-Jan-1970 00:00:01 GMT; Path=/
RoutingKey: SJC11P01PAS01
X-ERROR-ID: fe3a7b58-9b8c-4f0e-b6ec-71dddf716e73
X-REQUEST-ID: 97625
Content-Language: en
{
  
  "message" : "Internal Server Error. Consult RC Support.",
  "eventId" : "fe3a7b58-9b8c-4f0e-b6ec-71dddf716e73"
}

Exactly same request was sent before, and returned a meaningful response (access toke, refresh token etc)

2 Answers
answered on Jul 6, 2019 at 9:57am  

It may happens in case the ringcentral oauth server is down when you were hitting the API. Else this type of exception is very rare to occur. Maybe you had hit during a down-time


 0
answered on Jun 22, 2019 at 11:25pm  

It may happens in case the ringcentral oauth server is down when you were hitting the API. Else this type of exception is very rare to occur. Maybe you had hit during a down-time


 0
answered on Nov 9, 2015 at 12:07pm  
This could have been a hiccup, myself and others on the team have tested this and we've not received any 500 errors.

As long as you're following the documentation here: https://developers.ringcentral.com/api-docs/latest/index.html#!#Authentication.html you should be fine.

I'm going to mark this as answered for now, but if you experience this in the future...let us know.

 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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us