Respond to web hook subscription creation "Internal Server Error. Consult RC Support."

  • 1
  • Problem
  • Updated 1 year ago
Respond to web hook subscription creation { "message" : "Internal Server Error. Consult RC Support.", "eventId" : "6ebec6f8-667d-11e7-8c5f-005056976ed1" }

This app is in production for the long time. Suddenly stopped working. 

Failed when register web hook for presence event with parameter
 {"eventFilters":["\/restapi\/v1.0\/account\/~\/extension\/1357525011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1357525011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1357525011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1357530011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1357530011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1357530011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1357602011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1357602011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1357602011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1361770011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1361770011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1361770011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1382108011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1382108011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1382108011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1382149011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1382149011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1382149011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1382150011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1382150011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1382150011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1394036011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1394036011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1394036011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1394777011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1394777011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1394777011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1397458011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1397458011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1397458011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1397463011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1397463011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1397463011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1410173011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1410173011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1410173011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1522975011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1522975011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1522975011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1522976011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1522976011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1522976011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1659935011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1659935011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1659935011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1690378011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1690378011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1690378011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1690379011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1690379011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1690379011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1746697011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1746697011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1746697011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1749284011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1749284011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1749284011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1750455011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1750455011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1750455011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1757115011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1757115011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1757115011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1776676011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1776676011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1776676011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1783919011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1783919011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1783919011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1796575011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1796575011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1796575011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1853744011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1853744011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1853744011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1853745011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1853745011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1853745011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1853746011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1853746011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1853746011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1959640011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1959640011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1959640011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1963564011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1963564011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1963564011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1966544011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1966544011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1966544011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1967884011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1967884011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1967884011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/1995405010\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1995405010\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/1995405010\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2013144010\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2013144010\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2013144010\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2016237011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016237011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016237011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2016238011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016238011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016238011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2016239011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016239011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016239011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2016240011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016240011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2016240011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2021770011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2021770011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2021770011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2043295010\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2043295010\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2043295010\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2062423011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2062423011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2062423011\/message-store","\/restapi\/v1.0\/account\/~\/extension\/2183282011\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2183282011\/presence\/line\/presence?detailedTelephonyState=true","\/restapi\/v1.0\/account\/~\/extension\/2183282011\/message-store"],"deliveryMode":{"transportType":"WebHook","address":"https:\/\/dummyurlxxxx.io\/rc2\/subscription.php?guid=6e39c7b7-8241-49d9-9164-07c0c9367ab9"}}

sent to
https://platform.ringcentral.com/restapi/v1.0/subscription

Desperately need help .

Thank you
Photo of Alec Dfour

Alec Dfour

  • 340 Points 250 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Alec Dfour

Alec Dfour

  • 340 Points 250 badge 2x thumb
Anyone can help or at least ack this? We submitted this problem almost 24 hours ago on this forum and via the ticket. 

Want to add several other things that might help:

1) extension information is coming from a successful call to an API prior to calling https://platform.ringcentral.com/restapi/v1.0/subscription endpoint
2) all existing RC installations that use our app  experienced this issue. Except one that is completely new and never used our app.
3) Number of extensions doesn't matter: two or 32 extensions failed with the same Internal Server Error
(Edited)
Photo of AK

AK, Official Rep

  • 4,372 Points 4k badge 2x thumb
Hi Alec,

It looks like you are subscribing to all the extension for the below event filters:

1.) Extension Presence
2.) Line Presence
3.) Message-Store

Per my knowledge, You cannot subscribe to another extensions Line Presence however you could d subscribe to Extension Presence and Message Store. 

But having said that, if you say this was working for you before. Could you please send an email to devsupport@ringcentral.com with the necessary information like ( API Request and API response including headers preferably ) and I shall have this escalated to the team.

Meanwhile, could you try subscribing to Extension and Message Store Event Filters and test the results?
Photo of Alec Dfour

Alec Dfour

  • 340 Points 250 badge 2x thumb
Thank you for your help.

It looks like removing Line Presence fixed the problem. At least for one installation. I will check how this will affect the logic of our app and other installation. 
It was working just fine for the last 6 months. I know that it is possible that you've change your implementation. That is fine. Please ask your developers to return meaningful error description from API call rather that "Internal Server Error" which is like  BSOD on Windows. Go figure!
Thank you again
(Edited)
Photo of AK

AK, Official Rep

  • 4,372 Points 4k badge 2x thumb
I shall check this with the Team again. Thanks, Alec !