Loading

400 Error Code Returned When Passing Very Long Filter Values in the URL

Data pubblicazione: Feb 28, 2025
Descrizione
When length of the URL with a lot of filter values reaches certain amount of symbols (above 2000), "400" (Bad Request) error code appear instead of the page.

Cause

All browsers and web servers have their own maximum URL limits and there is no universal standard for this.
However there is a very common opinion that "below 2000" length should be safe for all browsers and web server. For example, please review: http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
Risoluzione
Keep length of the URL below 2000 symbols
Risorse aggiuntive
JavaScript API could be a workaround which allows to pass long filter values to the view ("applyFilterAsync" function sends filter values as a POST request parameter). However at this point (Tableau Server 8.1.4) "applyFilterAsync" function can only be used to filter data on the view which already loaded on the page. See JavaScript API documentation for more information and examples.

Numero articolo Knowledge

001473892

 
Caricamento
Salesforce Help | Article