See screenshots. I'm on self-hosted, 1.6.1.
I can click options -> delete and then get the green success toast it was deleted, but when I refresh it's still there. Also can't recreate it with the same name, then I get "Attribute with the requested key already exists. Attribute keys must be unique, try again with a different key."
When I create a new attribute with a different name, and remove this "testResults" entirely from my data model, I can create a new document (which doesn't have that key anymore), on the db. But when I try to do a partial update with updateDocument I get :
AppwriteException: Invalid document structure: Unknown attribute: "testResults"
at _Client.call (/usr/local/server/src/function/node_modules/node-appwrite/src/client.ts:352:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Databases.updateDocument (/usr/local/server/src/function/node_modules/node-appwrite/src/services/databases.ts:1831:13)
Even though i'm nowhere trying to set that key. So this seems to be a total dead lock?
What can I do now, any way to recover from this? And why is this even happening, is there a way to avoid this?
Recommended threads
- Session Token not saving
On several devices, the session token is not saved as a cookie during creation. This results in a 401 error when checking out the account. The Appwrite instance...
- Memory error during migration
Appwrite migration crashes with the following message: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 33554440 bytes) in /usr/...
- type generation on same columns in table
is there way to prevent this ? or only need to update column name like table prefix?