When wrong requests are sent to the /sparql endpoint, an inappropriate status code and a misleading error message are returned.
A GET request to /sparql without a ?model parameter or with a provided ?model parameter that does not correspond to a model in the graph store results in the message 404 "The Requested URL /sparql was not found on this server", even though the endpoint exists. When the ?query parameter is missing, it's 404 too. Another code (like the 500 for the invalid query format exception) and/or another error message would indicate that there is no connection problem, but rather that just the model was not found.