Error 404 File not found, Google Drive copy

What is the problem you are having with rclone?

Yesterday I installed rclone, and successfully copied some files between google drive folders, I've published the app in Google developers' console.

But today I repeatedly get error 404 when copying folder from google drive 1 to google drive 2.

I've tried to copy folder in the reverse direction, from google drive 2 to google drive 1, with the same error 404.

In the config file, I see the date is expired.

"expiry":"2023-10-05T13:42:48.7841821+07:00"

So, what's the problem? Is it the problem with token date?
Thank you in advance for helps.

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

rclone v1.64.0

  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.3324 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.1
  • 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)

rclone copy gdrive-jackson:/bak2 gdrive-itoh:/one/buf --drive-server-side-across-configs -vv

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[gdrive-jackson]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
server_side_across_configs = true

[gdrive-itoh]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
server_side_across_configs = true

A log from the command that you were trying to run with the -vv flag

2023/10/05 13:17:46 DEBUG : rclone: Version "v1.64.0" starting with parameters ["rclone" "copy" "gdrive-jackson:/bak2" "gdrive-itoh:/one/buf" "--drive-server-side-across-configs" "-vv" "--log-file=rclone-error-log.txt"]
2023/10/05 13:17:46 DEBUG : Creating backend with remote "gdrive-jackson:/bak2"
2023/10/05 13:17:46 DEBUG : Using config file from "C:\\Users\\root\\AppData\\Roaming\\rclone\\rclone.conf"
2023/10/05 13:17:46 DEBUG : gdrive-jackson: detected overridden config - adding "{Db_Y9}" suffix to name
2023/10/05 13:17:47 DEBUG : Google drive root 'bak2': 'root_folder_id = 0ADAwn9VPlKKmUk9PVA' - save this in the config to speed up startup
2023/10/05 13:17:47 DEBUG : fs cache: renaming cache item "gdrive-jackson:/bak2" to be canonical "gdrive-jackson{Db_Y9}:bak2"
2023/10/05 13:17:47 DEBUG : Creating backend with remote "gdrive-itoh:/one/buf"
2023/10/05 13:17:47 DEBUG : gdrive-itoh: detected overridden config - adding "{Db_Y9}" suffix to name
2023/10/05 13:17:48 DEBUG : Google drive root 'one/buf': 'root_folder_id = 0AAp86-Ag2FlbUk9PVA' - save this in the config to speed up startup
2023/10/05 13:17:49 DEBUG : fs cache: renaming cache item "gdrive-itoh:/one/buf" to be canonical "gdrive-itoh{Db_Y9}:one/buf"
2023/10/05 13:17:49 DEBUG : REST_API_vs_GraphQL_vs_gRPC_Complete_Guide.zip: Need to transfer - File not found at Destination
2023/10/05 13:17:49 DEBUG : Google drive root 'one/buf': Waiting for checks to finish
2023/10/05 13:17:49 DEBUG : Google drive root 'one/buf': Waiting for transfers to finish
2023/10/05 13:17:50 ERROR : REST_API_vs_GraphQL_vs_gRPC_Complete_Guide.zip: Failed to copy: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound
2023/10/05 13:17:50 ERROR : Attempt 1/3 failed with 1 errors and: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound
2023/10/05 13:17:51 DEBUG : REST_API_vs_GraphQL_vs_gRPC_Complete_Guide.zip: Need to transfer - File not found at Destination
2023/10/05 13:17:51 DEBUG : Google drive root 'one/buf': Waiting for checks to finish
2023/10/05 13:17:51 DEBUG : Google drive root 'one/buf': Waiting for transfers to finish
2023/10/05 13:17:51 ERROR : REST_API_vs_GraphQL_vs_gRPC_Complete_Guide.zip: Failed to copy: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound
2023/10/05 13:17:51 ERROR : Attempt 2/3 failed with 1 errors and: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound
2023/10/05 13:17:52 DEBUG : REST_API_vs_GraphQL_vs_gRPC_Complete_Guide.zip: Need to transfer - File not found at Destination
2023/10/05 13:17:52 DEBUG : Google drive root 'one/buf': Waiting for checks to finish
2023/10/05 13:17:52 DEBUG : Google drive root 'one/buf': Waiting for transfers to finish
2023/10/05 13:17:53 ERROR : REST_API_vs_GraphQL_vs_gRPC_Complete_Guide.zip: Failed to copy: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound
2023/10/05 13:17:53 ERROR : Attempt 3/3 failed with 1 errors and: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound
2023/10/05 13:17:53 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         7.1s

2023/10/05 13:17:53 DEBUG : 7 go routines active
2023/10/05 13:17:53 Failed to copy: googleapi: Error 404: File not found: 1jpkv4667z5T9Ct85bsL8RuQQO8PH4UBE., notFound

For server side operations, the accounts need permissions in the source or destination. I never remember.

If you search the forums, it's a common topic.

But in the previous day it has no problem with server side copying. Suddenly today it produces error 404.

404s are permission errors on server side.

I don't know what you copied or did on the previous day.

Test without server side and you can validate it.

I can copy the file without server side.

In the previous day I copied large amount of files, more than 50 GB, all server side, with no problem.
Today I'm trying to copy only 1 file around 440MB, server side with error 404.

Is it something to do with Google Drive's quota?

If it works without serverside, that futher validates it's a permissions issue.

How to set up the server side permissions?

Or search as there are tons of examples on the forums.

This solve my problem, gdrive server-side copy results in 404 errors · Issue #3119 · rclone/rclone · GitHub

So, the Google Drive's source folder must be shared with the destination's account, or shared as "anyone with the link".

Thank you very much...

1 Like

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