Getting error "Parameter [deliveryMode.address] value is invalid"

  • 1
  • Question
  • Updated 2 years ago
Hi,
I am getting below error to setup webhook URL to get notification.

Errror: Parameter [deliveryMode.address] value is invalid

Below is my request string:

{    "eventFilters": [
        "/restapi/v1.0/account/~/extension/~/message-store",
        "/restapi/v1.0/account/~/extension/~/presence",
        "/restapi/v1.0/account/~/extension/~/presence",
        "/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true",
        "/restapi/v1.0/account/~/extension/~/presence/line/presence?detailedTelephonyState=true",
        "/restapi/v1.0/account/~/extension/~/presence/line"
    ],
    "deliveryMode": {
      "transportType": "WebHook",
      "address": "http://delta.cfysoftware.com/{some page}";
    }
}       


Response : 

{  "errorCode": "CMN-101",
  "message": "Parameter [deliveryMode.address] value is invalid",
  "errors": [
    {
      "errorCode": "CMN-101",
      "message": "Parameter [deliveryMode.address] value is invalid",
      "parameterName": "deliveryMode.address"
    }
  ],
  "parameterName": "deliveryMode.address"
}
Photo of CFY Software

CFY Software

  • 50 Points
  • sad to see this error

Posted 2 years ago

  • 1
Photo of Kim

Kim

  • 92 Points 75 badge 2x thumb
Hello -

When (or where) are you getting this error message? 
Photo of CFY Software

CFY Software

  • 50 Points
just before 30 minutes.
Photo of Benjamin Dean

Benjamin Dean, Alum

  • 8,622 Points 5k badge 2x thumb
According to this RingCentral Webhook tutorial, it would appear you are receiving this error message because the URL is not SSL-enabled (http:// VS https://). I understand that the documentation says this is not needed in the sandbox environment (which means this could potentially be a bug).
http://ringcentral-quickstart.readthedocs.io/en/latest/webhooks/#webhooks

Could you provide the complete request/response headers (sans-API keys) please?

Is this while creating the subscription or while renewing the subscription? I only ask because you cannot change the deliveryMode.address value during a renewal from what the original value was during creation.

Is the endpoint you are testing able to meet all of the following criteria?
  1. is available on the Internet
  2. has a TLS / SSL enabled*
  3. can respond within 1000 milliseconds
  4. will respond with Validation-Token header on subscription