I'm using the Ruby SDK to make a POST request to create a subscription in the sandbox environment. The WebHook address is a local tunnel to my local app server, and I see the request coming through and responding with 200 OK.
Here's the error I'm getting from the request to the subscription API:
SUB-521 WebHook is not reachable
It is reachable, and the request is completing, after successfully sending the Verification-Token header. (Otherwise I would be getting SUB-520 I believe.)
Any clues what's going wrong? Is there some sort of payload it is expecting to receive beyond the Verification-Token?
Additional info:
request uri => https://platform.devtest.ringcentral.com/restapi/v1.0/subscription
app key => nDaskd-URlGBOsj0N4Ilnw
https://github.com/bdeanindy/ringcentral-webhook-basics
Additionally, this has a one-button Heroku deployment (which makes it really easy to get started using/testing with this quickly).
- The request is coming through successfully, via the internet.
- Using ngrok for local tunnel
- From the server perspective, the response is around ~300 ms each time.
- I am indeed capturing and returning the 'Validation-Token'.(200 status)
Getting below response
{
"errorCode" : "SUB-521",
"message" : "WebHook is not reachable",
"errors" : [ {
"errorCode" : "SUB-521",
"message" : "WebHook is not reachable"
} ]
}
Till last week it was working in the same setup. Today only it is not working.
Is there any issue in creating a subscription.
Could anyone help me
Thanks
The webhook URL service must meet the following requirements:
- is available on the Internet
- has a TLS / SSL enabled*
- can respond within 1000 milliseconds
- will respond with
Validation-Token
header on subscription
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