Why am I getting "rate limit error" message?

[Context]
What is a Rate limit?
: how many API calls are made within a specific duration of time (second).
: Rate limits are the limits imposed on the backend to prevent excessive calls that may inundate our infrastructure.

[Problem]
I am seeing the rate limit error when making API calls.
Error message: “Too many requests”

The error message “Too many requests” is due to the frequency of the API calls you are making in second which might be over our limit.

[Solution]
Rate limits vary depending on the number of monthly active users (MAU) of the application according to your plan or on the server operation status.
(Reference: Rate limits | Chat Platform API | Sendbird Docs)

The plan based limits will be applied to all the applications you create but
We have strict rate limits on the development applications to prevent crashing our database from customers doing their load testings.

For development applications, the system is allowed 20/s GET requests for now, and that was the cause that of the “Too many requests” error message.

[Extra Information]
What is the difference between Quota and the rate limit?

  1. Quota
    The quota would be the number of API calls you can make (which we don’t charge by these API calls made instead we use peak connection and MAU).

Quotas are only applicable to items tied to billing which includes MAU and Peak Connections on your apps.

You can check your quota by following these steps

  1. Sendbird Dashboard (https://dashboard.sendbird.com/)

  2. Select your Application

  3. Click “Overview”

  4. Rate Limit
    Rate limits are the limits imposed on the backend to prevent excessive calls that may inundate our infrastructure.