laptop and a wrench

Bogue

The error message,  "Validation failed: Field does not contain unique values. Remove duplicates and try again" is returned while applying unique value constraints to a field in a hosted feature layer in ArcGIS Enterprise.

Portal for ArcGIS
Numéro d’ID de bogue BUG-000156304
EnvoiMarch 4, 2023
Dernière modificationMay 13, 2025
S’applique àPortal for ArcGIS
Version trouvée11.0
Système d’exploitationWindows Server
Version du système d’exploitationN/A
StatutIn Product Plan

Solution de contournement

When creating an index programmatically, make sure the name property is included in the addToDefinition payload. For example, {"indexes":[{"name":"test_index","fields":"state_name","isUnique":true,"description":"Field properties"}]}.

Étapes pour reproduire

ID de bogue: BUG-000156304

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement