We have a feature layer for a Survey123 form that has a repeat. The feature layer has a main layer and a related table. We are trying to use the Join Features tool to perform a join on the main layer and the related table based on the uniquerowid field of the main layer and the parentrowid field of the related table. The tool fails with the message "JoinFeatures failed".
The ArcGIS Server Manager log shows the following message at SEVERE level:
Error executing tool. JoinFeatures Job ID: jfa8877272837406a809572136a7bcb54 : {"messageCode": "AO_100215", "message": "JoinFeatures failed."} Failed to execute (JoinFeatures).
The job's messages.xml at F:\arcgisserver\directories\arcgisjobs\system\spatialanalysistools_gpserver\jfa8877272837406a809572136a7bcb54\scratch\messages.xml contains the following error messages:
[100, 2557, 'ERROR 002557: Cannot delete field globalid from F:\\arcgisserver\\directories\\arcgisjobs\\system\\spatialanalysistools_gpserver\\jfa8877272837406a809572136a7bcb54\\scratch\\scratch.gdb\\targetLayer.']
[100, -2147467259, 'Failed to execute (DeleteField).']
I have also attached the messages.xml file.
We'd appreciate any suggestions on how to get the join features tool to work
successfully.