Hello I’m using the web client sdk to get a list of all my files in a specific bucket, I get 27 as the total but 25 files in the response am I missing something. Where are the other two files?
This is because of the default Query.limit value, which is set to 25.
You can explicitly mention how many items you want, by using Query.limit(100) or something like that.
const promise = storage.listFiles(
'[BUCKET_ID]',
[ Query.limit(100) ]
);
Reference: https://appwrite.io/docs/queries
[SOLVED] listFiles returns only 25 files
Recommended threads
- Github Student Plan showing as free plan
In my Github student plan it showing as basic plan instead of pro plan. Till few hours back it worked ok, but now showing errors and couldn't use any pro featur...
- 404 page not found
Hey I am trying to run a simple Svelte-kit project on appwrite self-hosted but the logs says: ```bash [13:56:26] [open-runtimes] Build packaging finished. [13:...
- Appwrite for Education
I am writing to report an issue with my account limits. I currently have the GitHub Student Developer Pack active, which should include 10 Appwrite Pro projects...