Rclone configuration: Access blocked: This app's request is invalid

What is the problem you are having with rclone?

When I tried to authenticate rclone with remote, it prompted an URL, which led to Google account error: Access blocked: This app's request is invalid. You can't sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Error 400: redirect_uri_mismatch

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

rclone v1.61.1

  • os/version: raspbian 11.5
  • os/kernel: 5.15.61-v7+ (armv7l)
  • os/type: linux
  • os/arch: arm
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none
Yes it looks like I am on latest version

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

Google Drive

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

rclone config

The rclone config contents with secrets removed.

Select remote.
Choose a number from below, or type in an existing value.
 1 > gdrive
remote> 1

Editing existing "gdrive" remote with options:
- type: drive
- client_id: 221146942437-17a57ksqdorohvrmq6e092dpoj8e9b76.apps.googleusercontent.com
- client_secret: #### REMOVED ####
- scope: drive

Option client_id.
Google Application Client Id
Setting your own is recommended.
See https://rclone.org/drive/#making-your-own-client-id for how to create your own.
If you leave this blank, it will use an internal key which is low performance.
Enter a string value. Press Enter for the default (221146942437-17a57ksqdorohvrmq6e092dpoj8e9b76.apps.googleusercontent.com).

A log from the command with the -vv flag

Paste  log here

What did you set your redirect URI to? It needs to be set to

I did see this URL in the prompt terminal. Is there anywhere else I need to set it?

Somwhere in the google console in the Oauth client settings.

I tried to find it now but I couldn't so Google has hidden it away somewhere :slight_smile:

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