Incorrect query string in returns 404 instead of 400


i mistakenly put ‘ids’ instead of ‘user_id’ as the query parameter for users/lookup, and received back a 404. the proper http status for an invalid query parameters is 400.

here is the (broken) requested URL:

switching to:

obviously fixed the problem

as an aside, i would suggest that if the API is going to return json with ‘ids’ as they key, the other endpoints should take ‘ids’ as a query parameter for the same semantic value. or conversely, return the json with ‘user_id’ and accept ‘user_id’ as the query parameter.