ERROR
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 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.
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
Get help from ArcGIS experts
Download the Esri Support App