Rank 3: Container
I have met the rate limit and I am unable to perform any operation 😦
Votes
0
Replies
20
Participants
Unknown
Messages
21
Rank 3: Container
I have met the rate limit and I am unable to perform any operation 😦
Rank 4: Virtual Machine
You need to wait 60 minutes so
Rank 4: Virtual Machine
Why you call it more than 100 times in 60 minutes ?
Rank 4: Virtual Machine
If you need to test while dev, just cache response
100 times in 60 mins wow! please check this once https://appwrite.io/docs/rate-limits#abuse
I would urge to wait a bit then retry?
also seen this once https://github.com/appwrite/appwrite/issues/2953#issuecomment-1542867932
Rank 3: Container
Rank 3: Container
May be this is the reason
Rank 3: Container
I want to check whether user exists or not. and I want to protect routes.. Could anyone suggest me any other best solution?
Rank 3: Container
localStorage is the best alternative this right ?
Rank 3: Container
Ma'am!
Rank 3: Container
I think , I have solved this issue...
Rank 3: Container
🙂
Admin
The way we typically check if a user is authenticated is to call account.get(). If that is successful, the user is logged in.
Rank 3: Container
Yeah, I mean, If I use the above method or any other method, for every page render, that method will be called. Because I am wrapping every page with AuthProtectedRoute Page. that's how my limit is getting over. So I am checking it for one time until the user delete the session and updating the UI through localStorage. sir.
Admin
account.get() does not have a rate limit
Rank 3: Container
I see, I dont know this. Thanks sir. 🙂 Awesome then.
Admin
Every API that has a rate limit will have it mentioned in the docs
Rank 3: Container
Alright! Docs are so helpful. I am literally clearing all my doubts while reading docs. Except permissions and roles.
Rank 3: Container
[SOLVED]How to increase rate limit for JWT End Point?