Skip to content
Back

Access to encrypted string attributes from client

  • 0
  • General
  • Flutter
  • Databases
  • Cloud
flo<3ler
8 Oct, 2025, 11:39

Can I use the getRow functionality if that row contains encrypted string attributes? Or is this completely impossible to get the value on the client side? From this blog post I was assuming this only applied to querying and indexing, but am I missing something? I get this error AppwriteException: row_not_found, Row with the requested ID could not be found. (404) but I am sure that the row exists and have checked the IDs of the databasae, table and row. I have enabled row security and given all permissions to the current user. I can query other tables in the same database.

Is this a generic error message? Can I not access rows with an encrypted attribute from the client at all?

TL;DR
Developers are having trouble accessing encrypted string attributes from the client side. The issue seems to be related to querying and indexing limitations on encrypted values. The error message "row_not_found" is appearing despite the row's existence. It is uncertain whether encrypted attributes can be retrieved on the client side even if the row exists. Suggestions include checking permissions and using a cloud function to decrypt the key for querying.
D5
8 Oct, 2025, 11:41

As that blog post states:

encrypted attributes cannot be queried. You cannot filter, search, or sort based on encrypted values.

flo<3ler
8 Oct, 2025, 11:44

Okay, but that means the entire row cannot be queried (I assume getRow() basically is just a query)? Even unencrypted attributes are not retrievable?

flo<3ler
8 Oct, 2025, 11:58

Hm, I have to look into it. I created a new table with just a singular unencrypted string attribute and that row was also not found. Will check that out later and probably use a cloud function to decrypt the key that needs to be in plaintext for querying

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