ERROR
Attempts to create a new survey in ArcGIS Survey123 using ArcGIS Enterprise credentials return the following error message:
Error: Unable to create a new survey. {"code":-1,"message":"","isTrusted":true}
Despite the error, an item is created but attempts to open it return the following error message:
Error: The survey does not exist or is not accessible.
Further attempts to delete the item fail, and return the following error message:
Error: Failed to delete. undefined: Invalid account
ArcGIS Server is configured to trust only certain domains instead of the default wildcard (*) value. The ArcGIS Survey123 domain (https://survey123.arcgis.com) is not added in the list of allowed origins.
To resolve this issue, refer to the workflow described in ArcGIS Server: Restrict requests from Javascript applications. In the AllowedOrigins field, add https://survey123.arcgis.com.
The image below shows the ArcGIS Server Administrator Directory page after the edit is made.
Get help from ArcGIS experts
Download the Esri Support App