laptop and a wrench

Bogue

Truncating a feature layer with a relationship fails with the error: "There are no primary or candidate keys in the referenced table 'NAME' that match the referencing column list in the foreign key 'NAME'. Could not create constraint or index. See previous errors." if the relationship field are missing a unique index.

ArcGIS Online
Numéro d’ID de bogue BUG-000181475
EnvoiDecember 5, 2025
Dernière modificationDecember 9, 2025
S’applique àArcGIS Online
Version trouvéeOctober 2025
Système d’exploitationWindows Server
Version du système d’exploitation2022
StatutIn Product Plan

Solution de contournement

Create a unique index for the primary key field in the layer settings in ArcGIS Online.

Étapes pour reproduire

ID de bogue: BUG-000181475

Logiciel:

  • ArcGIS Online

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