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
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...