Future createOperations() async { final client = Client() .setEndpoint(AppwriteConstants.apiEndPoint) .setProject(AppwriteConstants.projectId);
final tablesDB = TablesDB(client);
final tx = await tablesDB.createTransaction();
await tablesDB.createOperations(
transactionId: tx.$id,
operations: [
{
'action': 'create',
'databaseId': '68ff00b800318a2a0fa8',
'tableId': 'demo_table',
'rowId': ID.unique(),
'data': {'name': 'Walter'},
},
{
'action': 'create',
'databaseId': '68ff00b800318a2a0fa8',
'tableId': 'demo_table_1',
'rowId': ID.unique(),
'data': {'name': 'new Walter'},
},
],
);
await tablesDB.updateTransaction(transactionId: tx.$id, commit: true);
AppwriteException: transaction_not_found, Transaction with the requested ID could not be found. (404)
Can any one please help me to find where am wrong
Recommended threads
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....