question

ashley-nicolson avatar image
ashley-nicolson asked ·

Active Call API Call (PHP) returns Internal Server Error

Until today we have been using active calls via the API via cron job.  However this has stopped working and are receiving:

Unable to login to Ring Central Internal Server Error. Consult RC Support.

When calling that particular API Call.

We can Authenticate fine (receiving Access Tokens etc) and we can call 'call-log' successfully.  

We have tried this using the Ring Centrral API Explorer and it seems it is only the active-call api that is failing with this 500 Error.

Any help would be much appreciated.



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.

benjamin-dean avatar image
benjamin-dean answered ·
Are you using the PHP SDK?

If not, could you provide the full request/response with headers (stripping out your API keys and tokens) please?
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.

ashley-nicolson avatar image
ashley-nicolson answered ·
Hey there - this also doesn't work via your API Explorer 

https://developer.ringcentral.com/api-explorer/latest/index.html

So I don't think its a PHP SDK issue.  I am perhaps thinking it is account restricted (overusage?) as it had been working previously for the past weeks of development.

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.

ashley-nicolson avatar image
ashley-nicolson answered ·
Hi there - would I need to connect support for this as it is still not working via the API Explorer page using my App details (though other calls do i.e. Auth and call-log).

Many Thanks
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.

benjamin-dean avatar image
benjamin-dean answered ·
Are you both receiving the following error.message: "Internal Server Error. Consult RC Support." and the response body object contains a property named "eventId" which appears to be a UUID?
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.

ashley-nicolson avatar image
ashley-nicolson answered ·

Using the API Explorer I receive the following for 'active-call'
 
                
{    "message": "Internal Server Error. Consult RC Support.",    "eventId": "eb734ca8-e6dc-4213-87d6-f584b19d52bf"  }

- Thanks
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.

benjamin-dean avatar image
benjamin-dean answered ·
Yes, thanks Ashley.

I've reached out to our engineering team who has started investigation. Myself and one of our Developer Relations Engineers tested this in both Sandbox and Production, and this doesn't appear to be an issue in Production, only in the Sandbox environment.

Could you please submit a developer support case with the details from our thread to make sure your issue and the resolution is tracked properly:  https://developers.ringcentral.com/api/support-cases/create
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.

benjamin-dean avatar image
benjamin-dean answered ·
This should be fixed now, our engineering team deployed a hotfix last evening to resolve this issue.

Could you confirm if things are working for you again in the Sandbox please?
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.

ashley-nicolson avatar image
ashley-nicolson answered ·
Hi there, unfortunately I now receive a 404 response on both the server and the API Explorer Page

This was the result back from using the API Explorer page:

Request URL
https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/active-calls

Response Body
no content

Response Code
404

Response Headers
{
                 
"date": "Fri, 29 Apr 2016 17:18:32 GMT",
"routingkey": "SJC11P01PAS02",
"content-language": "en",
"content-length": "0",
"content-type": null
}






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.

benjamin-dean avatar image
benjamin-dean answered ·
Yes, thank you for your patience Ashley.

As of 9:07am Pacific time on April 29, 2016, the RingCentral Sandbox API's, non-oauth related resources and endpoints are currently returning HTTP 404 error responses. This issue is being actively investigated by our engineering team for a resolution.

This issue only appears to be impacting our Sandbox API's non-oauth resources. Developers are still able to make requests to /oauth/* endpoints in the Sandbox, but all other API resources are currently returning HTTP 404 errors.

Production API endpoints are not experiencing this issue. We will update this message once the issue has been resolved. If you experience any issues outside of this, or if you experience this issue in Production, please create a Developer Support case immediately with as many details as possible.

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.

vb avatar image
vb answered ·
This issue has been completely resolved on Sandbox environment. 
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.