switched code check to 201 in CreateDefectRequestObserver