Issue
I am trying to add a new field to my results schema/edit an existing field on my results schema, but Benchling is giving me the error "You may not add two result fields with the same name or warehouse name" and my update will not go through.
Environment
Results, Schemas
Cause
When you create or edit a field on a schema in the User Interface (the table on the Result Schema page listing Result Fields, Warehouse Name, Definition, etc.), a validation check is run on the whole schema. If any of the fields (new or existing, including archived fields) fail this validation check, the schema update will not complete successfully. One of the validation criteria is that no two fields on the schema have the same display name or the same warehouse name.
This validation check can be bypassed by editing in JSON (via the Edit as JSON button on the Result Schema page) instead of editing in the UI. Usually, if a user ends up with two fields with the same display/warehouse name in the first place, it's because one or both of the fields were edited in JSON in the past.
Resolution steps
User should edit the Results field using JSON. If the user is not comfortable completing this on their own, please reach out to Benchling Support.