#[SOLVED] Document create / update fails due to stale relation attribute

8 messages · Page 1 of 1 (latest)

wanton pasture
#
  • I had a two way relation attribute.
  • Deleted the two way relation attribute.
  • Document create/ 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 withInvalid 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 an attribute so that document create / update succeeds without recreating the collection?

wanton pasture
#

Document create / update fails due to stale relation attribute

fast ivy
#

@jovial widget We have another one FYI: @naive wolf

fast ivy
naive wolf
wanton pasture
#

Shared the details in the DM. Please check.

naive wolf
#

This was due to a bug with deleting relationships that has since been fixed, I cleared your stuck attribute, should be good to go now, let me know if not 👌

wanton pasture
#

Thanks folks for resolving the issue. I'm able to create / update the documents now.