- I had a two way relation attribute.
- Deleted the two way relation attribute.
- Document Update fails as the relation key was still not deleted from one of the collection. Console doesn't show the deleted attribute but the underlying document still has reference to this attribute and fails with
Invalid document structure: Unknown attribute - As the console doesn't show the attribute, I went ahead and created a new non relation attribute with the same key and it is now stuck in processing.
- Tried deleting the stuck attribute key using cli, although it says success the key is still not deleted.
I've ran out of options. How can we permanently delete a attribute so that document update succeeds without recreating the collection?
TL;DR
Developer had a two way relation attribute, then deleted it. Document update is failing because even though the console doesn't show the deleted attribute, the underlying document still references it. Trying to create a new non-relation attribute with the same key got stuck in processing. Deleting the stuck attribute key using CLI shows success but the key remains undeleted. How can the attribute be permanently deleted without recreating the collection to ensure document update success?
Solution: Instead of creating a new attribute with the same key, try updating the existing document to remove the stale attribute reference. If the CLI deletion is not working, reach out to the platform's support forRecommended threads
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...