Code error after running instagrapi for some hours #1306
svkbogislav
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
-
i have very low interaction parameters set, and i keep getting session blocked, this is one of the errors im getting, im using instagrapi for organic growth of an account
Do anyone know whats happening?
Some error occurred in execution
ChallengeResolve: Unknown step_name "scraping_warning" for "drinkingpartnerscl" in challenge resolver: {'step_name': 'scraping_warning', 'flow_render_type': 3, 'bloks_action': 'com.instagram.challenge.navigation.take_challenge', 'cni': 18284240077140307, 'challenge_context': '{"step_name": "scraping_warning", "cni": 18284240077140307, "is_stateless": false, "challenge_type_enum": "SCRAPING_WARNING", "present_as_modal": false}', 'challenge_type_enum_str': 'SCRAPING_WARNING', 'status': 'ok'}
[getHashtag] REFREEEEEEEEEEEEEEEEEEEEEESH
Getting 29 medias for tag Chile
Traceback (most recent call last):
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\private.py", line 313, in _send_private_request
response.raise_for_status()
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 943, 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/tags/Chile/sections/?max_id=b5a64660f3fd4abaaec206af97224de4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\private.py", line 446, in private_request
self._send_private_request(endpoint, **kwargs)
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\private.py", line 344, 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 "G:\Mi unidad\Business\Bot instagram\instagrapi human def\instagrapi-human-simulation\instabot.py", line 183, in
getFromHashtag(conf);
File "G:\Mi unidad\Business\Bot instagram\instagrapi human def\instagrapi-human-simulation\classes\getfromhashtag.py", line 134, in getFromHashtag
getFromHashtag(conf, cursor)
File "G:\Mi unidad\Business\Bot instagram\instagrapi human def\instagrapi-human-simulation\classes\getfromhashtag.py", line 28, in getFromHashtag
medias, cursor = cl.hashtag_medias_v1_chunk(tag, max_amount=r1, tab_key='recent', max_id=cursor)
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\hashtag.py", line 264, in hashtag_medias_v1_chunk
result = self.private_request(
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\private.py", line 459, in private_request
self.challenge_resolve(self.last_json)
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\challenge.py", line 80, in challenge_resolve
return self.challenge_resolve_simple(challenge_url)
File "C:\Users\Svk_bogislav\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instagrapi\mixins\challenge.py", line 439, in challenge_resolve_simple
raise ChallengeUnknownStep(
instagrapi.exceptions.ChallengeUnknownStep: ChallengeResolve: Unknown step_name "scraping_warning" for "drinkingpartnerscl" in challenge resolver: {'step_name': 'scraping_warning', 'flow_render_type': 3, 'bloks_action': 'com.instagram.challenge.navigation.take_challenge', 'cni': 18284240077140307, 'challenge_context': '{"step_name": "scraping_warning", "cni": 18284240077140307, "is_stateless": false, "challenge_type_enum": "SCRAPING_WARNING", "present_as_modal": false}', 'challenge_type_enum_str': 'SCRAPING_WARNING', 'status': 'ok'}
Beta Was this translation helpful? Give feedback.
All reactions