add Unauthorized status code

If the request has no api_key attribute in query, symfony take over and return a response with status code 500 "Internal Server error".

It will be better to return response with 401 status code "Unauthorized" to match to restful design ?

what do you think ?