question

MR avatar image
MR asked Phong Vu answered

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?detailedTelephonyState\u003dtrue"],"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)

subscription
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

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.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys