Error 401 during Google OAuth authentication setting up Google Drive

Trying to set up Google Drive as a remote in rclone v1.51.0 (Linux), the Google OAuth page opened in the course of the authentication shows a 401 error, “Error: invalid_client — The OAuth client was not found.”

The details read as follows:

access_type=offline
client_id=rclone-work
redirect_uri=http://127.0.0.1:53682/
response_type=code
scope=https://www.googleapis.com/auth/drive.file
state=hA5TTqM0mym222p8b5UXkg

Any pointers as to what might be wrong?

That doesn't look valid as a client_id? They are normally something like 1892001928301.apps.googleusercontent.com

Oh, drat, I completely overlooked that this is a client ID that needs to have been generated through the GCP console. Thanks for pointing this out, things now work.

1 Like

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