Set StatusOK if there is no error.