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
Cannot create webhook subscripton. My limit has been exceeded.
Tags: webhooks
Oct 5, 2023 at 3:38pm   •   0 replies  •  0 likes
Byrne Reese

There exists a limit of 20 subscriptions per user per app at any given time. When this limit is exceeded, then the following error will be returned.

 { 
     "errorCode":"SUB-505" 
     "message":"Subscriptions limit exceeded" 
     "errors":[{ 
         "errorCode":"SUB-505" 
         "message":"Subscriptions limit exceeded" 
     }] 
 }

Do not dismay, there are a few remedies to this that are relatively simple to implement.

Delete unused subscriptions

This is relatively obvious I suppose, but the simplest thing to do is delete any and all unused subscriptions, which during active development of an application can inadvertantly accummulate without one knowing.

RingCentral does not yet expose a tool or user interface for developers to use for this purpose, so you will need to call the API to generate a list of subscriptions, and then again to delete/cancel unwanted subscriptions.

Combine or coalesce subscriptions

A often under-utilized feature of RingCentral's Subscription API is the ability to subscribe to multiple events via the same subscription. This is achieved by passing in multiple event filters in your create subscription request.

This is much more economical and will allow you to reclaim some of your subscription capacity.

Be mindful of subscription expirations

It is tempting to set an expiration date for a webhook subscription so far in the future it effectively never expires. If you do this too often, it increases the chance of exceeding your subscription limit for any given user. Using expiration dates more mindfully, especially during development, will allow older subscriptions to expire and be reaped by the system more naturally.



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