Invalid document structure: Unknown attribute (when attribute actually exists)
- 0
- Self Hosted
- Databases
I have had this issue where update document would throw me an unknown attribute exception. This happened after adding a new optional attribute. This new attribute did show up in the Appwrite console and was not in processing. I've tried to delete the attribute but it would then become stuck.
I've solved the issue by deleting the whole collection and recreating it. Deleting the whole collection is a scary process and is not something I can do on production. I'm now scared to add any new attribute to existing collections as it could randomly get me in this unknown attribute state.
It would be very helpful if someone could explain what cause the issue, if it's fixed in 1.5 and what I could do if it happens again.
I'm using Appwrite self hosted on version 1.4.13.
Recommended threads
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Sites Runtimes 1.8.0 Self-Hosting. Flutt...
I have a problem with the Flutter version for SITES RUNTIMES. I use self-hosting and updated to version 1.8.0, which according to the changelog says they updat...
- getFilePreview , getFileView , getFileDo...
I am on Appwrite self hosted 1.8.0 I use the web sdk 21.3.0 I created a bucket and it has this permission (users:create) then i enabled the file security then ...