ERROR

Failed to submit when submitting forms in Survey123

Last Published: October 10, 2023

Error Message

In the ArcGIS Survey123 web app, attempts to submit a publicly shared survey fail, and the following error message is returned:

Failed to submit.
{"error":{"code":400,"message":"","details":["This operation is not supported."]}}
2023-04-19_15-54-07.jpg

Cause

When a survey is created using Survey123 Web designer, a hosted feature layer for the survey is created in ArcGIS Online. If the survey is published from Survey123 Web designer, two view layers are also created from survey's feature layer. These view layers are called "<survey>_form" (formerly known as Fieldworker view) and "<survey>_results" (formerly known as Stakeholder view).

Note:
For more information, refer to: FAQ: What are the form and results hosted feature layer views used for in ArcGIS Survey123?

Depending on how the survey is published, survey submissions are submitted to the survey's hosted feature layer either through the hosted layer or the form view created from this layer. The error occurs when the survey's hosted layer or the "<survey>_form" view layer is not enabled for editing, causing survey submissions to fail even though the survey is properly shared.

Solution or Workaround

Note:
To avoid running into similar issues, it is recommended to use the “What can submitters do?” section in the Collaborate tab shown below to control users' access to the survey. This avoids changing the layer or view layer settings from the item settings in ArcGIS Online, unless certain settings cannot be made through the Survey123 website.

Setting What can submitters do from the Collaborate tab

To enable survey submission, the survey's hosted feature layer or the "<survey>_form" view layer must be editable. Editing for this layer can be enabled by the following steps: 

  1. Log in to ArcGIS Online with the same credentials used in ArcGIS Survey123.
  2. Click Content > My Content.
  3. On the My Content page, navigate to and click to open the survey folder, as shown in the following image.
Examples of the survey folders on the My Content page. The survey folder for Favorite Restaurant is selected.
  1. Identify the hosted feature layer or results view layer that was created for the survey. Click More Options The More Options icon and select View item details.
  1. On the item details page, click the Settings tab, and enable editing, as shown in the next image. Refer to ArcGIS Online: Manage hosted feature layers for instructions.

Under the Feature Layer (hosted, view) section, the Enable editing. check box is checked. The Save option is displayed on right side of Feature Layer (hosted, view) section.

Now you should be able to successfully submit records to your survey.

Article ID:000025985

Software:
  • ArcGIS Online
  • ArcGIS Survey123 Website

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options