"The INSERT statement conflicted with the FOREIGN KEY constraint" Error

01-04-2019 11:24 AM
New Contributor

I am running the latest version of Connect (3.1.126) and the Survey123 Field app (3.1.158), but I am still running into BUG-000117394. I am not sure why I am still receiving this error. I am passing the GlobalID from a feature service that has three different parents layers that are in a Collector map via a URL scheme to a GUID field in a related table that is related to all three of the layers. I am able to pass the GlobalID successfully to the Survey but when I submit my survey I receive the follow error, "The INSERT statement conflicted with the FOREIGN KEY constraint." I am not sure if I am missing something. thanks for the help.


1 Reply
Esri Esteemed Contributor


I've followed up to a comment version of this question in https://community.esri.com/groups/survey123/blog/2018/11/02/st-kilda-penguin-release-31?commentID=68... .  This looks to be an issue with the index on the GlobalID field of the table.

0 Kudos