# Forbidden on sync

**URL:** <https://help.nextcloud.com/t/forbidden-on-sync/221173>\
**Category:** 💻 Desktop\
**Tags:** webdav\
**Created:** [March 26, 2025, 9:14pm UTC](https://help.nextcloud.com/t/forbidden-on-sync/221173 "2025-03-26T21:14:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Somo](https://help.nextcloud.com/letter_avatar/somo/32/5_5575768a8748004e209b776fc1b2916d.png) [@Somo](https://help.nextcloud.com/u/Somo)\
**Post date:** [March 26, 2025, 9:14pm UTC](https://help.nextcloud.com/t/forbidden-on-sync/221173/1 "2025-03-26T21:14:03Z")

</div>

Hello so i created apache webserver with nextcloud on it with my vm.  
At the moment the VM is bridged on Wi-fi it has it’s own IP address on LAN. when i try to access nextcloud (http://ip\_of\_vm) from a physical device it works like it should.  
However, if i try to sync with nextcloudcmd with a debian based device that’s where problems arises.  
`nextcloudcmd --user [passwd] --password [passwd] --logdebug --exclude /root/exclude-list.txt /root/test/ (http:// [ip or the webdav address])` i keep getting 403 forbidden  
`[warning nextcloud.sync.networkjob]:	QNetworkReply::NetworkError(ContentOperationNotPermittedError) "Server replied \"403 Forbidden\" to \"PROPFIND http://[ip]/remote.php/dav/files/test/\"" QVariant(int, 403)`  
`ERROR during csync_update : "An error occurred while opening a folder Error transferring http://[ip]/remote.php/dav/files/test/ - server replied: Forbidden"`  
which is kinda wierd since i can go onto the webserver from a physical machine and when i try to do it with curl `curl -u user:pswd -X PROPFIND http://[ip]` it works just fine
