Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate files uploaded #7

Open
hkroger opened this issue Jan 13, 2022 · 3 comments
Open

Duplicate files uploaded #7

hkroger opened this issue Jan 13, 2022 · 3 comments

Comments

@hkroger
Copy link

hkroger commented Jan 13, 2022

We have noticed that when we update some files using this, then sometimes files are duplicated with (1) postfix.

E.g.

Drive contains file.pdf and when we want to update that, sometimes (but not always) instead of updating existing file, it creates file (1).pdf.

@BlueTheDuck
Copy link
Owner

Hi, thanks for taking the time to report this!

I did some tests on my side, but I couldn't replicate this issue. Can you give me more info regarding how you are using this action?

  • Was file.pdf created by Glob-to-Drive? or a person using the Google Drive interface?
  • When updating the file, which one (file.pdf or file (1).pdf) is the one Glob-to-Drive modifies?
  • How many files are you uploading/updating? (Make sure you are not hitting the API rate limit: 100 requests/second)

Finally, would it be possible to send me the logs of the extension when this happens? Remember to censor/remove the ID of the folders and file names

@hkroger
Copy link
Author

hkroger commented Feb 3, 2022

We have a script generating new PDFs and those should always overwrite the old ones. We generate about 20 pdfs and for some of these, instead of overwriting we get duplicates.

So if we had already file1.pdf and file2.pdf before the script, then we might be having file1.pdf, file1 (1).pdf and file2.pdf afterwards.

The behaviour doesn't appear in the logs though. So there is no mention of file1 (1).pdf just the file1.pdf.

@max-tern
Copy link

The same happens to me;

we upload files generated during the workflow and we have duplicates.

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

No branches or pull requests

3 participants