Bug Changes in New Instagram Challenge #1337
blackaquaindia
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\private.py", line 342, in _send_private_request
response.raise_for_status()
File "C:\Program Files\Python311\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://i.instagram.com/api/v1/accounts/login/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\private.py", line 477, in private_request
self._send_private_request(endpoint, **kwargs)
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\private.py", line 373, in _send_private_request
raise ChallengeRequired(**last_json)
instagrapi.exceptions.ChallengeRequired: challenge_required
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\auth.py", line 403, in login
logged = self.private_request("accounts/login/", data, login=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\private.py", line 490, in private_request
self.challenge_resolve(self.last_json)
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\challenge.py", line 80, in challenge_resolve
return self.challenge_resolve_simple(challenge_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\instagrapi\mixins\challenge.py", line 509, in challenge_resolve_simple
raise ChallengeUnknownStep(
instagrapi.exceptions.ChallengeUnknownStep: ChallengeResolve: Unknown step_name "verify_email_code" for "wtf._.reshav" in challenge resolver: {'step_name': 'verify_email_code', 'step_data': {'security_code': 'None', 'resend_delay': 60, 'contact_point': 'h*******[email protected]', 'form_type': 'email', 'hide_back_to_login': True, 'choice': 1}, 'flow_render_type': 3, 'bloks_action': 'com.instagram.challenge.navigation.take_challenge', 'nonce_code': 'Afx7qsip0AvvT7vSNv_Whxfjq7x8nxISIMqteG-79zISbvNQbDBTGhKnPY9d_yIgC0ql5yrSRQX4XQ', 'user_id': 4312654371, 'cni': 18281554555142372, 'challenge_context': '{"step_name": "verify_email_code", "nonce_code": "Afx7qsip0AvvT7vSNv_Whxfjq7x8nxISIMqteG-79zISbvNQbDBTGhKnPY9d_yIgC0ql5yrSRQX4XQ", "user_id": 4312654371, "cni": 18281554555142372, "first_factor_code": "GCOKEUJ4LLqQwIWpH0t89udicB7AnS5hlE1hhmxSv9Tjqbn21TfM2pY95TNHmIL7", "is_stateless": false, "challenge_type_enum": "HACKED_LOCK", "present_as_modal": false}', 'challenge_type_enum_str': 'HACKED_LOCK', 'status': 'ok'}
Beta Was this translation helpful? Give feedback.
All reactions