In the case of a missing user ID, if a more verbose response is desirable, why not put the error message in the body of the response?
404: Route not found vs 404: User ID not found seems like it resolves all ambiguity, no?
404: Route not found vs 404: User ID not found seems like it resolves all ambiguity, no?