错误

错误:无法提交

Last Published: October 10, 2023

错误消息

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

原因

When a survey is created using Survey123, 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 shared publicly.

解决方案或解决方法

Note:
To avoid running into similar issues, it is recommended to use the “What can submitters do?” section in the Collaborate tab to control users' access to the survey and avoid changing the layer or view layer settings from the item settings in ArcGIS Online.

2023-04-19_15-57-03.jpg

To enable survey submission, the survey's hosted feature layer or the "<survey>_results" 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.

文章 ID: 000025985

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项