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 answers
Related Questions in GOOGLE-CLOUD-PLATFORM
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Unable to call datastore using GCP service account key json
- Troubleshooting Airflow Task Failures: Slack Notification Timeout
- GoogleCloud Error: Not Found The requested URL was not found on this server
- Kubernetes cluster on GCE connection refused error
- Best way to upload images to Google Cloud Storage?
- Permission 'storage.buckets.get' denied on resource (or it may not exist)
- Google Datastream errors on larger MySQL tables
- Can anyone explain the output of apache-beam streaming pipeline with Fixed Window of 60 seconds?
- Parametrizing backend in terraform on gcp
- Nonsense error using a Python Google Cloud Function
- Unable to deploy to GAE from Github Actions
- Assigned A record for Subdomain in Cloud DNS to Compute Engine VM instance but not propagated/resolved yet
- Task failure in DataprocCreateClusterOperator when i add metadata
- How can I get the long running operation with google.api_core.operations_v1.AbstractOperationsClient
Related Questions in GOOGLE-DRIVE-API
- Can you use the Drive API to share a file in Google Drive to an oath2 subject rather than email address?
- Write R pin to Google Drive without authentication
- Google Drive Service Account gets googleapiclient.errors.HttpError: 401 "Request is missing required authentication credential" when authenticating
- How to set expiry dates for Google Drive
- Trying to fetch images from a Google Drive folder
- How to programmatically zip/download google drive folder?
- google drive file missing
- Trigger Warning: Mysterious Memory Spike on Google Drive Upload using Google Cloud Run
- can replace file in google drive by c#?
- Images stored on google drive are not loading on a website hosted on heroku
- FileNotFoundError while trying to load dataset from drive
- Search in GDrive only the first 5 topics
- Issue with Google Drive API Integration: Unexpected HTML Response from Backend in Production Environment
- Can Google Drive act as a DB for Mobile App?
- java.lang.NoSuchMethodError: 'boolean com.google.api.client.http.HttpTransport.isMtls()'
Related Questions in GOOGLE-OAUTH
- Lambda endpoint for the Google OAuth callback does not recieve the access_token
- Unable to call datastore using GCP service account key json
- Google Drive Service Account gets googleapiclient.errors.HttpError: 401 "Request is missing required authentication credential" when authenticating
- If you're using the Google Oauth2 authentication method to send emails with Gmail API from *your* account, when do you need to refresh the token?
- Verifying Google Identity OAuth2 token with Ruby
- I am trying to implement authentication in django using django_cas_ng, and also provide a option for all-auth for google login
- How to Sync Google Calendar Events Using Push Notifications?
- How to use Oauth in order to log‑in on .googleapis.com on almost any arbitrary endpoints domains from the web browser?
- Main tab doesn't retain authenticated state after authenticating user in popup window using Laravel Socialite
- ASP.NET Core Google external login issue
- I don't know how to change the language of my google sign in button
- Django Allauth Bad Request Error, Error Retrieving Access Token: Invalid Grant
- Getting Oauth2 token in Rust
- https://accounts.google.com/gsi/client missing 'Access-Control-Allow-Origin' header
- Using Google OAuth in .NET Core with AWS load balancer
Related Questions in RCLONE
- Can't upload custom header for large file to Backblaze
- How can I configure an rclone remote for a google drive using the app password for authentication rather than OAuth2
- rclone confusing my bucket name with folder name?
- Decrypting a rclone backup locally
- S3 as a drive using rclone
- How to call the variables from the config file in rclone copy command
- Setting up rclone bisync
- Hoving IBM-Cloud bucket from one instance to another (both on the same account or each on a distinct account )
- Node JS googleapis vs Rclone authentication
- Puppet idempotency with rclone sync
- Update onedrive token programmatically rclone.js config
- Crontab working for everything but rclone
- Run sh file as root in python file
- Github Action Writing Large TIFF file to AWS S3 with GDAL via RCLONE: file not created
- rclone config not listing shared drives for configuration
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?
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)




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).