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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...