问题

问题:当通过 Portal for ArcGIS 登录到 Survey123 for ArcGIS 时出现错误 404

Last Published: May 18, 2022

描述

通过 Portal for ArcGIS 应用程序启动器或网站登录到 Survey123 for ArcGIS 将返回 404 错误,指示未找到该页面。

错误消息的图像

原因

针对应用程序启动器或网站配置的 Survey123 for ArcGIS URL 错误。 大多数情况下,这是因为 URL 包含“/home”目录,该目录是大多数 Portal for ArcGIS 用户的默认访问页面。

在 Survey123 for ArcGIS 网站中登录到 Portal for ArcGIS 时,正确的 URL 方案为:

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

在登录时,该请求将使用提供的 Portal for ArcGIS URL 并附加以下内容:

/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

以下是正确请求的示例,该请求将使用提供的 Portal for ArcGIS URL,其中不含“/home”目录:

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

以下演示了一个错误请求,该请求将使用提供的 Portal for ArcGIS URL,其中包含“/home”目录:

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

解决方案或解决方法

从 Portal for ArcGIS URL 中移除“/home”目录,然后重新登录。

文章 ID:000023188

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容