Bug
| Bug ID Number | BUG-000158205 |
|---|---|
| Submitted | May 10, 2023 |
| Last Modified | June 8, 2025 |
| Applies to | ArcGIS API for JavaScript |
| Version found | 3.43 |
| Operating System | Windows Server |
| Operating System Version | 2019 64 Bit |
| Version Fixed | 4.27 |
| Status | Fixed |
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.
Bug ID: BUG-000158205
Software:
Get help from ArcGIS experts
Download the Esri Support App