added error message for isExists api documentation