question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IgResponseError: POST /api/v1/accounts/login/ - 400 Bad Request

See original GitHub issue

Right after login it IG returns the following response:

{ message: '', two_factor_required: true, two_factor_info: { username: 'lyxsus', sms_two_factor_on: true, totp_two_factor_on: false, obfuscated_phone_number: '3469', two_factor_identifier: 'WrLhM8Bsqb', show_messenger_code_option: false, show_new_login_screen: true, show_trusted_device_option: false, phone_verification_settings: { max_sms_count: 2, resend_sms_delay_sec: 60, robocall_count_down_time_sec: 30, robocall_after_max_sms: true } }, phone_verification_settings: { max_sms_count: 2, resend_sms_delay_sec: 60, robocall_count_down_time_sec: 30, robocall_after_max_sms: true }, status: 'fail' }

And I get SMS code notification right after that. Happens on multiple accounts, multiple proxies, VPN and nots. It works only when I get a code via email.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:20 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
iSeanWeiDevcommented, Oct 21, 2019

Still not working for me, You should check again for me. Several times(more than 30 times using 3 account) I had been tried to implement the features but not available, In fact, I did something about Direct message and commenting using this API in 4 dyas ago.

Actually I am very familiar with 0.10.6 before building the api using typescript. At that time, I had seen this kinds of issues on Instagram, but that was worked if I click the button “It was me”.

3reactions
Nerixyzcommented, Jul 12, 2019

I’m working on a pr, where you can just set trustThisDevice to true

Read more comments on GitHub >

github_iconTop Results From Across the Web

POST /api/v1/accounts/login/ - 400 Bad Request - Bountysource
IgResponseError : POST /api/v1/accounts/login/ - 400 Bad Request. ... Right after login it IG returns the following response: { message: '',
Read more >
Instagram Api Subscription Returns 400 Bad Request - ADocLib
The 400 Bad Request status code indicates that the server cannot or will not process the request due to something that is perceived...
Read more >
I'm getting the error "The username you entered doesn't ...
... IgResponseError: POST /api/v1/accounts/login/ - 400 Bad Request; The username you entered doesn't appear to belong to an account.
Read more >
How to Fix a 400 Bad Request Error (Causes and Fixes) - Kinsta
The 400 Bad Request error indicates that the server cannot or process the request due to a client error. Read about the common...
Read more >
400 Bad Request - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found