-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drive init generates link that returns Error 400: invalid_request #1146
Comments
meet the same problem,anyone can help? |
@yanyang1024 - I suggest that you transition to rclone. |
Same issue here. |
Same issue |
consider this repo looks like not being actively maintained, transition to alternative seems more viable for general user. |
Maybe its #1142 ??? |
i try install this and do "drive init" in command line and have this error: Access blocked: drive for Google Drive’s request is invalid ***@gmail.com |
I have the same issue. |
Same issue here |
same! |
sam here! |
The error details are: Error 400: invalid_requestThe out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method. |
/home/Project/drive/Final/drive-master/src/remote.go We have to chnage the RedirectURL = "http://127.0.0.1" Another file location is /home/Project/drive/Final/drive-master/src/init.go Whare we have to add the Value of
After adding Install the Go Lang and then go the drive folder and Make and create new Bin file and try to use |
executing
drive init
generates a url for https://accounts.google.com/o/oauth2/auth?.. that, when used, returns 400, invalid request. Further error message:You can’t sign in because drive for Google Drive sent an invalid request....third party app is using an unsupported OAuth method
.Using the alternative service account option (referencing the generated json credential) does work but the drive resources that can be accessed with the service account are not those of the user account for which the service account should act as a delegate, even though the service account is added to a project with google drive api enabled and has a Google Workspace Marketplace-compatible OAuth client associated with it.
Subject
in the generated credentials.json to the private user gmail account results in:Response: { "error": "unauthorized_client", "error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested." }
The text was updated successfully, but these errors were encountered: