mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.79k stars 966 forks source link

Getting [twitter][error] AuthenticationError: "flow name LoginFlow is currently not accessible" #6029

Closed jellypuppy closed 3 weeks ago

jellypuppy commented 2 months ago

Hello I'm getting this error with one twitter account [twitter][error] AuthenticationError: "flow name LoginFlow is currently not accessible" and another I am getting 401 can anyone help thank you

mikf commented 2 months ago

Same error as https://github.com/mikf/gallery-dl/issues/5262#issuecomment-2272548213 What --version are you using?

gemini0x2 commented 2 months ago

can this issue be related to #6040 ?

jellypuppy commented 2 months ago

Same error as #5262 (comment) What --version are you using?

i tried to update using command line but then it says i still have 1.26.4

mikf commented 2 months ago

Sounds like you have multiple gallery-dl versions on your computer.

Run

where gallery-dl

in cmd.exe to find them.

facevisi18 commented 2 months ago

I currently have 3 accounts where they'll be blocked by [twitter][error] AuthenticationError: "flow name LoginFlow is currently not accessible", and one account that somehow is able to login and download the images

gemini0x2 commented 2 months ago

interesting... I'm using the latest version with only use one account and I haven't gotten this error, yet. But it might be a good idea to create a backup account in case it gets blocked. @facevisi18 when accounts get blocked is it temporarily or permanent?

facevisi18 commented 2 months ago

I only got blocked for 5 days so far (I've been using gallery-dl to scrape off my main account's bookmark media for over a year), but I'm thinking it might be a permanent thing that won't go away.

From my experience, it might be something with my account starting to get labeled as suspicious. Five days ago my main account got locked by twitter (for the 4th time in 2024), and when I unlocked it and re-login with Username + Password, it labeled me as suspicious activity so it required me to also verify my email or phone (I only have email anyway). This happened to my two other alt accounts as well, and only one left that didn't require extra verifying step.

ericsia commented 2 months ago

after my account got suspended, I edit the config.json to use my new account, gallery-dl show me [twitter][error] AuthenticationError: "flow name LoginFlow is currently not accessible as well

gemini0x2 commented 2 months ago

Maybe the reason users are getting "LoginFlow is currently not accessible" error is because their ip has been banned?

ericsia commented 2 months ago

Maybe the reason users are getting "LoginFlow is currently not accessible" error is because their ip has been banned?

I believe that isn't the reason since i'm logged in to web twitter

facevisi18 commented 2 months ago

It doesn't seem like IP ban. All of my accounts are still able to login from browser, but specifically gallery-dl from the same computer/connection are shown with LoginFlow not accessible

ericsia commented 2 months ago

I am wondering could it be gallery-dl store old cache or cookie or guest token which somehow cause new account can't login

JamieBunpup commented 3 weeks ago

Having the same issue as well, logged into web but get this error

KirbyFan102 commented 3 weeks ago

Try updating gallery-dl, it worked for me and it might work for some of you

mikf commented 3 weeks ago
$ gallery-dl --version
1.26.9

$ gallery-dl x.com/potus -u foobar
[twitter][info] Logging in as foobar
Password: 
[twitter][error] AuthenticationError: "flow name LoginFlow is currently not accessible"
$ gallery-dl --version
1.27.5

$ gallery-dl x.com/potus -u foobar
[twitter][info] Logging in as foobar
Password:
2FA Token: 123456
./twitter/POTUS/1843263064734630211_1.jpg
./twitter/POTUS/1843263064734630211_2.jpg
./twitter/POTUS/1843018397459591607_1.jpg
...