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

API hits 10k limit. No idea if this is legit or a problem #335

Closed
wasserman opened this issue Jul 4, 2022 · 2 comments
Closed

API hits 10k limit. No idea if this is legit or a problem #335

wasserman opened this issue Jul 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@wasserman
Copy link

Describe the bug
I have a directory with about 500 folders/albums with about 40k photos total. After uploading for about 1 hour it hits the 10k limit.

To Reproduce
Steps to reproduce the behavior:

  1. Create directory with 500k folders with lots of photos spread across.
  2. Inject debug for extra visibility at
    albumId, err := getOrCreateAlbum(ctx, photosService.Albums, albumName)
  3. Eventually see something like this:
info]   Queueing folder AlbumX with 7 files.
[fail] X Unable to create album 'AlbumX': Post "https://photoslibrary.googleapis.com/v1/albums?alt=json": POST https://photoslibrary.googleapis.com/v1/albums?alt=json giving up after 5 attempt(s)
[info]   Queueing folder AlbumY with 57 files.
[fail] X Unable to create album 'AlbumY': Post "https://photoslibrary.googleapis.com/v1/albums?alt=json": POST https://photoslibrary.googleapis.com/v1/albums?alt=json giving up after 5 attempt(s)

Many folders were created that are empty on my Google Photos account.

Expected behavior
Failure and bailing with photos uploaded? Understanding of what partially succeeded to know if I should continue my attempts regularly and will eventually complete the upload.

Screenshots
image

Desktop & Client versions (please complete the following information):

Additional context
Using config with CreateAlbums: folderPath

@wasserman wasserman added the bug Something isn't working label Jul 4, 2022
@wasserman
Copy link
Author

Bump. I was hoping to use this tool to bulk upload to my account from Linux. Thanks!

@pacoorozco
Copy link
Member

Hi @wasserman

Sorry for the delay to answer you, the notification was left behind after a laptop replacement...

Your question is documented here. You can retry the gphotos-uploader-cli after the quota limitation of ~24 hours. This is a rate limitation imposed by Google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants