"The given user is not a recognized LDAP user"

hello to all

we use ldap as users backend in our nexecloud.
users have shown in nextcloud but for some of them when i want update any attribute with occ command i get error:

command: sudo -u www-data php occ ldap:check-user --update LOGON NAME
error : “The given user is not a recognized LDAP user”

but when i search same user with bellow command it show the user.
sudo -u www-data php occ ldap:search “dispalyname”