Nextcloud occ command not work

I have the latest version of syncloud and all applications up to date. I get a command:
snap run nextloud.occ

See error: cannot find current revision for snap nextloud: readlink /snap/nextloud/current: no such file or directory.

How to fix it?

Do you mean nextcloud? Not nextloud?

Yes, nextcloud of course, typo error. After reinstalling nextcloud everything is ok. Thanks