Hello.
What is the problem you are having with rclone?
Only affects download from remote - uploads are fine.
Unable to download a file from OneDrive to local. All attempts fail with Unauthenticated: unauthenticated
.
Other operations are successful, for example:
- Query remote on command line, e.g.,
rclone lsd remote:
- Copy from local to
remote:
by cli - Mount remote to local filesystem
- Copy to mounted remote using file manager
I get the same problem with rclone release version (v1.65.2) and beta (v1.66.0-beta.7678).
Tested on Debian 11 and Linux Mint 21.3 - no change.
Tested with rclone default ClientID and custom ClientID - no change.
Test with VPN to a different EU country (different MS location) - no change.
Run the command 'rclone version' and share the full output of the command.
Failed (same symptoms) with rclone v1.65.2
, now tested with beta.
rclone v1.66.0-beta.7678.a0dff2dd9
- os/version: debian 11.1 (64 bit)
- os/kernel: 5.10.0-27-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22rc2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
OneDrive personal (5 GB), free account with email address.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy od1:/Documents/onebyte.txt /home/XXXX/onebyte.txt
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[od1]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
A log from the command that you were trying to run with the -vv
flag
CLI output:
2024/02/08 15:13:17 DEBUG : Creating backend with remote "od1:/Documents/onebyte.txt"
2024/02/08 15:13:17 DEBUG : Using config file from "/home/XXXX/.config/rclone/rclone.conf"
2024/02/08 15:13:19 DEBUG : fs cache: adding new entry for parent of "od1:/Documents/onebyte.txt", "od1:Documents"
2024/02/08 15:13:19 DEBUG : Creating backend with remote "/home/XXXX/onebyte.txt"
2024/02/08 15:13:19 DEBUG : onebyte.txt: Need to transfer - File not found at Destination
2024/02/08 15:13:20 ERROR : onebyte.txt: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/02/08 15:13:20 ERROR : Attempt 1/1 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
2024/02/08 15:13:20 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 2.9s
2024/02/08 15:13:20 DEBUG : 10 go routines active
2024/02/08 15:13:20 Failed to copy: failed to open source object: unauthenticated: Unauthenticated
Log file with --dump headers
option: