I'm unable to configure gdrive for rclone, giving 400 error.
Authorization Error Error 400: invalid_request configuring rclone gdrive
2.8k Views Asked by Sirish K At
1
There are 1 best solutions below
Related Questions in GOOGLE-CLOUD-PLATFORM
- Google Logging API - What service name to use when writing entries from non-Google application?
- Custom exception message from google endpoints exception
- Unable to connect database of lamp instance from servlet running on tomcat instance of google cloud
- How to launch a Jar file using Spark on hadoop
- Google Cloud Bigtable Durability/Availability Guarantees
- How do I add a startup script to an existing VM from the developer console?
- What is the difference between an Instance and an Instance group
- How do i change files using ftp in google cloud?
- How to update all machines in an instance group on Google Cloud Platform?
- Setting up freeswitch server on Google cloud compute
- Google Cloud Endpoints: verifyToken: Signature length not correct
- Google Cloud BigTable connection setup time
- How GCE HTTP Cross-Region Load Balancing implemented
- Google Cloud Bigtable compression
- Google cloud SDK code to execute via cron
Related Questions in GOOGLE-DRIVE-API
- Google Drive API VB.NET Parent Folder of a Folder
- RealTime getCollaborators() method returning only 1 Collaborators
- Directory sandboxed access for Google Drive / Dropbox API / RemoteStorage apps?
- How can I make a copy of a file in Google Drive via Python?
- Google Drive APi and Google Maps in the same application
- Google Drive API: Change Slide During The Presentation
- How to sign out of a Google Drive account?
- Automated OAuth2 token not working - Google Apps Script
- Google Drive Sync + Read-only access
- Google Drive Progress Upload/Download Status
- ng-repeat list doesn't update immediately after api call
- Insert file using Google Drive API?
- Google drive PHP API: unable to insert files or folders into subfolders
- 401 Unauthorized - Google Drive API
- Convert docx to gdoc ( OpenWithLinks = null )
Related Questions in GOOGLE-OAUTH
- Not getting refresh token with google oauth2
- getting google contacts using shuttlecloud
- How to use Authentication again after it was granted prevously
- Youtube API - Listing hidden videos of my channel using OAuth
- How can I make a copy of a file in Google Drive via Python?
- Error "Invalid token: Cannot parse referred token string" when trying to access to Picasaweb API with oAuth2 from Java
- Need to run getAuthToken twice before receiving access token, why?
- Retrieve Google Sites's Domain Index feed using OAuth 2.0 with Service Account
- On App Engine using Go, correct method for using OAuth2
- Google App Engine Python - YouTube API v3 - Insufficient Permission
- How to set redirect URI with pattern for OAuth 2 with Google?
- Not able to extract access token google service account
- What Google Account is associated with an OAuth Client ID?
- Accessing Google api with multi user
- Unauthorized Client Exception with Google Drive Service Account
Related Questions in RCLONE
- RCLONE : Invalid 'access_token' with pCloud
- Python rclone check difference of two folders
- Using swift style access with rclone and non-classic OCI object storage
- No such directory or file - Mac
- Puppet idempotency with rclone sync
- LaunchD Rclone Mount Script Not Loading
- How to use holodeck with S3
- Authorization Error Error 400: invalid_request configuring rclone gdrive
- How to rclone copy only .png files under a directory?
- Mounting an S3 bucket in docker in a clearml agent
- rclone - How do I list which directory has the latest files in AWS S3 bucket?
- RClone: Store AWS S3 Access key and Secret key in my server rather than users computer / Desktop application
- rclone slow transfer from bucket to filesystem
- Migrate CyberPanel with everything to a new CyberPanel on different VPS
- S3 / COS: rclone authentication using config for IBM Cloud fails
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?




According to this post this error message may be caused by using an old version of rclone. Try installing the latest version if you haven't already done that.
Also you shouldn't post your client ID and secret. You should revoke them and re-create them.
I am using rclone 1.60, I still got the same error but I fixed it. You need to add rclone's Redirect URL to the Authorized redirect URIs section of the OAuth 2.0 Client ID that you created for rclone (in the Google API console).
First create your own client ID as described on the rclone website. Make sure it has a secret - click 'Reset Secret' if it doesn't. Remember to save after creating the secret.
Then you need to get the redirect URL:
rclone configand proceed through the wizard, giving it the client ID and the secret when it asks for it.rclone configuntil it gets to the auto config part of the wizard (Use auto config?). Answer 'n' to this question.clone authorize "drive" "XXXX". Execute that command in another terminal session.rclone authorizecommand will cause the Google Accounts page to be opened, which gets the error messageError 400: redirect_uri_mismatchMake sure your Redirect URL is set to "http://127.0.0.1:53682/"Now you need to add the redirect URL to the Client ID's Authorized redirect URIs.
Complete the authorization process:
rclone authorizesession - in its output there will be a line that starts with 'If your browser doesn't open automatically...'. Follow the link in that line. The web page that opens will say 'Success!'.rclone authorizesession will have produced a token. Copy that token and paste it into therclone configsession (which is waiting for a token).