Hi guys!
I'm trying to list all documents from a collection, but intermittently, I'm getting documents that have already been deleted (yes, as strange as it sounds). I've tried using the application in an incognito tab, clearing the cache, and things like that, but it still keeps happening. I've searched around but couldn't find anything about what I might be doing wrong. Does anyone have any ideas?
I have no idea where these documents are coming from. I tried deleting them, but since they no longer exist in the collections, I get a 'not found' error.
Oh, and I'm using Next.js + React.
NextJS. I'm pretty sure NextJS is returning cached results
Yeah, I suspected Next.js. But since I've already tried clearing the cache and using an incognito tab, I just wanted to check here to make sure it doesn't have something to do with Appwrite.
Thanks!
Recommended threads
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...