Back

createDocument API rate limits: Can it be overriden?

  • 0
  • Databases
Arrow
22 Jun, 2023, 12:00

Hello, is it possible to override the rate limits on some apis such as document creation? The doc says This endpoint is limited to 120 requests in every 1 minutes per IP address, I wonder if it's possible to change this number? Thanks

TL;DR
The user wants to know if it's possible to override the rate limits for the createDocument API. The current limit is set to 120 requests per minute per IP address. The user provides links to GitHub issues related to this topic. One suggestion is to disable the `_APP_OPTIONS_ABUSE` option in the `.env` file. The final response confirms that it's possible to change the rate limit by disabling the mentioned option.
Guille
22 Jun, 2023, 12:52

Are you using a self hosting instance?

Arrow
22 Jun, 2023, 12:54

Yes

Guille
22 Jun, 2023, 12:55

disable _APP_OPTIONS_ABUSE in your .env file

Arrow
22 Jun, 2023, 13:00

Hmm, so it's either disabled or enabled with 120 limits?

Guille
22 Jun, 2023, 13:09

Yes, that is the option at the moment you can check this issues:

https://github.com/appwrite/appwrite/issues/4965 https://github.com/appwrite/appwrite/issues/2953

joeyouss
22 Jun, 2023, 17:17

4965 is duplicate, check out 2953 ❤️

Arrow
23 Jun, 2023, 05:53

Thank you guys for the information, I hope this happens in a future release, I will close this post now

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