laptop and a wrench

Error

Adding an OGC feature layer to the Map Viewer from the portal's content page returns the error message, "Unable to add layer. Unexpected token '<', "html lang"… is not valid JSON."

Portal for ArcGIS
Número de ID del error BUG-000162905
EnviadoNovember 13, 2023
Última modificaciónOctober 16, 2024
Relacionado conPortal for ArcGIS
Versión encontrada11.1
Sistema operativoWindows Server
Versión de sistema operativoN/A
EstadoIn Review

Solución alternativa

Use the Add layer from URL option and append '?f=JSON' or '?f=PJSON' to the rest URL. Refer to the following example: https://FQDN/server/rest/services/SampleWorldCities/OGCFeatureServer?f=pjson.

Pasos para reproducir

ID del error: BUG-000162905

Software:

  • Portal for ArcGIS

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga