laptop and a wrench

Bug

In WMS GetLegendGraphic customLayerParameters are sent in POST URL leading to Error 414 Request-URI Too Long when customLayerParameters is very long.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000174074
SubmittedFebruary 4, 2025
Last ModifiedJuly 13, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.31
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusIn Review

Workaround

The 414 (Request-URI Too Long) error originates from the WMS server and results from a URL character limit specific to the server. It can be resolved on the server side by increasing the HTTP header limits.

Steps to Reproduce

Bug ID: BUG-000174074

Software:

  • ArcGIS Maps SDK 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