An error occurs when entering the ls command, but the value is empty

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

An error occurs when entering the ls command, but the value is empty.

Run the command 'rclone version' and share the full output of the command.

rclone v1.64.2

  • os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
  • os/kernel: 10.0.22631.2715 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.3
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

shareporint

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone ls --webdav-url "https://<MYAPP>-my.sharepoint.com/personal/<EMAIL>/Documents" --webdav-vendor "sharepoint" --webdav-user "<EMAIL>" --webdav-pass "<ENCRYPTED PASSWORD>" "webdav:" -vvv

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[webdav]
type = webdav

A log from the command that you were trying to run with the -vv flag

2023/11/21 15:04:54 DEBUG : Creating backend with remote "webdav:"
2023/11/21 15:04:54 DEBUG : Using config file from "C:\\Users\\장준호\\AppData\\Roaming\\rclone\\rclone.conf"
2023/11/21 15:04:54 DEBUG : webdav: detected overridden config - adding "{hyx3q}" suffix to name
2023/11/21 15:04:54 DEBUG : found headers:
2023/11/21 15:04:55 Failed to create file system for "webdav:": :  ()

welcome to the forum,

based on your setup, for rclone to create the remote, it has to combine the contents of the config file and flags on the command line.
so to simplify testing, put all remote flags in the config file.

also, can you post a full debug log, not a just a snippet.
and can add --dump=headers for additional debug output.

--dump=headers
When I add the command, it appears as follows.
Are there any expected problems?

2023/11/22 09:14:01 DEBUG : Creating backend with remote "webdav:"
2023/11/22 09:14:01 DEBUG : Using config file from "C:\Users\장준호\AppData\Roaming\rclone\rclone.conf"
2023/11/22 09:14:01 DEBUG : webdav: detected overridden config - adding "{hyx3q}" suffix to name
2023/11/22 09:14:01 DEBUG : found headers:
2023/11/22 09:14:01 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2023/11/22 09:14:01 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/22 09:14:01 DEBUG : HTTP REQUEST (req 0xc000ad1400)
2023/11/22 09:14:01 DEBUG : POST /extSTS.srf HTTP/1.1
Host: login.microsoftonline.com
User-Agent: rclone/v1.64.2
Content-Length: 1364
Accept-Encoding: gzip

2023/11/22 09:14:01 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/22 09:14:03 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/22 09:14:03 DEBUG : HTTP RESPONSE (req 0xc000ad1400)
2023/11/22 09:14:03 DEBUG : HTTP/1.1 200 OK
Content-Length: 1763
Cache-Control: no-store, no-cache
Content-Type: application/soap+xml; charset=utf-8
Date: Wed, 22 Nov 2023 00:14:02 GMT
Expires: -1
P3p: CP="DSP CUR OTPi IND OTRi ONL FIN"
Pragma: no-cache
Set-Cookie: fpc=AusbkpjFwgBMmy7f3PdL6-5YhzsDAQAAAMo-79wOAAAA; expires=Fri, 22-Dec-2023 00:14:03 GMT; path=/; secure; HttpOnly; SameSite=None
Set-Cookie: x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly
Set-Cookie: stsservicecookie=estsfd; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Ms-Ests-Server: 2.1.16729.8 - KRC ProdSlices
X-Ms-Request-Id: ed0b8c4a-f333-4999-bda3-529dd790ed00
X-Xss-Protection: 0

2023/11/22 09:14:03 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/22 09:14:03 Failed to create file system for "webdav:": : ()

Can you always post all log? not a part of it you think is important?

The log above is the entire log when I ran the command.

It was supposed to give you a token at that point, but didn't.

It gave 200 OK so it looks like the auth was OK.

If you add --dump bodies do you see a token in the body? Or something else?