trying to query a from list documents appwrite Flutter and getting an eroor AppwriteException: general_unknown, Server Error (500). if i remove the query , the await document list works fine . Any Suggestions?
What queries are you trying to do? What version of the sdk?
final result = await databases.listDocuments( databaseId: '', collectionId: '', queries: [Query.contains('StaffName', "ganesh")], );
What sdk version? Are you self hosted or cloud?
seld hosted 1.4
What version of the flutter sdk?
v3.86.0
I guess I should be more specific. What version of the appwrite package are you using?
You should be using 11.0.1
sorry abt that it is 12.0.2
If you look at the top of the readme for the appwrite sdk it'll say what version of Appwrite it's compatible with. 12.x is for Appwrite 1.5, you'll need something compatible with 1.4, so 11.x would be what you need.
ok thanx for pointing that .will move back to a compatible version and check . thanq . will get back with the result .
Recommended threads
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...