Back

Attribute with the requested key already exists. (after relationship was deleted)

  • 0
  • Self Hosted
jogri
9 Jan, 2025, 09:50

After deleting a relationship I get "Attribute with the requested key already exists. Attribute keys must be unique, try again with a different key.". The attribute is not shown in the console. If I query I still get the relationship attribute. So it's still there. Guess I will have to delete it in the mysql db manually

TL;DR
After deleting a relationship, developers are receiving an error stating "Attribute with the requested key already exists." This occurs because the attribute is still present in the database despite not being visible in the console. The solution is to manually delete the attribute from the MySQL database.
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