Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UKNOWN response: challenge_resolve, challenge_resolve_simple, handle_challenge_result #1918

Open
andrey-germanov opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@andrey-germanov
Copy link

andrey-germanov commented May 9, 2024

I'm trying to get through checkpoints on my accounts and I don't understand why they're not successful.
From the code you can see that I'm trying to pass a checkpoint.

if 'challenge_required' in str(global_error):
            print(username,' line 125: ', global_error, client.challenge_resolve(client.last_json))
            print(username,' line 126: ', global_error, client.challenge_resolve_simple('https://i.instagram.com/challenge/'))
            print(username,' line 127: ', global_error, client.handle_challenge_result(client.last_json))

and I receive such a response, but the checkpoint will not pass.

username  line 125:  challenge_required True
username  line 127:  challenge_required {'url': 'https://i.instagram.com/challenge/', 'api_path': '/challenge/', 'hide_webview_header': True, 'lock': True, 'logout': False, 'native_flow': True, 'flow_render_type': 4}

Please advice me something

residential proxy
python3.11 / I tried on 3.10 is it working
latest version instagapi ( today is fetched )
mac os m1

@adw0rd вижу по ишьюс что ты часто отвечаешь, хоть и не быстро. буду очень благодарен твоему совету.

@andrey-germanov andrey-germanov added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant