PROBLEM

Unable to publish a survey referencing a feature service from ArcGIS Survey123 Connect

Last Published: August 6, 2024

Description

Attempting to publish a new survey referencing a feature service with a related layer or table from ArcGIS Survey123 Connect fails, and returns the following error message:

Error: 
The custom feature service submission_url is not compatible with this survey. 
Parent layer ID <layer_ID> not found for table <form_id_property>
The error message

Cause

The form_id property specified on the settings tab in the XLSForm does not match the feature service parent layer name in ArcGIS Online, which is listed as layer 0 (zero) in the ArcGIS REST Services Directory for the referenced feature service. When referencing an existing feature service with a related layer or table, Survey123 Connect identifies the parent layer ID so the survey response is submitted accordingly. If the form_id specified is not the layer name with the identified parent layer ID, the error is returned.

Solution or Workaround

When authoring a survey to match the feature service with a related layer or table, the form_id property must match the parent layer name. The matching parent layer name with the assigned parent layer ID can be identified through the ArcGIS REST Services Directory. 

  1. In ArcGIS Online, open the hosted feature layer's item details page.
  2. On the Overview tab, click the View button.
The View button
The image below shows the ArcGIS REST Services Directory for the referenced feature service. The layers and table are listed with the respective layer ID (in parentheses).
The ArcGIS REST Services Directory

In the error message, Survey123 Connect recognizes layer 0 as the parent layer ID; thus, the form_id property must be the layer name of layer 0, which is 'Form_14' in the example above.

The form_id property

Article ID: 000033091

Software:
  • ArcGIS REST API
  • ArcGIS Online
  • ArcGIS Survey123 Connect

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options