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.

Last Published: January 13, 2021 ArcGIS Online
Bug ID Number BUG-000134064
SubmittedSeptember 23, 2020
Last ModifiedOctober 20, 2024
Applies toArcGIS Online
Version found8.2
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

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

Steps to Reproduce

Bug ID: BUG-000134064

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options