Loading

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

發佈日期: Feb 28, 2025
描述
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
解決方案
Keep length of the URL below 2000 symbols
其他資源
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.

知識文章編號

001473892

 
正在載入
Salesforce Help | Article