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
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Function crash first run after a while
Big issue I’m facing , almost all functions crash or run for a very long time the first time i run them after a long time without running them I have a “help-c...