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
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...