laptop and a wrench

Erro

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 Publicação: August 25, 2014 ArcGIS Server (.NET)
Número de ID do Erro NIM082833
EnviadoJuly 17, 2012
Última ModificaçãoApril 2, 2025
Aplica-se àArcGIS Server (.NET)
Versão encontrada10.0
Sistema OperacionalWindows OS
Versão do Sistema Operacional2008 R2 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: NIM082833

Software:

  • ArcGIS Server (.NET)

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download