I am not sure why when I add any query to my list documents, it fails with a 400
Works
await new Databases(clientAdmin()).listDocuments(
process.env.NEXT_PUBLIC_APPWRITE_DATABASE_ID,
"trending",
[]
)
Fails 400: message: 'Invalid query: {"method":"limit","values":[10]}',
await new Databases(clientAdmin()).listDocuments(
process.env.NEXT_PUBLIC_APPWRITE_DATABASE_ID,
"trending",
[
Query.limit(10),
]
)
Package json:
"appwrite": "^14.0.0",
"node-appwrite": "^12.0.1",
Any thoughts appreciated
appwrite: 14.0.0 isn't compatible with Cloud.
try with 13.x.
oh i see, i thought it might be a version issue. Thank you, i will try it now
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...