SuiiiOriginal post
Rank 4: Virtual Machine
Plain text
Query.select(["$id", "$createdAt", "$updatedAt", "name", "email"]) );` ` const result = await users.list(testQuery) log.info(result)Response
{"name":"AppwriteException","code":400,"type":"general_argument_invalid","response":{"message":"Invalid `queries` param: Invalid query method: select","code":400,"type":"general_argument_invalid","version":"1.5.7"}}
appwrite 1.5.7
"node-appwrite": "^13.0.0",
Summary
Developers encountered an 'Invalid Query.Select' error when using a query select method in their code. The issue stems from the incorrect usage of the select method within the Query.select function.
Solution: Ensure the correct syntax for the query. Use the appropriate method for selecting fields in the query to resolve the error.