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
- encrypt and decrypt buckets
I have a bucket where I switched from encryption to not encrypting files. I later realized that files already uploaded earlier stay encrypted. Now I have a buck...
- Unable to Create Storage After Upgrading...
We upgraded our Appwrite instance from version 1.8.0 to 1.9.0 and successfully ran the migration process. However, after the upgrade, we are no longer able to c...
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...