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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...