question

cfy-software2348 avatar image
cfy-software2348 asked benjamin-dean answered

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"

}




webhooks
1 |1500 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? 
1 |1500 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.
1 |1500 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
1 |1500 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.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys