I call getDocument from a function, but i get no result, neither it runs into an exception:
try {
Databases databases = Databases(client);
Document docRef = await databases.getDocument(
databaseId: Constants.APPWRITE_DATABASE,
collectionId: Constants.APPWRITE_COLLECTION_EVENTS,
documentId: eventController.getEventId());
context.log("SaveFile: getDocument successfully sent and returned");
} catch (error) {
context.log("Error when checking Validity");
context.error(error);
}
What's wrong with my code?
I'm using Appwrite Server 1.4.13 and dart-appwrite 10.1.0
Recommended threads
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...