Solve file: Failed to copy: failed to open source object: open file failed: googleapi: Error 403

OnLinuxon the server,使用cloneOfcopycommand,tryWhen downloading some ZIP, APK or EXE files on GDrive, the following error message appears▼

file: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: This file has been identified as malware or spam and cannot be downloaded., cannotDownloadAbusiveFile
  • file: copy failed: failed to open source file object: failed to open file: googleapi: error 403: This file has been identified as malicioussoftwareor spam, can't download. , cannotDownloadAbusiveFile

Why does open file f appearailed: googleapi: Error 403 error?

Solve file: Failed to copy: failed to open source object: open file failed: googleapi: Error 403

  • because it is recognized by Google Drive asabuse (malware, etc.) files that can only be downloaded by the file owner.
  • Besides, must contain query parametersacknowledgeAbuse=trueto indicate that the user has confirmed the risk of downloading potentially malicious software.
  • Your application should interactively warn the user before using this query parameter.

How to fix can'tDownloadAbusiveFile?

Possible solutions:

It is possible to bypass this error if we add the parameter acknowledgeAbuse=true.

you can also

  • Attempt to download abusive files.
  • You should get a prompt that says "Use the --drive-acknowledge-abuse flag to download this file"
  • try to use --drive-acknowledge-abuseFlag parameter to download again and check if it downloaded successfully?

How does Rclone use parameter commands?Please refer to this tutorial▼

If you can't download it successfully, try renaming the file in Google Drive first: ABC.tar

At last,Chen WeiliangTested for yourself that the file renamed to .tar suffix can be downloaded successfully.

Extended reading:

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Solving file: Failed to copy: failed to open source object: open file failed: googleapi: Error 403", which is helpful to you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-27426.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top