laptop and a wrench

Bug

The JavaScript API esri/layers/WMSLayer class does not support URLs containing parameter names written in mixed case.

ArcGIS API for JavaScript
Bug ID Number BUG-000158205
SubmittedMay 10, 2023
Last ModifiedJune 8, 2025
Applies toArcGIS API for JavaScript
Version found3.43
Operating SystemWindows Server
Operating System Version2019 64 Bit
Version Fixed4.27
StatusFixed

Workaround

Leave out the parameters when setting the URL of the WMSLayer. For instance, instead of setting the URL to https://sampleserver6.arcgisonline.com/arcgis/services/USA/MapServer/WMSServer?Service=WMS&version=1.3.0&request=GetCapabilities, set it to https://sampleserver6.arcgisonline.com/arcgis/services/USA/MapServer/WMSServer. The API automatically applies the correct parameters when sending the GetCapabilities request.

Steps to Reproduce

Bug ID: BUG-000158205

Software:

  • ArcGIS API for JavaScript

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