prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.19k forks source link

Error 429 after trying to upload a large file #667

Open mbenencase opened 1 year ago

mbenencase commented 1 year ago

Hi, I'm trying to use the Google Drive API, but when I tried to upload the first file I received the following error:

Uploading ../stream_11730/stream_00.mp4
512.0 B/7.5 GBFailed to upload file: googleapi: got HTTP response code 429 with body: <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style> body { font-family: verdana, arial, sans-serif; background-color: #fff; color: #000; }</style></head><body><div><table><tr><td><b><font face=sans-serif size=10><font color=#4285f4>G</font><font color=#ea4335>o</font><font color=#fbbc05>o</font><font color=#4285f4>g</font><font color=#34a853>l</font><font color=#ea4335>e</font></font></b></td><td style="text-align: left; vertical-align: bottom; padding-bottom: 15px; width: 50%"><div style="border-bottom: 1px solid #dfdfdf;">Sorry...</div></td></tr></table></div><div style="margin-left: 4em;"><h1>We're sorry...</h1><p>... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.</p></div><div style="margin-left: 4em;">See <a href="https://support.google.com/websearch/answer/86640">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;"><a href="https://www.google.com">Google Home</a></div></body></html>

Some useful information:

Did anyone have this problem before? I tried to find it on the issue list also, but I couldn't. The current problem that I'm trying to solve is, I have a lot of mp4 files in a VM on Azure. I just want to upload that data to Google Drive. This API was the fastest way, let me know if you have any other recommendations as well.

Thanks in advance!

maiiabocharova commented 1 year ago

I have the same problem and actually with smaller files also

@mbenencase Were you able to solve the issue?

solwarsop commented 1 year ago

Also suffering the same issue with ~5GB files, although mine always fails at around the 2GB mark.

patrickwindeck commented 1 year ago

For such large files please use rclone.