laptop and a wrench

Error

No Login will be prompted while using a query URL requesting JSON output format for a secured map service at Rest end point, instead getting error 499, Unauthorized access.

Última publicación: August 25, 2014 ArcGIS Server (.NET)
Número de ID del error NIM082833
EnviadoJuly 17, 2012
Última modificaciónApril 2, 2025
Relacionado conArcGIS Server (.NET)
Versión encontrada10.0
Sistema operativoWindows OS
Versión de sistema operativo2008 R2 64 Bit
EstadoWill Not Be Addressed

Información adicional

This is expected behavior. JSON format is intended for programmatic use and hence returns the token required (499) error message in JSON format.

Solución alternativa

Change the Query URL output format to html.Example JSON output get query URL is <a href="http://csslystem-237/ArcGIS/rest/services/sample/MapServer/0/query?text=&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=1%3D1&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=&f=pjson" target="_blank">http://csslystem-237/ArcGIS/rest/services/sample/MapServer/0/query?text=&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=1%3D1&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=&f=pjson</a>Change the paramater value of 'f' as "html" instead of "pjson" and you will be prompted for user credentials. It will give you output in HTML format. Change the Output format to "JSON" and click Query (Get) Tab.

Pasos para reproducir

ID del error: NIM082833

Software:

  • ArcGIS Server (.NET)

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