Put explicit errors in the API response for invalid filters