{ "message": "Query method not valid: select", "code": 400, "type": "general_argument_invalid", "version": "0.10.51" }
How i am calling it:
const documentListResponse = await databases.listDocuments( process.env.NEXT_PUBLIC_DB_ID , process.env.NEXT_PUBLIC_COLLECTION_ID, [ Query.equal("user_id", user?.$id), Query.orderDesc("$createdAt"), Query.limit(10), Query.offset(offset), Query.select([ "user_id", "sol_id", "soltype", "solu_status", "cresed", ]), ] )
That query is not available on cloud because cloud is on version 1.1.2 but that query was added in 1.3.0
Ok Thanks, but its shown in documentation, so that's kinda condfusing. Please add some kind of Note there to let Devs know about this.
You can check documentation version for cloud selecting it from the dropdown menu
Recommended threads
- Hi Folks, Database Writing Issue
Hey Folks im trying to get logging setup on my website but im getting an error, i dont have any document id and i think this is the issue but i havent got the f...
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...