Now invalid object id will throw 400 instead of 500