instagram-private-api icon indicating copy to clipboard operation
instagram-private-api copied to clipboard

Challenge Required

Open WilliamFalci opened this issue 3 years ago • 8 comments

Node Version: v16.15.1 OS: Linux Ubuntu

async function login() {
  ig.state.generateDevice(process.env.IG_USERNAME);
  await ig.account.login(process.env.IG_USERNAME, process.env.IG_PASSWORD);
}

Error: IgCheckpointError: POST /api/v1/accounts/login/ - 400 Bad Request; challenge_required

Before opent this issue I checked the previous, if I login from the app and I press "I was" instagram force me to set a new password, then I replace the password into my .env and I get always the same situation of before... Im in stuck on this

WilliamFalci avatar Oct 26 '22 21:10 WilliamFalci

I have the same issue with this example https://github.com/dilame/instagram-private-api/blob/master/examples/checkpoint.example.ts

127 avatar Nov 03 '22 09:11 127

The same happened to me after multiple logins, Instagram actually locked my account for 'suspicious activites/logins' but I got it back but had to change my password.

sassvagyok avatar Nov 10 '22 22:11 sassvagyok

The same problem, when logging into instagram asks to change the password and it repeats every time.

webparadoxer avatar Jan 05 '23 06:01 webparadoxer

Any updates?

webparadoxer avatar Jan 08 '23 07:01 webparadoxer

The same happened to me after multiple logins, Instagram actually locked my account for 'suspicious activites/logins' but I got it back but had to change my password.

how did you solve this @sassvagyok ???

wizzymotion avatar Feb 23 '23 22:02 wizzymotion

Node Version: v16.15.1 OS: Linux Ubuntu

async function login() {
  ig.state.generateDevice(process.env.IG_USERNAME);
  await ig.account.login(process.env.IG_USERNAME, process.env.IG_PASSWORD);
}

Error: IgCheckpointError: POST /api/v1/accounts/login/ - 400 Bad Request; challenge_required

Before opent this issue I checked the previous, if I login from the app and I press "I was" instagram force me to set a new password, then I replace the password into my .env and I get always the same situation of before... Im in stuck on this

Did you get a solution for this @WilliamFalci ??

wizzymotion avatar Feb 23 '23 22:02 wizzymotion

@wizzymotion nope, and I abbandoned the idea, instagram require everytime to change password after the error

WilliamFalci avatar May 08 '23 18:05 WilliamFalci

historical issue talking about this #1637 (cf. this comment))

boly38 avatar Oct 25 '23 11:10 boly38