Using the --drive-acknowledge-abuse flag may be broke or google changed something

What is the problem you are having with rclone?

Using the --drive-acknowledge-abuse flag may be broke or google changed something

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

rclone --version
rclone v1.58.1
- os/version: debian 10.12 (64 bit)
- os/kernel: 4.19.0-9-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none
Yes

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 -vv --drive-acknowledge-abuse copy m-W:/m/Street-UP/up-stress-1080p.rar .

The rclone config contents with secrets removed.

[m-W]
type = drive
scope = drive
service_account_file = /m/m.json
team_drive = dfgfdgdhd
root_folder_id = 

A log from the command with the -vv flag

2022/05/11 22:39:29 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "-vv" "--drive-acknowledge-abuse" "copy" "m-W:/m/Street-UP/up-stress-1080p.rar" "."]
2022/05/11 22:39:29 DEBUG : Creating backend with remote "mo-W:/m/Street-UP/up-stress-1080p.rar"
2022/05/11 22:39:29 DEBUG : m-W: detected overridden config - adding "{P2dbo}" suffix to name
2022/05/11 22:39:32 DEBUG : fs cache: adding new entry for parent of "m-W:/m/Street-UP/up-stress-1080p.rar", "m-W{P2dbo}:m/Street-UP"
2022/05/11 22:39:32 DEBUG : Creating backend with remote "."
2022/05/11 22:39:32 DEBUG : fs cache: renaming cache item "." to be canonical "/test"
2022/05/11 22:39:32 DEBUG : up-stress-1080p.rar: Need to transfer - File not found at Destination
2022/05/11 22:39:35 ERROR : up-stress-1080p.rar: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile
2022/05/11 22:39:35 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile
2022/05/11 22:39:35 DEBUG : up-stress-1080p.rar: Need to transfer - File not found at Destination
2022/05/11 22:39:37 ERROR : up-stress-1080p.rar: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile
2022/05/11 22:39:37 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile
2022/05/11 22:39:37 DEBUG : up-stress-1080p.rar: Need to transfer - File not found at Destination
2022/05/11 22:39:40 ERROR : up-stress-1080p.rar: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile
2022/05/11 22:39:40 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile
2022/05/11 22:39:40 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:        11.2s

2022/05/11 22:39:40 DEBUG : 7 go routines active
2022/05/11 22:39:40 Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only the owner can download abusive files., cannotDownloadAbusiveFile

hello and welcome to the forum,

have you seen https://github.com/rclone/rclone/issues/2338

based on that log,
for m-W:, its client_id is not the owner of up-stress-1080p.rar, correct?

I am using the --drive-acknowledge-abuse as it is in my command which has worked up until recently.

yes, i understand that.

i am trying to figure out if this is a rclone bug, a change on google, or some other reason.
and if not me, than for others, trying to gather the needed info

that is why i am asking,

for the client_id of m-W:
is that the owner of up-stress-1080p.rar or not?

yes it is the owner.

perhaps the recent update to v1.58.1 introduced an issue?

It happens on 1.57 also so I tried the newest release and it has the same issue.

i think this is the next step

Can you check with -vv --dump headers that rclone is adding the ?acknowledgeAbuse flag into the URL of the GET request?

It is.

xxx?alt=media&acknowledgeAbuse=true

I tried it 4 times and the 2nd time it downloaded the file but not the 3rd or 4th time. I did rename the local file before trying the 3rd and 4th times
All had the acknowledgeAbuse=True part.

So still seems to be something weird going on.

might just be a glitch, something that might go away on its own.

if not, i think we have enough info for someone more expert with gdrive.

This has the feeling of a Google drive glitch to me - hopefully it won't persist.

I have same issue here, and I write a python script using Google drive API to check what happened, the result is:

url:
https://www.googleapis.com/drive/v3/files/10Og4rlnIbME6hLglgVxb3BXv_LsksaF4?supportsAllDrives=true&acknowledgeAbuse=true&alt=media

headers:
{'accept': '/', 'accept-encoding': 'gzip, deflate', 'user-agent': '(gzip)', 'x-goog-api-client': 'gdcl/2.47.0 gl-python/3.9.10'}

Exception:
Encountered 403 Forbidden with reason "cannotDownloadAbusiveFile"

I suggest you go here

https://issuetracker.google.com/

And search for a bug, or make a new one as I think this looks very much like a google bug.

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