News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Getting error "Parameter [deliveryMode.address] value is invalid"
Tags: webhooks
Jul 6, 2016 at 11:50am   •   3 replies  •  0 likes
cfy-software

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"

}




3 Answers
answered on Jul 7, 2016 at 11:36am  
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

 0
answered on Jul 6, 2016 at 12:29pm  
just before 30 minutes.

 0
answered on Jul 6, 2016 at 12:17pm  
Hello -

When (or where) are you getting this error message? 

 0



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us