Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Unsuccessful transfers after first paused due to Google quota limits #4

Open
garyhtou opened this issue May 20, 2019 · 1 comment
Open

Comments

@garyhtou
Copy link

garyhtou commented May 20, 2019

After the first "Paused due to Google quota limits - transfer will resume in 1-2 minutes", all files/folders which I am the owner of, do not transfer successfully. Instead, their status is "Error, you aren't the owner of this file/folder". Please refer to attached image.

transfer issue

@ericyd
Copy link
Owner

ericyd commented May 27, 2019

Thank you for the bug report. This error occurs when the app finds an email address for the file owner that doesn't match the email address of your current session.

if (DriveApp.getFileById(file.id).getOwner().getEmail() === Session.getActiveUser().getEmail() &&

It's been years since I've touched any code in this application and I don't anticipate having any free time in the near future to investigate this. My suspicion is one of the following:

  1. the file either has multiple owners (I don't think this is possible in the GDrive schema but I don't remember for sure)
  2. the app is getting confused about which account is your current session email
  3. perhaps an account has multiple emails associated with it and it isn't selecting the correct email

I will try to find some time to investigate this further but I don't have a solution at this time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants