Bug 473073

Summary: Unable to import albums from google photos (Too Many Requests)
Product: [Applications] digikam Reporter: Patrik Gfeller <patrik.gfeller>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 8.2.0
Attachments: Error message shown

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