Can't copy or upload files to google drive using Rclone ...

"I'm having trouble using rclone to copy files from my laptop to Google Drive. I've tried running the command **rclone copy -vP --transfers 10 "C:\Users\Duy\Documents\Instagram" "TD:Video Tài Liệu/Instagram"** but no files are being transferred. What could be causing this issue? I've checked the remote configuration and access permissions but haven't found a solution yet."

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

  • os/version: Microsoft Windows 10 Home 22H2 (64 bit)
  • os/kernel: 10.0.19045.4780 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: cmount
    [/quote]

welcome to the forum,

please post the output of rclone config redacted TD:

make sure the remote works by testing a simple command.
post the output of a simple command rclone lsd TD: -vv

why do you have that double asterisk? what are you trying to accomplish?

It seems like there was an error when I switched languages, so the ** symbol appeared.

Below is the output of TD:
[TD] type = drive scope = drive token = XXX team_drive =

I checked as you mentioned, and this seems to be the reason:
2024/09/13 20:47:24 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Quota exceeded for quota metric 'Queries' and limit 'Queries per minute' of service 'drive.googleapis.com' for consumer 'project_number:202264815644'.

But I still don’t understand why I was able to copy data normally every day, but today I encountered this issue. Even after waiting for 24 hours, the limit hasn’t been lifted.

need to create a client_id
https://rclone.org/drive/#making-your-own-client-id

I tried creating a client ID and creating a new config so I can run it, but when I enter the Client ID and Client Secret, the drive is blocked and I do not have permission to continue accessing the account.

Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you are the developer of this app, register the redirect URI in Google Cloud Console.
Request details: redirect_uri=http://127.0.0.1:53682/ flowName=GeneralOAuthFlow

last week, i create two new gdrive remotes, one using client id, one use service account. both are working fine.

so try again, run rclone config -vv, create a new remote, follow the rclone docs exactly.
if that does not work, then post the full rclone debug output, making sure to redact private info.

As you said, I created a new config, I left all parameters at default and ran it.

What's worth mentioning here is that it still has the limit even though I created a different config, and even though I changed my Google account to another Google account, it still has the same limit error.

correct, you get that error as a result of your remote does having a client_id.
this is much discussed in the forum.

So is there any way to fix this error? I waited a few days for the limit to expire but it was still limited.
I need to upload a lot of files to my drive and use rclone's non-duplicate upload feature

yes, need to use a client_id. much discussed in the forum, for many years...
maybe try reducing --tpslimit and --tpslimit-burst

that is not going to fix the issue. need to use a client_id.
the error is "Queries per minute", not `"Queries per day"

Where can I place that order? Below is the command I use:

rclone copy -vP --transfers 10 "Laptop C drive" "Drive"

that is not practical, never going to work, without a client_id

1 Like

maybe try --transfers=1 --checkers=1 --tpslimit=1 --tpslimit-burst=0 --fast-list

1 Like

Encountered error when running rclone lsd TD: -vv

I ran the command rclone lsd TD: -vv and encountered the following error:

2024/09/30 02:30:43 DEBUG : rclone: Version "v1.68.0" starting with parameters ["rclone" "lsd" "TD:" "-vv"]
2024/09/30 02:30:43 DEBUG : Creating backend with remote "TD:"
2024/09/30 02:30:43 DEBUG : Using config file from "C:\\Users\\Duy\\AppData\\Roaming\\rclone\\rclone.conf"
2024/09/30 02:30:43 DEBUG : TD: Loaded invalid token from config file - ignoring
2024/09/30 02:30:43 DEBUG : Saving config "token" in section "TD" of the config file
2024/09/30 02:30:43 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2024/09/30 02:30:43 DEBUG : TD: Saved new token in config file
2024/09/30 02:30:44 DEBUG : Google drive root '': 'root_folder_id = 0ANnf9lv-p49XUk9PVA' - save this in the config to speed up startup

It seems that rclone encountered an issue with an invalid token and automatically refreshed it. However, I would like to confirm if this is the correct behavior and whether any additional configuration is needed.

Looking forward to your response.

Thank you!

not an error.
confirmed and no additional configuration is needed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.