English

Problem: Error 404 when signing in to Survey123 for ArcGIS via Portal for ArcGIS

Description

Signing in to Survey123 for ArcGIS via the Portal for ArcGIS app launcher or website returns a 404 error, stating the page is not found.

Image of the error message

Cause

The Survey123 for ArcGIS URL configured for the app launcher or website is incorrect. In most cases, this is because the URL includes the '/home' directory, as it is the default access page for most Portal for ArcGIS users.

When signing in to Portal for ArcGIS in the Survey123 for ArcGIS website, the correct URL scheme is:

https://survey123.arcgis.com/?portalUrl=https://webadaptorhost.domain.com/webadaptor

When signing in, the request uses the provided Portal for ArcGIS URL with the following appended to it:

/sharing/rest/oauth2/authorize?client_id=survey123hub&display=default&redirect_uri=https%3A%2F%2Fsurvey123.arcgis.com%2Fsurveys%3FportalUrl%3Dhttps%3A%252F%252Fwddhsgisl02.dhs.sdc.pvt%252Fportal%252Fhome%252F&parent=https://survey123.arcgis.com&locale=en&response_type=token&expiration=720

The following is an example of a correct request, using the provided Portal for ArcGIS URL without the '/home' directory:

https://webadaptorhost.domain.com/webadaptor/sharing/rest/oauth2/authorize?client_id=survey123hub&display=default&redirect_uri=https%3A%2F%2Fsurvey123.arcgis.com%2Fsurveys%3FportalUrl%3Dhttps%3A%252F%252Fwddhsgisl02.dhs.sdc.pvt%252Fportal%252Fhome%252F&parent=https://survey123.arcgis.com&locale=en&response_type=token&expiration=720

The following demonstrates an incorrect request, using the provided Portal for ArcGIS URL with the '/home' directory:

https://webadaptorhost.domain.com/webadaptor/home/sharing/rest/oauth2/authorize?client_id=survey123hub&display=default&redirect_uri=https%3A%2F%2Fsurvey123.arcgis.com%2Fsurveys%3FportalUrl%3Dhttps%3A%252F%252Fwddhsgisl02.dhs.sdc.pvt%252Fportal%252Fhome%252F&parent=https://survey123.arcgis.com&locale=en&response_type=token&expiration=720

Solution or Workaround

Remove the '/home' directory from the Portal for ArcGIS URL, and sign in again.

Related Information