CORE-4897: added a generic bad request error code