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

429 (Too Many Requests) response from Google when uploading #11

Open
shabino opened this issue Nov 17, 2022 · 1 comment
Open

429 (Too Many Requests) response from Google when uploading #11

shabino opened this issue Nov 17, 2022 · 1 comment

Comments

@shabino
Copy link

shabino commented Nov 17, 2022

Version used: main

Our build process uploads a 6GB tarball to GDrive. Recently and without any changes made, we started to receive this error:

Error: creating/updating file failed with error: googleapi: got HTTP response code 429 with body:

No body was output. The time between the previous log message ("No similar files found. Creating a new file") and the one above was ~7 minutes.

We're a paying GApps customer, so I doubt the size issue is the culprit. I also deleted some previous uploads in the same directory, made by the same API key -- an attempt to ensure that some sort of per-user, etc. limits are causing our problem. Didn't help, but I didn't expect it to either.

I presume the cause is either (1) some change to Google's throttling policies, or (2) an issue with how our account is set-up. I'm posting this to see if others have experienced this issue. No idea if there's a workaround that could be implemented in this action.

@begetan
Copy link

begetan commented Aug 24, 2023

Google recommends to apply exponential backoff algorithm https://developers.google.com/drive/api/guides/limits#exponential

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

2 participants