
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
- SSR Image Previews
I am using the SSR guide (with SvelteKit) to use Appwrite on both the server and the client. I do this by also passing the cookie back to the client and creatin...
- Multiple Set-Cookie headers collapsed on...
I’m deploying a Next.js 15 app to Appwrite → Deploy → Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...
- Bug: When creating a table, table name i...
I created a table with a typo. my_taable .... then my code couldn't find it. i updated table name and still couldn't find it. the table name doesn't update. i h...
