Instead of 404 or 3xx right now we get 500 error
fix elastic_search_errors_middleware to catch those errors