Added validation checks. Added bad request string to config