I think this should probably be if (errorType != ApiHelper.ErrorType.NO_ERROR)...