Skip to content
Back

Transactions from Android Kotlin client seems to not work (404)

  • 0
  • Self Hosted
  • Android
  • Databases
Kinsteen
2 Dec, 2025, 09:47

I have a database where I want to create transactions directly in my android client. I can create a transaction with val tx = tablesDb.createTransaction(), and I get a proper ID, I can check with tablesDb.listTransactions() in a server sdk (python) and I see it, but if I do getTransaction(), listTransactions(), or any operaction with transactionId=tx.id in the client code, I get AppwriteException: transaction_not_found, Transaction with the requested ID could not be found. (404). I would assume it's a permission issue, but I don't understand where I would need to setup the permissions for it? Thanks in advance!

TL;DR
Developers having issue with transactions from Android Kotlin client, getting 404 error. The issue seems to be related to permissions. Ensure permissions are set correctly in the Appwrite console.
Kinsteen
2 Dec, 2025, 09:50

The repro case is literally

TypeScript
import io.appwrite.Client
import io.appwrite.services.TablesDB

val client = Client()
  .setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
  .setProject("<PROJECT_ID>")

val tablesDB = TablesDB(client)

val tx = tablesDB.createTransaction()
tablesDB.getTransaction(tx.id) // <- crash with 404
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more