Skip to main content
The First Step
Dec 21, 2022 10:35 PM UTC
Question

Subscriptions limit exceeded

Can you help how to solve "Subscriptions limit exceeded " error ? see below for complete error.


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

{"eventFilters":["/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyStateu003dtrue"],"deliveryMode":{"transportType":"PubNub","encryption":true}}

at com.ringcentral.RestClient.requestRaw(RestClient.java:309)

at com.ringcentral.RestClient.request(RestClient.java:319)

at com.ringcentral.RestClient.request(RestClient.java:250)

at com.ringcentral.RestClient.post(RestClient.java:137)

at com.ringcentral.paths.restapi.subscription.Index.post(Index.kt:36)

at com.ringcentral.pubnub.Subscription.subscribe(Subscription.kt:102)

1 reply

PhongVu
Community Manager
Community Manager
Dec 22, 2022 4:49 AM UTC

You can have max 20 subscriptions. Call the get subscription list API to see how many active subscriptions do you have and delete unused ones. To avoid exceeding the limit, group event notifications in the eventFilters array.