Can't deactivate or edit custom field (Relation)
Hello team, I have created a custom field, type Relation.
Field name: Partner Involved
purpose: tag companies that are involved in a deal (e.g., referral)
Type: Has Many
Issue:
I was confused initially with "Field in Companies". So I left it as is - "Opportunity"
Later I wanted to modify this custom field or deactivate.
I get "an error occured" message.
When I check logs, I see nothing.
I can't delete, deactivate, or edit.

3 Replies
Hello there thanks for reporting this bug
what twenty version are you self hosting exactly please ?
I was passing by and happened to have the same problem (v1.1.1).
I've just fixed it in this PR.
https://github.com/twentyhq/twenty/pull/13202
GitHub
fix(api): Allow deactivation of relation fields by jbronssin · Pul...
(AI generated)
Summary
This PR fixes a validation bug in the GraphQL API that prevented relation fields from being programmatically deactivated. The validation was incorrectly triggering a &quo...
Indeed!