ERRO

Falha ao enviar

Last Published: October 10, 2023

Mensagem de Erro

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

Causa

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.

Solução ou Solução Provisória

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 do Artigo:000025985

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com suporte técnico

Baixe o Esri Support App

Ir para opções de download