Question

Subscriptions limit exceeded

  • 21 December 2022
  • 1 reply
  • 297 views

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

Userlevel 1

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.

Reply