
What is the limit in result = databases.list_documents('[DATABASE_ID]', '[COLLECTION_ID]') ?
Becasue in my function when I add query, to limit it to 2 its giving results, when when the limit is 25, it gives error

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');
const databases = new Databases(client);
databases.listDocuments(
'[DATABASE_ID]',
'[COLLECTION_ID]',
[
Query.equal('title', ['Avatar', 'Lord of the Rings']),
Query.greaterThan('year', 1999)
]
);

If you mean the query "limit", then it should be the max. documents in a list

The max limit is 5000, but you should be fine to do Query.limit(25) and have no issue?

But I am getting this in appwrite console, for anyhting above 7 in limit (I have some 3000 total documents)
An internal curl error has occurred within the executor! Error Msg: Http invalid protocol\nError Code: 500
I am using list documents inside appwrite python function

This can happen if you try to return or log too much data.
Recommended threads
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Row with the requested ID already exists...
I’m hitting a blocking issue creating rows in Appwrite (both from the console and my React Native app). After successfully inserting the first row, every subseq...
