Filter fetching fails with 500 internal server error in local instance

On navigating to Configuration > Filters (or visiting http://localhost:9081/configuration/filters directly), the GET request sent to http://localhost:9081/api/filter for fetching existing filters fails with status code 500 with the response body as strconv.ParseUint: parsing "undefined": invalid syntax.

On uploading new filters they don’t appear in the table, even after refreshing the page, probably due to the same failing GET requests, which are unable to fetch the filters.

On examining the request it can be observed that the former has pagesize: undefined sent in the request query, which is expected to be a number. This might be causing the issue.

filter_error_discuss

Thanks for raising this topic. This is in fact a valid bug. Do you mind creating a GitHub issue on this and dropping a link to that issue here?

1 Like

Done: https://github.com/meshery/meshery/issues/11122