ericyd / gdrive-copy

Web app to copy a Google Drive folder
https://script.google.com/macros/s/AKfycbxbGNGajrxv-HbX2sVY2OTu7yj9VvxlOMOeQblZFuq7rYm7uyo/exec
MIT License
1.58k stars 341 forks source link

Error when trying to copy sheet located in multiple folders #163

Open soelu opened 4 years ago

soelu commented 4 years ago

Are you requesting a feature or reporting a bug?

Bug.

If reporting a bug, is there already an issue open for this same bug?

No.

What is the current behavior?

Error when trying to copy sheet located in multiple folders (achieved by pressing Shift-Z). The script fails with the following error:

Error: API call to drive.files.copy failed with error: File not found: . File: GDriveService. Line: 93
--
Error: We're sorry, a server error occurred. Please wait a bit and try again.. File: TriggerService. Line: 43

What is the expected behavior?

Copy the sheet as it works with a sheet that is only located in one folder.

How would you reproduce the current behavior (if this is a bug)?

Specify your

ericyd commented 4 years ago

I appreciate you reporting this. I'm not planning on upkeeping this app but this is by far one of the most reported bugs and I've never been able to reproduce so this might be worth investigating. Thanks for the detail steps to reproduce.

soelu commented 4 years ago

I understand, that maintaining an open source tool takes a lot of time and effort, and that sometimes you just need to let go. Nonetheless, I hope this bug report tickles you enough to investigate and eventually fix this. Keeping my hopes up... 🤞