Currently when you send a request to an invalid endpoint, the response has a 404 status code and doesn't return any JSON data. It would be better if it returned a JSON Object containing information about the error