question

tech- avatar image
tech- asked ·

Receiving 503 Service Unavailable on some endpoints in Sandbox mode

Some endpoints of the API return 503 Service Unavailable such as the endspoints to sync call logs, retreive call logs, sync messages and retreive messages. The endpoints to retreive account information and user information however are working fine and also the calls to subscribe to pubnub events works too.
Here's an exemple of a call to access call logs:

        1. Request URL:
          https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log
        2. Request Method:
          GET
        3. Status Code:
          503 Service Unavailable
        4. Remote Address:
          192.209.29.78:443
        5. Referrer Policy:
          no-referrer-when-downgrade
      1. Response Headers
        1. Access-Control-Allow-Credentials:
          true
        2. Access-Control-Allow-Origin:
          http://jurisconcept.ca
        3. Access-Control-Expose-Headers:
          Date, RoutingKey, Content-Length, Content-Encoding, Retry-After, RCRequestId, X-Rate-Limit-Group, X-Rate-Limit-Limit, X-Rate-Limit-Remaining, X-Rate-Limit-Window, ETag
        4. Connection:
          keep-alive
        5. Content-Language:
          en-US
        6. Content-Length:
          177
        7. Content-Type:
          application/json;charset=UTF-8
        8. Date:
          Mon, 18 Feb 2019 21:58:24 GMT
        9. RCRequestId:
          5018112c-33c8-11e9-9ec0-005056bb26b9
        10. Retry-After:
          40
        11. RoutingKey:
          SJC12P01PAS02
        12. Server:
          nginx
        13. X-Rate-Limit-Group:
          heavy
        14. X-Rate-Limit-Limit:
          10
        15. X-Rate-Limit-Remaining:
          9
        16. X-Rate-Limit-Window:
          60
      2. Request Headers
        1. Provisional headers are shown
        2. Accept:
          application/json
        3. Authorization:
          bearer U0pDMTJQMDFQQVMwMHxBQUJGYVVZcmlhNVpzYkhsSTlEUVVCT3JZVEpremd4ellvNjV6T3UyWEhna2liaFFYTE81Y0RnT1RGV0pTSWY3TmdoNF9QWWRPMEVYNENYQjd4dmJsWHJoTzZKcVBrRTlVdzA4RWFEc3FFZ0lVRlhOelg4cDZ3OFhVVlhwbDgwMVVILXlXaEpqdGpIXzF1aDNNYnZsTHRHd1QzbkNNOXdLNl9OeTd2U25rWDM3aXJTcHI0QkhicExuZDg1M3NDeFZ2Z2F1VzUwLUViUEZhTXpDUkp0eWUtRTR8ZWpnRjNnfG1CRndkX1d3RlVKODJUVy1rRUNPTGd8QUE
        4. Client-Id:
          kG8uXDKbRfG_QyRcdid1LQ
        5. Content-Type:
          application/json
        6. Origin:
          http://jurisconcept.ca
        7. Referer:
          http://jurisconcept.ca/app/
        8. User-Agent:
          Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
        9. X-User-Agent:
          RCJSSDK/3.2.1
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
503 Service Unavailable means there is something wrong on RingCentral server side. You need to wait for a little while and try again. If the issue persists, please report the issue to devsupport@ringcentral.com
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

igor-bebin avatar image
igor-bebin answered ·
Thank you for reporting, the issue was fixed. Should work now.

Thanks,
Igor
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

tech- avatar image
tech- answered ·
Thank you for the quick reply! Everything works now.
Great support 
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

Sometimes we face this issue and it automatically resolved after 15 to 20 seconds of time. It can happen for many reasons like maintenance mode or even high traffic and services not accessible for that time. Whatever be the reason you cannot predict so, better you can ask devsupport@ringcentral.com for help. You need to provide your account details for them to investigate the exact reason. You can also create a support ticket regarding the same.

Check this: https://devcommunity.ringcentral.com/ringcentraldev/topics/maintenance-mode-tgdbq5wfmye11

"Usually this error code along with HTTP 503 status can be returned when traffic is switched between our data centers. It usually can happen at night time when API traffic is minimal and doesn't last longer than 10-15 seconds. In case of such error API also returns Retry-After HTTP header which indicates when client should retry the original request."

Ref Benjamin already mentioned here: https://forums.developers.ringcentral.com/questions/351/api-overloadedissues.html

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.