Refactor canned 400 response