Nextcloudcmd 405 Method Not Allowed

I managed to install the client with sudo apt install nextcloud-desktop-cmd
but now if I run

sudo nextcloudcmd path/to/sync http://user:password@192.168.0.37:8997/nextcloud/remote.php/webdav/

        03-17 13:21:51:470 [ info sync.csync.csync ]:   ## Starting remote discovery ##

        03-17 13:21:51:471 [ info nextcloud.sync.accessmanager ]:       6 "PROPFIND" "http://<user>:<password>@192.168.0.37:8997/nextcloud/remote.php/webdav/Photos" has X-Request-ID "31419dbc-6fff-4618-88ff-f8b67502c5c8"

        03-17 13:21:51:471 [ info nextcloud.sync.networkjob ]:  OCC::LsColJob created for "http://192.168.0.37/nextcloud" + "/Photos" "OCC::DiscoverySingleDirectoryJob"

        03-17 13:21:53:251 [ warning nextcloud.sync.networkjob ]:       QNetworkReply::NetworkError(ContentOperationNotPermittedError) "Server replied \"405 Method Not Allowed\" to \"PROPFIND http://<user>@192.168.0.37:8997/nextcloud/remote.php/webdav/Photos\"" QVariant(int, 405)

        03-17 13:21:53:251 [ info nextcloud.sync.networkjob.lscol ]:    LSCOL of QUrl("http://<user>@192.168.0.37:8997/nextcloud/remote.php/webdav/Photos") FINISHED WITH STATUS "ContentOperationNotPermittedError Server replied \"405 Method Not Allowed\" to \"PROPFIND http://<user>@192.168.0.37:8997/nextcloud/remote.php/webdav/Photos\""

        03-17 13:21:53:251 [ warning nextcloud.sync.discovery ]:        LSCOL job error "Error transferring http://<user>:<password>@192.168.0.37:8997/nextcloud/remote.php/webdav/Photos - server replied: Method Not Allowed" 405 QNetworkReply::NetworkError(ContentOperationNotPermittedError)

        03-17 13:21:53:252 [ warning nextcloud.sync.csync.updater ]:    opendir failed for  - errno 1

        03-17 13:21:53:252 [ warning nextcloud.sync.engine ]:   ERROR during  csync_update :  "Permission denied. Error transferring http://<user>:<password>@192.168.0.37:8997/nextcloud/remote.php/webdav/Photos - server replied: Method Not Allowed"

I get this and nothing gets synced

hi,
nobody answer you, but do you find à solution or not ?
I’ve the same issue… i need help for resolved it.