I had Sharepoint configured (as shown below) via WebDAV, which worked for years. It recently quit working (within the last few months). I now get:
2025/11/13 23:54:08 ERROR : error listing: couldn't list files: 403 FORBIDDEN: 403 Forbidden
2025/11/13 23:54:08 NOTICE: Failed to lsd with 2 errors: last error was: couldn't list files: 403 FORBIDDEN: 403 Forbidden```
I believe it’s the same problem shown in this closed thread. In that thread, obtaining cookies from a browser and sticking it under headers in the config is recommended. I tried that to no avail.
Run the command 'rclone version' and share the full output of the command.
rclone v1.71.2
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 5.15.167.4-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Microsoft Education account: via WebDAV configured using Sharepoint as shown here.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone ls remote:
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[remote]
type = webdav
url = https://XXX-my.sharepoint.com/personal/XXX/Documents
vendor = sharepoint
user = abcd@abcd.abcd
pass = 92aosfha9s7f9as7df
A log from the command that you were trying to run with the -vv flag
Past2025/11/13 23:54:39 DEBUG : rclone: Version "v1.71.2" starting with parameters ["rclone" "lsd" "-vv" "remote:"]
2025/11/13 23:54:39 DEBUG : Creating backend with remote "__raw_onedrive_va:"
2025/11/13 23:54:39 DEBUG : Using config file from "/home/blueblue/.config/rclone/rclone.conf"
2025/11/13 23:54:39 DEBUG : found headers:
2025/11/13 23:54:41 ERROR : error listing: couldn't list files: 403 FORBIDDEN: 403 Forbidden
2025/11/13 23:54:41 DEBUG : 8 go routines active
2025/11/13 23:54:41 NOTICE: Failed to lsd with 2 errors: last error was: couldn't list files: 403 FORBIDDEN: 403 Forbiddene log here