laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: August 25, 2014 ArcGIS Server (.NET)
Bug-ID-Nummer NIM082833
EingereichtJuly 17, 2012
Zuletzt geändertApril 2, 2025
Gilt fürArcGIS Server (.NET)
Gefunden in Version10.0
BetriebssystemWindows OS
Betriebssystemversion2008 R2 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: NIM082833

Software:

  • ArcGIS Server (.NET)

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln