ERROR

Unable to publish the survey. ERROR: Adding field to the table failed

Last Published: May 5, 2022

Error Message

Publishing a survey from the ArcGIS Survey123 website to Portal for ArcGIS fails and returns the following error:

Error:
Unable to publish the survey. ERROR: Adding field to the table failed.
The error message

Cause

The known causes for the error are as follows:

  • A question is added and removed from the survey without being used. This creates conflicting fields on the new questions added in place of the removed question.
  • The survey does not honor the ArcGIS Enterprise publishing requirements.

Solution or Workaround

Depending on the cause, complete either one of the methods provided below to resolve.

The survey contains conflicting fields

Republish a new survey based on the existing survey.

  1. In the ArcGIS Survey123 website survey gallery, navigate to the survey, and click More options > Save As.
  2. In the Save As New Survey window, fill in the required sections, and click Save As.
  3. Open the new survey, and edit the conflicting fields.
  4. Click Save > Publish.

The survey does not honor the ArcGIS Enterprise publishing requirements

Refer to ArcGIS Survey123: Limitations for more information on the publishing requirements.

Alternatively, publish the survey using the ArcGIS Survey123 Connect desktop app. Publishing the survey from the desktop app narrows down the exact cause, as the desktop app specifies the cause of the error instead of returning a generic error message in the ArcGIS Survey123 website. Refer to ArcGIS Survey123: Publish a survey for steps to publish a survey from the desktop app.

Article ID: 000023156

Software:
  • Portal for ArcGIS
  • ArcGIS Survey123 Connect
  • ArcGIS Survey123 Website

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