
Greeting wonderful people <3,
I am using query equal and orderDesc, and evertime I am getting server error. I've already added indexes.
fyi: equal matches userID present in each document as an attribute
other posts suggesting assigning index to attributes which I have already done and no luck.
my code:
const userID = user?.$id;
const response = await db.events.list([Query.equal("userID", userID)]);
please see both picutres attached.
any help would be appreciated.
thank you

What SDK version?

@Evdog sorry is it different from appwrite version? as I have no idea, its my first project with appwrite is there a way to check?

in cli by runing appwrite -v I got 5.05 in package.json appwrite ^15.0.0

@Evdog this is what I could find by visiting /versions on my self-hosted site
Recommended threads
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
