ERROR

Unable to create a new survey

Last Published: January 23, 2024

Error Message

In ArcGIS Survey123, creating a new survey using ArcGIS Enterprise credentials fails and returns the following error message:

Error:   
Unable to create a new survey. {“code”:-1,”message”:””}
The error message returned on the ArcGIS Survey123 website page.

Cause

The ArcGIS Survey123 domain registered in the ArcGIS Server Administrator Directory is incorrect. This includes spelling errors or additional special characters in the ArcGIS Survey123 URL, as shown in the image below.

The incorrect ArcGIS Survey123 URL in the AllowedOrigins parameter.

Solution or Workaround

Register the correct ArcGIS Survey123 domain in the ArcGIS Server Administrator Directory. Refer to ArcGIS Server: Restrict requests from JavaScript applications for instructions. In Step 4, for AllowedOrigins, register the following domain:

https://survey123.arcgis.com
The correct ArcGIS Survey123 URL in the AllowedOrigins parameter.

Article ID: 000031797

Software:
  • ArcGIS Server
  • ArcGIS Enterprise 11 0
  • ArcGIS Enterprise 11 1
  • ArcGIS Survey123
  • ArcGIS Enterprise 11 2

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