Error with attributes - Invalid document structure: Unknown attribute
- 0
- Self Hosted
- Android
- Databases
![](https://cdn.discordapp.com/embed/avatars/1.png)
Hello everyone,
I am currently stuck at what I believe to be a bug.
The error appears when I tried to update a document in a collect named payments. I'm using the android SDK to create and update the document. I use the same method to generate the data to upload and update.
Problem comes when I tried to update, I have the following error:
Failure(io.appwrite.exceptions.AppwriteException: Invalid document structure: Unknown attribute: "places").
But when I checked the attributes there is no places attribute and I do not have this error when I uploaded the document.
Trying to figured it out, I tried to create an attribute named places it fails. When I checked the log of the container appwrite-worker-databases I found out this
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'places'
I restarted all the appwrite containers but still have the same problem.
I am not really sure if I have ever created an attribute for this collection named places. I did create a relationship with a collection named places so maybe this is the reason.
In any case I think that bug is that the attribute is not showing up in the attributes tab . Attached you can find a screenshot of the attributes that appear in the tab.
Thank you for your time and support
Recommended threads
- Worket Usage Dump Flooding Logs
Is it normal? This messages are flooding my log! ``` appwrite-worker-usage-dump | [2024-06-28 19:01:12.712] ProjectId [28] ReceivedAt [2024-06-27 15:54:08.743...
- Appwrite Email Verification 401
Hello! I have the following register function in React: ```js async function register(email, password, name) { await account.create(ID.unique(), email, pass...
- Encrypted columns/fields
I read on the docs that encrypted columns feature is actively being developed. When will it be available?
![](/images/bgs/pre-footer.png)