Send HTTP status 400 instead of 404 for invalid field error