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
- Appwrite behind Nginx, locale.get() retu...
I have Appwrite behind Nginx and followed this guide to forward the real user IP: https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243 ...
- [BUG] After 1.8.0 no Screenshots of Site...
Hello, I'm facing this bug. When I deploy it works properly but screenshots are not displayed. If I open the image this is the result: URL: `https://appw.xxxx....
- CORS error using the Locale API from a b...
When I call the `GET /v1/locale` API with JS in a browser the GET request fails with `CORS Allow Origin Not Matching Origin`. Requests to `GET /v1/databases/.....