laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000156304
已提交March 4, 2023
上次修改时间May 13, 2025
适用范围Portal for ArcGIS
找到的版本11.0
操作系统Windows Server
操作系统版本N/A
状态In Product Plan

解决办法

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

重现步骤

漏洞 ID: BUG-000156304

软件:

  • Portal for ArcGIS

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项