Loading

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

Julkaisupäivä: Feb 28, 2025
Kuvaus
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
Ratkaisu
Keep length of the URL below 2000 symbols
Lisäresurssit
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.

Knowledge-artikkelin numero

001473892

 
Ladataan
Salesforce Help | Article