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
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.
- Team invite - 500 error - no email
When executing ```dart await _repository.teams.createMembership( teamId: event.listId, roles: ['member'], email: event.email, url: 'xxxx', ); ``` I se...