For some unknown reason, a part of my code suddenly stopped working. I've been racking my brain and finally found out a clue. When I request a listDocuments in the Flutter SDK, I get an error when I query something. This is how my code looks:
while (retryCount < maxRetries) {
retryCount++;
try {
final downloadedDocuments = await appwriteDatabase.listDocuments(
databaseId: dojoDatabaseId,
collectionId: noteCollectionId,
queries: [
Query.orderDesc('date'),
],
);
// Convert all notes to the trainingNote model
for (Document note in downloadedDocuments.documents) {
Any type of query and it will set off a series of retries and thus many of this type of error. Did something change in the SDK? I am at a loss.
What version are you on self hosted? What version of the sdk are you using
Recommended threads
- Manual install docs are out of sync with...
I looked into the manual install docs issue for Appwrite 1.9.0 and wanted to share the findings, since this seems to need a bigger docs decision. What I found:...
- Migration from Self-Hosted to Cloud seem...
Hello, I'm trying to migrate from my Self-Hosted Appwrite instance to Cloud, and can't figure out what's going wrong. - If I initiate the migration from Cloud...
- custom domain on self host Appwrite
I am having a issue, i am using self host version of appwrite at my custom domain (appwrite.example.com), but when i tried adding a custom domain (project1.exam...