I have met the rate limit and I am unable to perform any operation ๐ฆ
You need to wait 60 minutes so
Why you call it more than 100 times in 60 minutes ?
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
May be this is the reason
I want to check whether user exists or not. and I want to protect routes.. Could anyone suggest me any other best solution?
localStorage is the best alternative this right ?
Ma'am!
I think , I have solved this issue...
๐
The way we typically check if a user is authenticated is to call account.get(). If that is successful, the user is logged in.
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.
account.get() does not have a rate limit
I see, I dont know this. Thanks sir. ๐ Awesome then.
Every API that has a rate limit will have it mentioned in the docs
Alright! Docs are so helpful. I am literally clearing all my doubts while reading docs. Except permissions and roles.
[SOLVED]How to increase rate limit for JWT End Point?
Recommended threads
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...