Error Deleting file Using Rclone

What is the problem you are having with rclone?

so i am trying to delete a file from google drive and it shows this error even when i try to delete via web or google drive desktop
eOutWarning
2023/10/01 03:52:55 ERROR : Attempt 3/3 failed with 1 errors and: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:55 Failed to deletefile: googleapi: Error 400: , shareOutWarning

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

> rclone v1.63.1
> - os/version: Microsoft Windows Server 2022 Datacenter 21H2 (64 bit)
> - os/kernel: 10.0.20348.1970 (x86_64)
> - os/type: windows
> - os/arch: amd64
> - go/version: go1.20.6
> - 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 deletefile "remote:/xxxxx/filename (1)_DUPLICATE.pdf"

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

[THA]
type = drive
scope = drive
token = {"access_token":"big_brown_guy_with_good_beard"}
team_drive = xxxxxxx```





C:\Users\admin\Desktop\rclone>rclone deletefile "THA:/xxx/filename (1)_DUPLICATE.pdf"
2023/10/01 03:52:53 ERROR : filename (1)_DUPLICATE.pdf: Couldn't delete: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:53 ERROR : Attempt 1/3 failed with 1 errors and: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:54 ERROR : filename (1)_DUPLICATE.pdf: Couldn't delete: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:54 ERROR : Attempt 2/3 failed with 1 errors and: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:55 ERROR : filename (1)_DUPLICATE.pdf: Couldn't delete: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:55 ERROR : Attempt 3/3 failed with 1 errors and: googleapi: Error 400: , shareOutWarning
2023/10/01 03:52:55 Failed to deletefile: googleapi: Error 400: , shareOutWarning

Looks like you have DLP or perhaps do not have some permissions to delete it.

If you can't delete it from the Web UI, I can't imagine rclone can.

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