Access to Google blocked

What is the problem you are having with rclone?

I have used rclone in the past to upload my pictures, which was working fine, so I have already authenticated rclone to use Google Photos.
Now, after some time I am not able to use it again. It started with a 403 error message. I tried to re-authenticate, deleted the entry from the config and re-created it, but it always ends up with opening the browser, log-in to Google and then an error message after having authenticated to Google that "The app has blocked".
I searched a little bit around, but haven't found how to fix it.
I have tried the same on a second machine, but with the same result.
Appreciate your support :slight_smile:

Run the command 'rclone version' and share the full output of the command.

rclone version
rclone v1.70.2

  • os/version: Microsoft Windows 10 Pro 22H2 22H2 (64 bit)
  • os/kernel: 10.0.19045.5965 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.24.4
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Google Photos

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone authorize "google photos"

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

rclone config redacted
; empty config
### Double check the config for sensitive info before posting publicly

Not much to see here, as already explained I also tried to remove it from the config and recreate it.

A log from the command that you were trying to run with the -vv flag

rclone authorize "google photos" -vv
2025/06/30 16:05:30 DEBUG : rclone: Version "v1.70.2" starting with parameters ["rclone" "authorize" "google photos" "-vv"]
2025/06/30 16:05:30 DEBUG : **temp-fs**: config in: state="", result=""
2025/06/30 16:05:30 DEBUG : Using config file from "C:\\Users\\Micha\\AppData\\Roaming\\rclone\\rclone.conf"
2025/06/30 16:05:30 DEBUG : OAuth only is set - overriding return state
2025/06/30 16:05:30 DEBUG : **temp-fs**: config out: out=&{State:*oauth,,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/06/30 16:05:30 DEBUG : **temp-fs**: config in: state="*oauth,,,", result=""
2025/06/30 16:05:30 DEBUG : **temp-fs**: config out: out=&{State:*oauth-confirm,,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/06/30 16:05:30 DEBUG : **temp-fs**: config in: state="*oauth-confirm,,,", result=""
2025/06/30 16:05:30 DEBUG : Auto confirm is set, choosing default "true" for state "*oauth-islocal,,,", override by setting config parameter "config_is_local"
2025/06/30 16:05:30 DEBUG : **temp-fs**: config out: out=&{State:*oauth-islocal,,, Option:<nil> OAuth:<nil> Error: Result:true}, err=<nil>
2025/06/30 16:05:30 DEBUG : **temp-fs**: config in: state="*oauth-islocal,,,", result="true"
2025/06/30 16:05:30 DEBUG : **temp-fs**: config out: out=&{State:*oauth-do,,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/06/30 16:05:30 DEBUG : **temp-fs**: config in: state="*oauth-do,,,", result=""
2025/06/30 16:05:30 NOTICE: Make sure your Redirect URL is set to "http://127.0.0.1:53682/" in your custom config.
2025/06/30 16:05:30 DEBUG : Starting auth server on 127.0.0.1:53682
2025/06/30 16:05:30 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=18qjnIgjQ-B6HCiIiuNO_Q
2025/06/30 16:05:30 NOTICE: Log in and authorize rclone for access
2025/06/30 16:05:30 NOTICE: Waiting for code...
2025/06/30 16:05:30 DEBUG : Redirecting browser to: https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=202264815644-rt1o1c9evjaotbpbab10m83i8cnjk077.apps.googleusercontent.com&redirect_uri=http%3A%2F%2F127.0.0.1%3A53682%2F&response_type=code&scope=openid+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary.appendonly+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary.readonly.appcreateddata+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary.edit.appcreateddata&state=18qjnIgjQ-B6HCiIiuNO_Q


Error message:
Diese App ist blockiert

Diese App hat versucht, auf vertrauliche Daten in Ihrem Google-Konto zuzugreifen. Zum Schutz Ihres Kontos haben wir den Zugriff blockiert.

(English translation: This App is blocked. This app has tried to access sensitive data in your Google account. To protect your account we have blocked the access.)

welcome to the forum,

google has changed the api used for google photos.
recently, there have been a number of issues.

here is the githib issue, with a suggestion

what you are doing with Google is to fix the "The app is blocked" message (that also affects the drive backend)
That is correct. You can always overcome this by making your own client ids though.

Thanks for the help and the nice welcome :slight_smile:

I was able to access by creating my own client id and secret. I hope, Google will not change it again, because I am now not able to access the existing files/albums via rclone as they were uploaded within a different project...

Anyway, thanks again!

Michael