Cannot set OneDrive as a remote destination
Ludusavi version
v0.29.1
Operating system
Linux (Steam Deck)
Installation method
Flatpak
Description
When trying to set OneDrive as a remote destination, the browser rclone permission screen appears and after giving permission the "return to rclone" screen.
In Ludusavi however the dropdown selection stays "none" I verified if it works with Google Drive and this behaves as expected and Google Drive is selected after giving permission.
Reproduction steps:
- select Onedrive under Cloud > Remote
- Give rclone permission to use Onedrive
- After the "success, return to rclone" screen appears, the dropdown in Ludusavi remains on "none"
Logs
No response
Thanks for reporting this! I can reproduce it as well. I'm not sure when this broke.
It looks like Rclone is stuck retrying forever because it keeps hitting an error. If you forcibly terminate the Rclone process, then Ludusavi would show an error like this:
Rclone 1.71.0:
C:\Users\mtken>C:/opt/rclone.exe --fast-list --ignore-checksum config create ludusavi-test onedrive drive_type=personal access_scopes=Files.ReadWrite,offline_access
2025/09/12 23:39:11 NOTICE: Make sure your Redirect URL is set to "http://localhost:53682/" in your custom config.
2025/09/12 23:39:11 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=[...]
2025/09/12 23:39:11 NOTICE: Log in and authorize rclone for access
2025/09/12 23:39:11 NOTICE: Waiting for code...
2025/09/12 23:39:13 NOTICE: Got code
Failed to query root for drive "[...]": HTTP error 400 (400 Bad Request) returned body: "{\"error\":{\"code\":\"invalidRequest\",\"message\":\"ObjectHandle is Invalid\",\"innerError\":{\"date\":\"2025-09-13T03:39:17\",\"request-id\":\"[...]\",\"client-request-id\":\"[...]\"}}}"
Rclone 1.62.2:
C:\Users\mtken>C:/opt/rclone.exe --fast-list --ignore-checksum config create ludusavi-test onedrive drive_type=personal access_scopes=Files.ReadWrite,offline_access
2025/09/12 23:37:37 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=[...]
2025/09/12 23:37:37 NOTICE: Log in and authorize rclone for access
2025/09/12 23:37:37 NOTICE: Waiting for code...
2025/09/12 23:37:39 NOTICE: Got code
Failed to query available drives: HTTP error 403 (403 Forbidden) returned body: "{\"error\":{\"code\":\"accessDenied\",\"message\":\"Access denied\",\"innerError\":{\"date\":\"2025-09-13T03:37:41\",\"request-id\":\"[...]\",\"client-request-id\":\"[...]\"}}}"
Based on these threads, it sounds like something changed on OneDrive's side:
- https://forum.rclone.org/t/onedrive-personal-vault-issue/51929/15
- https://github.com/rclone/rclone/issues/8736
I'm afraid most likely we'll have to wait for the Rclone team to find a solution :/