# Quota Exceeded with Google Photos

**URL:** <https://forum.rclone.org/t/quota-exceeded-with-google-photos/25292>\
**Category:** Suspected Bug\
**Created:** [July 12, 2021, 1:51pm UTC](https://forum.rclone.org/t/quota-exceeded-with-google-photos/25292 "2021-07-12T13:51:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_DeAngelo](https://forum.rclone.org/user_avatar/forum.rclone.org/mike_deangelo/32/9876_2.png) [@Mike\_DeAngelo](https://forum.rclone.org/u/Mike_DeAngelo)\
**Post date:** [July 12, 2021, 1:51pm UTC](https://forum.rclone.org/t/quota-exceeded-with-google-photos/25292/1 "2021-07-12T13:51:40Z")

</div>

I'm running Linux Mint 20.1, attempting to mirror my Google Photos locally.

```auto
rclone v1.50.2
 - os/arch: linux/amd64
 - go version: go1.13.6

```

When I run `rclone sync photos:media/by-month/ $HOME/gphotos/media/by-month/ -P` I get the following 429 error part way through the run. The run continues with this error coming up over and over again.

I added some newlines for clarity

> 2021-07-12 08:50:20 ERROR : 2013/2013-04: error reading source directory: couldn't list files:  
> Quota exceeded for quota metric 'Read requests' and limit 'Read requests per minute per user'  
> of service 'photoslibrary-dot-googleapis-dot-com' for consumer 'project\_number:nnnnnnnnnnnnn'.  
> (429 RESOURCE\_EXHAUSTED)

It appears that rclone just goes to the next directory and attempts to sync, getting another 429 error. I would expect that either rclone would stop after a 429, or it would throttle back.

I worked around the issue by running the following script...

```auto
#!/bin/bash

for y in $(rclone lsf --dirs-only photos:media/by-month/)
do
    echo "Got ${y}"
    for m in $(rclone lsf --dirs-only photos:media/by-month/${y})
    do
	echo "Got ${y}${m}"
	/usr/bin/rclone sync photos:media/by-month/${y}${m} $HOME/gphotos/media/by-month/${y}${m}
    done
done

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [July 12, 2021, 2:01pm UTC](https://forum.rclone.org/t/quota-exceeded-with-google-photos/25292/2 "2021-07-12T14:01:57Z")

</div>

hello and welcome to the forum,

before stating that rclone has a bug, please update rclone and test again.  
the version you are using is approx 18 months old.....  
[https://rclone.org/downloads/#script-download-and-install](https://rclone.org/downloads/#script-download-and-install)

if you search the forum, it is common to exceed quota with google photos, as the value to hit a quota is much lower then google drive.  
one workaround is to use `--tpslimit 1`

did you create your own client id as that helps.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [September 11, 2021, 10:02am UTC](https://forum.rclone.org/t/quota-exceeded-with-google-photos/25292/3 "2021-09-11T10:02:56Z")

</div>

Closed on September 11, 2021, 10:02am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
