KNOWLEDGE BASE

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


Published: 07 Mar 2014
Last Modified Date: 28 Feb 2017

Issue

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.

Environment

Tableau Server

Resolution

Keep length of the URL below 2000 symbols

Additional Information

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.
Did this article resolve the issue?