What is the problem you are having with rclone?
IO error: couldn't list directory: googleapi: Error 401: Invalid Credentials, authError
Run the command 'rclone version' and share the full output of the command.
rclone v1.60.1
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.963 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.19.3
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Paste command here
The rclone config contents with secrets removed.
[gdrive]
type = drive
client_id = **
client_secret = **
scope = drive
root_folder_id = 0ABvlA8TWhsmNUk9PVA
token = {"access_token":"ya29.a0AX9GBdUYKi27Ghax4czc2nSQuQXs*****bM03bDm7rvZDBGp1IqRm9un1fLp0H4SRYsPP-IpgcS031M_lmW85A5SU2I7yzmC0F*****p4ulnaDQ7INPCM5cCxzr79neJ3_qNa5X-OfJSIvaCgYKAcMSARISFQHUCsbCpSx0kN_GyS4UV6wCW-omLA0163","token_type":"Bearer","refresh_token":"1//0dlnpcTjdw7obCgYIARAAGA0SNwF-L9IrdShfESqW6hPrPw*******39cSeL-PZc4AKtYCbtfRgBQtwog5ik","expiry":"2022-12-18T10:40:10.8034873-05:00"}
team_drive =
[gcrypt]
type = crypt
remote = gdrive:/crypt
filename_encryption = standard
directory_name_encryption = true
password = ****
password2 = *****
A log from the command with the -vv
flag
2022/12/18 09:41:45 ERROR : /: Dir.Stat error: couldn't list directory: googleapi: Error 401: Invalid Credentials, authError
2022/12/18 09:41:45 ERROR : IO error: couldn't list directory: googleapi: Error 401: Invalid Credentials, authError
2022/12/18 09:41:45 ERROR : /: Dir.Stat error: couldn't list directory: googleapi: Error 401: Invalid Credentials, authError