What is the problem you are having with rclone?
Running command rclone lsd -vv --dump bodies onedrive:
Returned error "Failed to lsd with 2 errors: last error was: couldn't list files: invalidRequest: The item does not reside in the drive"
Run the command 'rclone version' and share the full output of the command.
rclone v1.70.0-beta.8641.839eef0db
- os/version: Microsoft Windows 10 Home 22H2 22H2 (64 bit)
- os/kernel: 10.0.19045.5679 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.24.1
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
OneDrive personal paid subscription
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone lsd -vv --dump bodies onedrive:
The rclone config contents with secrets removed.
[onedrive]
type = onedrive
token = <removed>
drive_type = personal
drive_id = a24***a2
[onedrive2]
type = onedrive
token = <removed>
drive_id = a65***ec
drive_type = personal
A log from the command with the -vv
flag
C:\Users\xxx\tools\rclone\rclone-v1.70.0-beta.8641.839eef0db-windows-amd64>rclone lsd onedrive: -vv --dump bodies
2025/03/31 14:03:35 NOTICE: Automatically setting -vv as --dump is enabled
2025/03/31 14:03:35 DEBUG : rclone: Version "v1.70.0-beta.8641.839eef0db" starting with parameters ["rclone" "lsd" "onedrive:" "-vv" "--dump" "bodies"]
2025/03/31 14:03:35 DEBUG : Creating backend with remote "onedrive:"
2025/03/31 14:03:35 DEBUG : Using config file from "C:\\Users\\***\\AppData\\Roaming\\rclone\\rclone.conf"
2025/03/31 14:03:35 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.
2025/03/31 14:03:35 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/03/31 14:03:35 DEBUG : HTTP REQUEST (req 0xc0004303c0)
2025/03/31 14:03:35 DEBUG : GET /v1.0/drives/a24***a2/root HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.70.0-beta.8641.839eef0db
Authorization: XXXX
Accept-Encoding: gzip
2025/03/31 14:03:35 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/03/31 14:03:35 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/03/31 14:03:35 DEBUG : HTTP RESPONSE (req 0xc0004303c0)
2025/03/31 14:03:35 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id: f29057ee-ebc1-4f19-8e8c-3e2eb50c3910
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 31 Mar 2025 18:03:35 GMT
Odata-Version: 4.0
Request-Id: f29057ee-ebc1-4f19-8e8c-3e2eb50c3910
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"Canada Central","Slice":"E","Ring":"3","ScaleUnit":"002","RoleInstance":"YT2PEPF0000016F"}}
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives('a24***a2')/root/$entity","createdDateTime":"2025-02-19T23:01:31Z","eTag":"\"{7ECEC70E-5C41-47A9-BC6E-7867B032D222},256\"","id":"a24***a2!sea8cc6beffdb43d7976fbc7da445c639","lastModifiedDateTime":"2025-03-31T12:45:36Z","name":"root","webUrl":"https://onedrive.live.com?cid=a24***a2&id=01J2UDEDN6Y2GOVW7725BZO354PWSELRRZ","size":0,"createdBy":{"user":{"email":"vxxx@gmail.com","displayName":"xxx"}},"parentReference":{"driveType":"personal","driveId":"b!uWRYVi1vmEOSZCDv0ddv50z5x44Sb5VIlLaJ4HPJ5bqxWjkVD5VOR7jYSUBWTuAt"},"fileSystemInfo":{"createdDateTime":"2025-02-19T23:01:31Z","lastModifiedDateTime":"2025-03-31T12:45:36Z"},"folder":{"childCount":0,"view":{"sortBy":"name","sortOrder":"ascending","viewType":"thumbnails"}},"root":{}}
2025/03/31 14:03:35 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/03/31 14:03:35 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/03/31 14:03:35 DEBUG : HTTP REQUEST (req 0xc0003a8500)
2025/03/31 14:03:35 DEBUG : GET /v1.0/drives/b!uWRYVi1vmEOSZCDv0ddv50z5x44Sb5VIlLaJ4HPJ5bqxWjkVD5VOR7jYSUBWTuAt/items/a24***a2!sea8cc6beffdb43d7976fbc7da445c639/children?$top=1000 HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.70.0-beta.8641.839eef0db
Authorization: XXXX
Accept-Encoding: gzip
2025/03/31 14:03:35 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/03/31 14:03:35 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/03/31 14:03:35 DEBUG : HTTP RESPONSE (req 0xc0003a8500)
2025/03/31 14:03:35 DEBUG : HTTP/2.0 400 Bad Request
Client-Request-Id: 4192e9f5-a78d-4893-9db6-3f58ab0ab82e
Content-Type: application/json
Date: Mon, 31 Mar 2025 18:03:35 GMT
Request-Id: 4192e9f5-a78d-4893-9db6-3f58ab0ab82e
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"Canada Central","Slice":"E","Ring":"3","ScaleUnit":"002","RoleInstance":"YT2PEPF0000016F"}}
{"error":{"code":"invalidRequest","message":"The item does not reside in the drive","innerError":{"date":"2025-03-31T18:03:36","request-id":"4192e9f5-a78d-4893-9db6-3f58ab0ab82e","client-request-id":"4192e9f5-a78d-4893-9db6-3f58ab0ab82e"}}}
2025/03/31 14:03:35 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/03/31 14:03:35 ERROR : : error listing: couldn't list files: invalidRequest: The item does not reside in the drive
2025/03/31 14:03:35 DEBUG : 4 go routines active
2025/03/31 14:03:35 NOTICE: Failed to lsd with 2 errors: last error was: couldn't list files: invalidRequest: The item does not reside in the drive
C:\Users\xxx\tools\rclone\rclone-v1.70.0-beta.8641.839eef0db-windows-amd64>
GET /v1.0/drives/a24***a2/root HTTP/1.1
returned "id": "A24***A2!sea8cc6beffdb43d7976fbc7da445c639"
- uppercased with additional "!sea8cc6beffdb43d7976fbc7da445c639".
Also, it returned parentReference, which was later used by rclone to list files and failed with 400.
The problems started a day earlier. Shared with me and added to "My Files" folders stopped appearing as folders in File Explorer and became web links to OneDrive web.