What is the problem you are having with rclone?
I am getting an invalid grant error on copy, mkdir and sync commands.
ls and lsd are working.
The serviceID has the Writer role.
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.15.0-48-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
IBM Cloud Object Storage
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mkdir calibreIBM:newBucket
2022/10/09 13:03:15 ERROR : Attempt 1/3 failed with 1 errors and: InvalidGrant: Invalid Grant
status code: 400, request id: bfced3ae-941c-4d58-ad4d-450f483e3cbb, host id:
2022/10/09 13:03:16 ERROR : Attempt 2/3 failed with 1 errors and: InvalidGrant: Invalid Grant
status code: 400, request id: c4628527-31cb-4cc8-8120-d81e3d09d746, host id:
2022/10/09 13:03:16 ERROR : Attempt 3/3 failed with 1 errors and: InvalidGrant: Invalid Grant
status code: 400, request id: fe875536-34c6-45b7-953f-1b377a861981, host id:
2022/10/09 13:03:16 Failed to mkdir: InvalidGrant: Invalid Grant
status code: 400, request id: fe875536-34c6-45b7-953f-1b377a861981, host id:
The rclone config contents with secrets removed.
{
"calibreIBM": {
"access_key_id": REDACTED,
"acl": "public-read-write",
"endpoint": "s3.eu-de.cloud-object-storage.appdomain.cloud",
"location_constraint": "eu-standard",
"provider": "IBMCOS",
"secret_access_key": REDACTED,
"type": "s3"
}
}
A log from the command with the -vv
flag
rclone mkdir calibreIBM:newBucket -vv
2022/10/09 13:19:29 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "mkdir" "calibreIBM:newBucket" "-vv"]
2022/10/09 13:19:29 DEBUG : Creating backend with remote "calibreIBM:newBucket"
2022/10/09 13:19:29 DEBUG : Using config file from "/home/fatih/.config/rclone/rclone.conf"
2022/10/09 13:19:29 DEBUG : S3 bucket newBucket: Making directory
2022/10/09 13:19:29 ERROR : Attempt 1/3 failed with 1 errors and: InvalidGrant: Invalid Grant
status code: 400, request id: 206ec30a-29ee-4521-a220-b531fcf1a578, host id:
2022/10/09 13:19:29 DEBUG : S3 bucket newBucket: Making directory
2022/10/09 13:19:30 ERROR : Attempt 2/3 failed with 1 errors and: InvalidGrant: Invalid Grant
status code: 400, request id: 9757fc34-29d1-4ea6-b285-c4df1dda782c, host id:
2022/10/09 13:19:30 DEBUG : S3 bucket newBucket: Making directory
2022/10/09 13:19:30 ERROR : Attempt 3/3 failed with 1 errors and: InvalidGrant: Invalid Grant
status code: 400, request id: d8be93f8-db98-4d80-a55d-8aab9878b71c, host id:
2022/10/09 13:19:30 DEBUG : 4 go routines active
2022/10/09 13:19:30 Failed to mkdir: InvalidGrant: Invalid Grant
status code: 400, request id: d8be93f8-db98-4d80-a55d-8aab9878b71c, host id: