[blocking] 400 bad request from 2FA SMS verification
Become a 10x Instagrammer and Escape Brainrot with Instagram CLI
Brought to you by:
jetc
Originally created by: vladutt
Originally owned by: endernoke
Describe the bug
I'm trying to login, but receive a 400 status from instagram API.
To Reproduce
Steps to reproduce the behavior:
Just login with 2FA
Expected behavior
"login successfully"
Screenshots
Desktop (please complete the following information):
Additional context
If you need something else, let me know :)
Originally posted by: endernoke
@vladutt Thanks for the bug report, this is a known issue with 2FA login (see https://github.com/supreme-gg-gg/instagram-cli/issues/167#issuecomment-3489209108). We're trying to fix it.
For now, perhaps try using another account, or use the python client (which should handle 2FA fine).
We will ping you once we've solved this for typescript
Originally posted by: endernoke
@vladutt are you using SMS or TOTP app for 2FA?
I can reproduce this issue with SMS verification. Seems like the API flow is outdated.
From testing I think TOTP app works.
Originally posted by: vladutt
I'm using TOTP for 2FA. Yeap, now it's working.
Thanks, mate.
Originally posted by: endernoke
Interesting... we didn't touch any related code lol
Glad that it works :)