I'm getting the Rate limit for the current endpoint has been exceeded.
error in my React app.
It's calling account.createEmailSession(email, password);
. I'm making maybe a few requests per minute to test my integration so it doesn't make sense if this is rate limited.
What might be the cause for this? I'm not clear on what the cause is for this and I'm essentially locked out of my dev environment.
Is this cloud or self-hosted?
Cloud
The users are being created from the same device?
Or network?
same device and network
Then that's expected. The mentioned endpoint is rate limited to 10 request each 60 min per email
To prevent someone from brute forcing it
Adding to this: you can use a local appwrite installation and disable the rate limits there to test everything.
@itsjustintime Do you need further information on this or can I mark this as solved?
Thanks you can make it resolved. Iβm still a little confused since Iβve been logging in many more than 10 times per hour to test and this just started happening when i posted this.
Maybe because they were successful or with a different email?
always the same email
At least in theory it should work that way π€
Maybe because there were some failed attempts
Well, in all cases it's working now π
If you need something else don't hesitate to create another post <:appwritepeepo:1156975874852270110>
Have a nice day!
[SOLVED] Rate Limited For Users
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here π I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...