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 known causes for the error are as follows:
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.
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.
Get help from ArcGIS experts
Download the Esri Support App