Receiving a CMN-211 / HTTP 503 obtaining an OAuth token from DevTest environment

  • 1
  • Question
  • Updated 2 years ago
  • Answered
When I tried to obtain an access_token from the DevTest environment I was returned a HTTP 503 response / CMN-211 response instead of the expected access_token and a 200 response for the following request:

POST /restapi/v1.0/oauth/token
- Content-Type: application/x-www-form-urlencoded;charset=UTF-8
- Authorization: Basic <BASE64_ENCODED_API_KEYS>
- Accept: application/json

* NOTE: I did replace the values in tags above with actual values

The response I received was:
{  "errorCode": "MaintenanceMode",
  "message": "Service is overloaded, please retry later",
  "errors": [
      "errorCode": "CMN-211",
      "message": "Service is overloaded, please retry later"

Is the devtest environment in Maintenance mode, or am I doing something incorrectly?
Photo of Benjamin Dean

Benjamin Dean

  • 8,582 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Benjamin Dean

Benjamin Dean

  • 8,582 Points 5k badge 2x thumb
Figured out what the problem is. The RingCentral OAuth route does not utilize the version string in the path.

The path I was providing was invalid according to all the documentation in RingCentral. 

If I remove the "/v1.0" from the PATH being used, then I receive a HTTP 200 response and the expected access_token.

Sharing this in case other developers experience this as well and to help save them some time.