laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000156304
EingereichtMarch 4, 2023
Zuletzt geändertMay 13, 2025
Gilt fürPortal for ArcGIS
Gefunden in Version11.0
BetriebssystemWindows Server
BetriebssystemversionN/A
StatusIn Product Plan

Workaround

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"}]}.

Schritte zur Reproduzierung

Bug-ID: BUG-000156304

Software:

  • Portal for ArcGIS

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln