Error 403 When Trying To Perform Rclone Copy From Local Machine To Remote

What is the problem you are having with rclone?

I have setup google team drive as my rclone remote on my linux headless machine.

But when I try to copy from local machine to remote. I get error. Which is attached in details.

Run the command 'rclone version' and share the full output of the command.

rclone v1.61.1
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-1027-oracle (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.19.4
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google team drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy '/home/ubuntu/sysup.sh' gdrive:'Files/sysup.sh' -P

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = 
client_secret = 
scope = drive
token = 
team_drive = 
root_folder_id = 


A log from the command with the -vv flag

rclone copy '/home/ubuntu/sysup.sh' gdrive:'Files/sysup.sh' -P -vv
2023/01/29 18:20:43 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "copy" "/home/ubuntu/sysup.sh" "gdrive:Files/sysup.sh" "-P" "-vv"]
2023/01/29 18:20:43 DEBUG : Creating backend with remote "/home/ubuntu/sysup.sh"
2023/01/29 18:20:43 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2023/01/29 18:20:43 DEBUG : fs cache: adding new entry for parent of "/home/ubuntu/sysup.sh", "/home/ubuntu"
2023/01/29 18:20:43 DEBUG : Creating backend with remote "gdrive:Files/sysup.sh"
2023-01-29 18:20:44 DEBUG : sysup.sh: Need to transfer - File not found at Destination
2023-01-29 18:20:45 DEBUG : pacer: low level retry 1/1 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2023-01-29 18:20:45 DEBUG : pacer: Rate limited, increasing sleep to 1.238820869s
2023-01-29 18:20:45 DEBUG : sysup.sh: Received error: googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded - low level retry 1/10
2023-01-29 18:20:45 DEBUG : pacer: Reducing sleep to 0s
2023-01-29 18:20:47 DEBUG : pacer: low level retry 1/1 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2023-01-29 18:20:47 DEBUG : pacer: Rate limited, increasing sleep to 1.464961553s
2023-01-29 18:20:47 DEBUG : sysup.sh: Received error: googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded - low level retry 2/10
2023-01-29 18:20:47 DEBUG : pacer: Reducing sleep to 0s
2023-01-29 18:20:49 DEBUG : pacer: low level retry 1/1 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2023-01-29 18:20:49 DEBUG : pacer: Rate limited, increasing sleep to 1.383766508s
2023-01-29 18:20:49 DEBUG : sysup.sh: Received error: googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded - low level retry 3/10

I assume you saw the plethora of threads about Google Drive uploads/download issues?

Yes I had saw. But just wondering any sugestions of solutions for it.

Thanks

Did you try what was in the thread? I'd reply there.