
For a small project, it’s necessary (regardless of any impact on performance or the like) for a user to have more than 1,000 team memberships. I can create the teams and assign the user without issue—but when I query a document with the permission team:test-1001, I get no result. This happens for any team index above 1,000; team:test-1000 (or lower) works exactly as expected.
I’ve reproduced this in a test setup by assigning one user to 1,500 teams (test-1 through test-1500). Teams 1–1,000 work fine; anything above 1,000 returns nothing. It seems Appwrite internally imposes a 1,000-team limit. I’d like to patch this locally and raise that limit, but after several hours of poking around the source I still can’t find where to make the change. I hope someone can point me to the relevant spot in the code. Thank you in advance!

But this happens in Cloud?

Also, what is the use case for needing that limit?
Recommended threads
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
- Broken message
https://github.com/appwrite/appwrite/issues/10081 I just realized that I can just build appwrite myself, was this bug fixed in latest dev release?
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
