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
Issue with Creating Subscription to Presence Event
Tags: subscription
Jun 1, 2016 at 4:17am   •   2 replies  •  0 likes
abhi

Getting error while registering for a notification presence event. I have a Office plan, not sure standard or premium.


ANy help would be appreciated.


-----------------------------------------------


Authorization: Bearer xxxxxxxxxxxxxxxxxxx

Content-Type: application/json


Payload:

{ "eventFilters": [

"/restapi/v1.0/account/~/extension/~/presence"

],

"deliveryMode": {


"transportType": "WebHook"

"address": "https://hooks.zapier.com/hooks/catch/{some address}/";

}

}



Error:

{ "errorCode": "InvalidParameter",

"message": "Parameter [deliveryMode] value is invalid",

"errors": [

{


"errorCode": "CMN-101",

"message": "Parameter [deliveryMode] value is invalid",

"parameterName": "deliveryMode"

}

],

"parameterName": "deliveryMode"

}



2 Answers
answered on Jun 1, 2016 at 9:13am  
Hello Abhi,

Are you using one of our SDKs( https://developers.ringcentral.com/library/sdks.html)? If not, I would recommend using one if possible. There are both RingCentral Official SDKs (software we have invested resources to ensure operability for customers) and Community Developed SDKs (software built by various members of our developer community and who own their own source code).

Also, if you would like to see a very simple demo application I built using our RingCentral JavaScript SDK to create Push Notifications (Subscriptions), you can view it (and follow the README.md file to setup the app to work with your own account) here:  https://github.com/bdeanindy/ringcentral-subscription-basics

If you use any of the resources available on Github, we ask that you Watch the repository for changes and issues, and if it works well for you "Star" the repository to help show your support. If you experience issues with one of the Github repositories, we just as that you add those issues to the Issue Tracker in Github.

Let me know if this helps, or if you require further assistance.

 0
answered on Jun 1, 2016 at 5:12am  
Hi Abhi,

deliveryMode looks not really valid, try this:


{  "eventFilters": [
     "/restapi/v1.0/account/~/extension/~/presence"
 ],
  "deliveryMode": {
        "transportType": "WebHook",
        "address": "https://hooks.zapier.com/hooks/catch/{some address}/"
  }
}

 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