Instagram-private-api: Cant login with updated instagram private api

Created on 14 May 2019  路  3Comments  路  Source: dilame/instagram-private-api

Now I cant login, every time I get an error
IgCheckpointError: POST /api/v1/accounts/login/ - 400 Bad Request; challenge_required
But what I really need to do? With every tries Instagram send me message with question does it really I am? I confirm that, but already have error in terminal. How I can resolve this? How I must use session? Old version of API worked perfect, but now am stuck

Most helpful comment

All 3 comments

You need to init the challenge, then solve it according to its type.
Look for client.challenge.state() and further depending on challenge type

@ricky155030 @lomegg @Nerixyz Could you explain why and under what circumstances this challenge occurs? I experience this whenever I attempt to sign in using this package but never when signing in manually via browser.

Additionally, is there a way to configure the IgAPIClient such that the challenge doesn't occur?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prichey picture prichey  路  10Comments

ozican picture ozican  路  143Comments

endquote picture endquote  路  12Comments

haliliceylan picture haliliceylan  路  29Comments

iMrDJAi picture iMrDJAi  路  34Comments