Bug 473073 - Unable to import albums from google photos (Too Many Requests)
Summary: Unable to import albums from google photos (Too Many Requests)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: 8.1.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-06 13:46 UTC by Patrik Gfeller
Modified: 2023-10-18 09:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments
Error message shown (19.35 KB, image/png)
2023-08-06 13:46 UTC, Patrik Gfeller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrik Gfeller 2023-08-06 13:46:28 UTC
Created attachment 160778 [details]
Error message shown

SUMMARY

Unable to import albums from google photo; the import plugin is unable to load the albums (error message: Too Many Requests): "Error transferring https://photoslibrary.googleapis.com/v1/albums?pageSize=50 - server replied: Too Many Requests"


STEPS TO REPRODUCE
1. Configure login to google photo in the import plugin
2. Try to import albums (note: the used account is active for many years and has probably a lot of data).

OBSERVED RESULT

Error transferring https://photoslibrary.googleapis.com/v1/albums?pageSize=50 - server replied: Too Many Requests

EXPECTED RESULT

The dropdown list should be populated with albums available for download.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Ubuntu 22.04.3 LTS x86_64, Metacity (Marco) w. MATE 1.26.0
KDE Plasma Version: using Mate-Desktop on Ubuntu 22.04 LTS
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Patrik Gfeller 2023-08-06 13:51:25 UTC
I assume this is related to usage limits applied by google. Maybe the following information is useful to resolve the issue:

Resolve time-based quota errors: https://developers.google.com/drive/api/guides/limits#exponential
Comment 2 Maik Qualmann 2023-08-06 14:08:12 UTC

*** This bug has been marked as a duplicate of bug 472494 ***
Comment 3 Maik Qualmann 2023-08-06 14:10:41 UTC
At least for the moment it is not a problem of the contingent.

Maik
Comment 4 caulier.gilles 2023-10-18 09:49:39 UTC
Fixed with 472494