Install failed: Error 401: invalid_client

What is the problem you are having with rclone?

I'm trying to install RClone on Ubuntu 20.04.

What is your rclone version (output from rclone version)

rclone v1.54.1

  • os/arch: linux/amd64
  • go version: go1.15.8

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 20.04.

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)

I'm going through the rclone config process. I'm answering 'No' to the autoconfig question (I have a headless machine) and pasting the provided URL in a browser to get the verification code.

This is the error I get in my browser:

I've tried this on a Windows 10 machine with the same results.


I'm guessing you tried "Google Cloud Storage" instead of "Google Drive"?

I'm selecting option 15 - Google Drive.

Here is a list of my config options:

New Remote> n
name> Jamie
Storage> 15
client> Jamie
client_secret> default
scope> 2
root_folder_id> default
service_account_file> default
Edit advanced> n
Remote Config> n

The URL generated results in the error posted, every time.


That doesn't look like a valid client_id. It should look something like

Duh! Totally! Working now.

Just for completeness, you need to setup OAuth Credentials in the Google Cloud.


1 Like

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