What is the problem you are having with rclone?
PCloud’s trash cleanup fails
Run the command 'rclone version' and share the full output of the command.
~ rclone version
rclone v1.73.3
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.8.0-107-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.8
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
PCloud
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone cleanup pcloud:
The rclone config contents with secrets removed.
[pcloud]
type = pcloud
hostname = eapi.pcloud.com
token = {"access_token":"********","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
username = alexander.galato@g***l.com
password = ********
A log from the command with the -vv flag
~ rclone -vv cleanup pcloud:
2026/04/07 16:12:36 DEBUG : rclone: Version "v1.73.3" starting with parameters ["rclone" "-vv" "cleanup" "pcloud:"]
2026/04/07 16:12:36 DEBUG : Creating backend with remote "pcloud:"
2026/04/07 16:12:36 DEBUG : Using config file from "/home/alet/.config/rclone/rclone.conf"
2026/04/07 16:12:36 ERROR : Attempt 1/3 failed with 1 errors and: pcloud error: Please provide 'code'. (1022)
2026/04/07 16:12:36 ERROR : Attempt 2/3 failed with 1 errors and: pcloud error: Please provide 'code'. (1022)
2026/04/07 16:12:36 ERROR : Attempt 3/3 failed with 1 errors and: pcloud error: Please provide 'code'. (1022)
2026/04/07 16:12:36 DEBUG : 5 go routines active
2026/04/07 16:12:36 NOTICE: Failed to cleanup: pcloud error: Please provide 'code'. (1022)