Closed exurd closed 4 years ago
This can happen sometimes when using the Instagram private API. Just unlock your account and run the script again.
Just unlock your account and run the script again.
What do you mean by unlocking your account? Can't find that option anywhere on the site nor the app. If you meant unprivating my account, it still didn't work. Got the same error.
By "unlocking your account" I mean that: When the checkpoint_challenge error arises, your account is temporarily locked, and you can't use it. Click "This Was Me" and you will probably be presented with the option to unlock your account by receiving a code via email. Afterwards, you can try to use the script again. Also, make sure you run the script from the same network you use the app from (without VPNs etc that may make it look like you are logging in from another country).
Tried that and it still does the checkpoint_challenge error.
It seems that the cookie value can be passed as a parameter (cookie = 'xxxx'
) to the Client constructor.
https://github.com/ping/instagram_private_api/blob/master/instagram_private_api/client.py#L86
The validation checks cookie value so maybe it work with cookies? https://github.com/ping/instagram_private_api/blob/master/instagram_private_api/client.py#L205
It seems that the cookie value can be passed as a parameter (
cookie = 'xxxx'
) to the Client constructor. https://github.com/ping/instagram_private_api/blob/master/instagram_private_api/client.py#L86The validation checks cookie value so maybe it work with cookies? https://github.com/ping/instagram_private_api/blob/master/instagram_private_api/client.py#L205
Yes, it's possible to use a saved session cookie to login, and I've tried it in the past.
But how is the user going to obtain the cookie? Extract it from his browser? I wanted to keep the script as simple as possible.
Also, if the activity is flagged as bot activity, the account will be locked (checkpoint_required) regardless of the authentication method (cookie vs user/pass).
When I try to sign into my Instagram account, this error pops up:
And this pops up on the Instagram website:
Looks like a major problem and needs to be fixed quickly. Using Version 1.0.3.