Back

[Failed] Recreate Same Name Relationship Attribute Only Self-Hosted

  • 0
  • Self Hosted
Şafak
13 May, 2024, 11:53

I am creating a relationship. It works properly on Client and Server SDK side. When I delete this attribute and create it again with the same name, I get a “Failed” warning.

NOTE : Error only on self-hosted

Steps

TypeScript
2 - Data entry with relationship
3 - Delete Relationship attribute
4 - Re-add Relationship
5 - Added to the list but “Failed
6 - When I check the data I see that the old attributes are still selected :)```

I found this
```After step 3, in the background the attribute is deleted from the list, but the attribute values remain in the rows```

**Tested**
Live Server 1.5.5    [❌ Not working]
Test Server 1.5.5    [❌ Not working]
Zero installation 1.5.5 [❌  Not working]
Cloud [✅  Working]
TL;DR
Developers are experiencing a "Failed" warning when trying to recreate a relationship attribute with the same name on self-hosted server versions. The issue lies in the attribute values remaining in the rows even after it's deleted. The problem persists in Live Server 1.5.5, Test Server 1.5.5, and Zero installation 1.5.5 but works in the Cloud version.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more