Describe the bug
I am not recieving the OTP when logging in [I've Two-Factor Authentication Enabled & Login requests turned off].
To Reproduce
Steps to reproduce the behavior:
- run
instagram-cli auth login --username
- entring the
username & password
Enter code received via SMS. If you do not receive a code, go to Instagram Settings → Accounts Center → Password and security → Two-factor authentication → Additional methods, and turn off "Login requests". This can prevent the SMS code from being sent. Enter verification code:
- The issue is I am not recieving any verification code
Expected behavior
I should have recieved the code from Whatsapp or SMS.
System Information:
- OS: [Windows11]
- Terminal: [Command Prompt]
- Instagram CLI Version: [e.g. ts-v1.0.0 or v1.4.2]
- Client: [TypeScript(npm)]
Additional context
Initially without the 2FA enabled I was reciving the following:

Describe the bug
I am not recieving the OTP when logging in [I've Two-Factor Authentication Enabled & Login requests turned off].
To Reproduce
Steps to reproduce the behavior:
instagram-cli auth login --usernameusername&passwordEnter code received via SMS. If you do not receive a code, go to Instagram Settings → Accounts Center → Password and security → Two-factor authentication → Additional methods, and turn off "Login requests". This can prevent the SMS code from being sent. Enter verification code:Expected behavior
I should have recieved the code from Whatsapp or SMS.
System Information:
Additional context
Initially without the 2FA enabled I was reciving the following: