WL-2833 throw BAD REQUEST and NOT FOUND exception