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

What is the problem you are having with rclone?

For the last few weeks, I am getting the following errors when trying to sync my Google Drive.

ERROR : Transcript_Evaluation_Results: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable

ERROR : Instructions: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable

What is your rclone version (output from rclone version)

rclone v1.57.0-beta.5655.24de896df

  • os/version: freebsd 12.2-release-p9 (64 bit)
  • os/kernel: 12.2-release-p9 (amd64)
  • os/type: freebsd
  • os/arch: amd64
  • go/version: go1.17
  • go/linking: static
  • go/tags: none

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)

I am using FreeNAS built-in cloud sync

The rclone config contents with secrets removed.

A log from the command with the -vv flag

Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:         1.0s

2021/09/14 09:31:00 NOTICE: Missing Legos Parts.xlsx: Duplicate object found in source - ignoring
2021/09/14 09:31:00 NOTICE: Game Design/Projects/Print String/$tf/properties.tf1: Duplicate object found in source - ignoring
2021/09/14 09:31:00 NOTICE: Pictures/Trips/Boston Science Musium/P1000176.JPG: Duplicate object found in source - ignoring
2021/09/14 09:31:01 ERROR : Transcript_Evaluation_Results: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:02 ERROR : Instructions: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:03 ERROR : Relocation/Westborough/הוצאות: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:04 ERROR : Local file system at /mnt/FR4G/CloudBackup/Google/itamar: not deleting files as there were IO errors
2021/09/14 09:31:04 ERROR : Local file system at /mnt/FR4G/CloudBackup/Google/itamar: not deleting directories as there were IO errors
2021/09/14 09:31:04 INFO  : There was nothing to transfer
2021/09/14 09:31:04 ERROR : Attempt 1/3 failed with 3 errors and: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:26 NOTICE: Missing Legos Parts.xlsx: Duplicate object found in source - ignoring
2021/09/14 09:31:26 NOTICE: Game Design/Projects/Print String/$tf/properties.tf1: Duplicate object found in source - ignoring
2021/09/14 09:31:26 NOTICE: Pictures/Trips/Boston Science Musium/P1000176.JPG: Duplicate object found in source - ignoring
2021/09/14 09:31:26 ERROR : Transcript_Evaluation_Results: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:28 ERROR : Instructions: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:29 ERROR : Relocation/Westborough/הוצאות: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:29 ERROR : Local file system at /mnt/FR4G/CloudBackup/Google/itamar: not deleting files as there were IO errors
2021/09/14 09:31:29 ERROR : Local file system at /mnt/FR4G/CloudBackup/Google/itamar: not deleting directories as there were IO errors
2021/09/14 09:31:29 INFO  : There was nothing to transfer
2021/09/14 09:31:29 ERROR : Attempt 2/3 failed with 3 errors and: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:49 NOTICE: Missing Legos Parts.xlsx: Duplicate object found in source - ignoring
2021/09/14 09:31:49 NOTICE: Game Design/Projects/Print String/$tf/properties.tf1: Duplicate object found in source - ignoring
2021/09/14 09:31:49 NOTICE: Pictures/Trips/Boston Science Musium/P1000176.JPG: Duplicate object found in source - ignoring
2021/09/14 09:31:49 ERROR : Transcript_Evaluation_Results: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:51 ERROR : Instructions: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:51 ERROR : Relocation/Westborough/הוצאות: Failed to copy: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:52 ERROR : Local file system at /mnt/FR4G/CloudBackup/Google/itamar: not deleting files as there were IO errors
2021/09/14 09:31:52 ERROR : Local file system at /mnt/FR4G/CloudBackup/Google/itamar: not deleting directories as there were IO errors
2021/09/14 09:31:52 INFO  : There was nothing to transfer
2021/09/14 09:31:52 ERROR : Attempt 3/3 failed with 3 errors and: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable
2021/09/14 09:31:52 Failed to sync with 3 errors: last error was: failed to open source object: open file failed: googleapi: Error 403: Only files with binary content can be downloaded. Use Export with Docs Editors files., fileNotDownloadable```

hello and welcome to the forum,

when you posted, there was a template of questions.
please post all the requested info so we can help you.

post the link to that thread

Hi,

Sorry about that, I have updated my question to match the template

Here is the link:

please post a full debug log or at least the top 30 lines.

enclose it with three backticks before and after the log so it would look like

2021/09/14 09:31:00 NOTICE: Missing Legos Parts.xlsx: Duplicate object found in source - ignoring
2021/09/14 09:31:00 NOTICE: Game Design/Projects/Print String/$tf/properties.tf1: Duplicate object found in source - ignoring
2021/09/14 09:31:00 NOTICE: Pictures/Trips/Boston Science Musium/P1000176.JPG: Duplicate object found in source - ignoring

Just updated my original post to include the log file in the right way

can you do that....

I figure out what was the problem.

In FreeNAS, the rclone binaries that comes with the solution are version 1.53 and are located in /usr/bin/local/rclone

I have run an update of rclone binaries which put the 1.57 BETA in /usr/bin/rclone

I edited the /usr/local/lib/python3.9/site-packages/middlewared/plugins/cloud_sync.py file and made the following changes:

args = [
"/usr/bin/rclone",
"--config", config.config_path,
"-v",
"--stats", "1s",
]

Now everything is working fine :slight_smile:

I will update the FreeNAS forum as well

Thanks for the support

That's exactly why we ask for a debug log as we would have spotted that in the first post you made if it was included.

2 Likes

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