question

cfy-software2348 avatar image
cfy-software2348 asked ·

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

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"
}



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.

kim avatar image
kim answered ·
Hello -

When (or where) are you getting this error message? 
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.

cfy-software2348 avatar image
cfy-software2348 answered ·
just before 30 minutes.
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 ·
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
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.