laptop and a wrench

Bug

A Web Map Service (WMS) request to ArcGIS Online's sampleserver6 returns Error 400 if the layerDefs parameter is not URL-encoded.

Zuletzt veröffentlicht: January 13, 2021 ArcGIS Online
Bug-ID-Nummer BUG-000134064
EingereichtSeptember 23, 2020
Zuletzt geändertOctober 20, 2024
Gilt fürArcGIS Online
Gefunden in Version8.2
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

This issue will not be addressed in the current release cycle. If this is still a concern, contact Esri Support Services.

Workaround

Encode the URL before sending the request. Use a tool such as https://UrlEncoder.org to encode the layerDefs parameter. For example:

Decoded URL:

layerDefs={"1":"objectid=1"}

Encoded URL:

layerDefs%3D%7B%221%22%3A%22objectid%3D1%22%7D

Schritte zur Reproduzierung

Bug-ID: BUG-000134064

Software:

  • ArcGIS Online

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