Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Error 400 - Invalid_Request #650

Open
MrAshRhodes opened this issue Oct 10, 2022 · 17 comments
Open

Error 400 - Invalid_Request #650

MrAshRhodes opened this issue Oct 10, 2022 · 17 comments

Comments

@MrAshRhodes
Copy link

Each time i try to auth i get the following, the below is from the more details.

The 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.
Request details: access_type=offline response_type=code redirect_uri=urn:ietf:wg:oauth:2.0:oob state=state client_id=367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com scope=https://www.googleapis.com/auth/drive
@xyo-toy
Copy link

xyo-toy commented Oct 12, 2022

Did you retry ? Had the same error and worked on the second try for me.

@valoriblaise
Copy link

valoriblaise commented Oct 12, 2022

I am getting the same error and I did at least 10 attempts.

@valoriblaise
Copy link

Today it worked on the first attemp.

@MrAshRhodes
Copy link
Author

Its been hit and miss... its not really consistent other than it works less than it does.
When it does work... great application

@frasercrossman
Copy link

The proper way to do this now seems to be to start up a local webserver and have the redirect_uri set to localhost to return the auth code directly to the app rather than requiring it to be copy-pasted, otherwise known as loopback.

@felixschndr
Copy link

Its been hit and miss... its not really consistent other than it works less than it does.

Same here. When I tried to run it on my Raspberry Pi 4 it complained, running the same thing on my Windows PC worked. Afterwards I just copied the token to the Raspberry 👍🏻

No problems with this so far

@uche-exe
Copy link

@frasercrossman Could you be a little more elaborate on how that should be done? A proper walk-through would be much appreciated

@rtr-dnd
Copy link

rtr-dnd commented Nov 24, 2022

I can't sign in with gdrive about, not even a single success.
It's been there since when I started using this library a week ago.
I've tried several Windows PCs I have but no luck.

@G3zz
Copy link

G3zz commented Nov 25, 2022

Same problem here

@grangep
Copy link

grangep commented Nov 29, 2022

Same for me too.

@hradec
Copy link

hradec commented Nov 30, 2022

same here:
image
Related developer documentation

@slaff
Copy link

slaff commented Dec 1, 2022

Same here :(

The 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.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob

@felixschndr
Copy link

Should be fixed by #660 (at least until Jan 31 2023)

@BugCode1
Copy link

BugCode1 commented Dec 19, 2022

i find a way for fix this and get a build, this work for now: #665

https://github.com/BugCode1/gdrive/releases/tag/2.1.2

@yuenherny
Copy link

@BugCode1 Everything works until I clicked on Trust button:

This site can’t be reached
The webpage at http://localhost:1/?state=state&code=4/0AWgavdfD4na4xHuPi7C-DRfURsZnLdk2MOUdUbyZFK-L4VlL1u8cXBbVO1ibNU9qvePbNw&scope=https://www.googleapis.com/auth/drive might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT

I am using gdrive on AWS EC2 Ubuntu 20.04 instance.

@mlauronen
Copy link

mlauronen commented Jan 25, 2023

@BugCode1 Instructions doesn't work for me. I am getting "Unable to connect. Firefox can’t establish a connection to the server at localhost:1." So there is no server listening in the port 1.

@Spit-fires
Copy link

@BugCode1 The webpage at http://localhost:1/?state=state&code=4/0AWtgzh7vF22HJKAQjThFqo8_WO4kTnuW5h5aV_OtO5SZL0RQtAsQJFMDPSgcFbqAWrqi3g&scope=https://www.googleapis.com/auth/drive might be temporarily down or it may have moved permanently to a new web address.

ERR_UNSAFE_PORT

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests