Back

[SOLVED] Rate limit for the current endpoint has been exceeded

  • 0
  • Android
Shubham
2 Sep, 2023, 14:47

Rate limit for the current endpoint has been exceeded. Please try again after .

TL;DR
The user is experiencing a rate limit issue with their current endpoint. They are asking for help to remove the limit. It is advised not to remove the limit in a production environment to avoid DDoS attacks. The rate limit is set up to prevent abuse, and if it is exceeded, there may be a problem with their implementation of the endpoint. They mention that the issue happened after users watched a video about a course launch. It is recommended to check what operations are happening when someone opens the app and if it is only read operations, there should be no issues. They mention losing 100-150 new premium users due to this issue
Shubham
2 Sep, 2023, 14:49

Please help

Shubham
2 Sep, 2023, 14:50

my client made video about new course launch , and it got rate limit in just 3-4 users

safwan
2 Sep, 2023, 14:53

Rate limit is set up in a way to prevent abuse. If you hit the limit, it means there's some problem in your implementation of an endpoint

safwan
2 Sep, 2023, 14:53

keep in mind that "read" operations have no rate limits

Shubham
2 Sep, 2023, 14:53

how will i remove this limit

safwan
2 Sep, 2023, 14:54

you shouldn't remove it in a production environment. it can open you up to DDoS attacks 😅

safwan
2 Sep, 2023, 14:55

What exactly caused this rate limit? Do you have any idea?

Shubham
2 Sep, 2023, 14:55

my client make video on course launch

Shubham
2 Sep, 2023, 14:56

so after watching that video users come to app

safwan
2 Sep, 2023, 14:56

and then?

safwan
2 Sep, 2023, 14:56

what operations happen when someone opens your app?

Shubham
2 Sep, 2023, 14:56

login with mobile

safwan
2 Sep, 2023, 14:56

cuz once again, if it's just read operations, there should be no issues.

Shubham
2 Sep, 2023, 14:57

how it will fix

Shubham
2 Sep, 2023, 14:58

we mazorly lost 100-150 new premium user

safwan
2 Sep, 2023, 14:58

for phone sessions, the limit is set to 10 requests per 60 minutes per user. So unless one user is constantly trying to create a phone session, there is an issue in your implementation

Shubham
2 Sep, 2023, 14:58

so because of one , we will get rate limit for all user?

safwan
2 Sep, 2023, 15:00

can you try hitting the API from something like Postman?

Shubham
2 Sep, 2023, 15:00

no

safwan
2 Sep, 2023, 15:00

it should give you all the details needed for seeing the status of the rate limit

Shubham
2 Sep, 2023, 15:01

how will i check that

safwan
2 Sep, 2023, 15:01

by simply trying to login with phone, but from postman using the REST API

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more