Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.77k stars 2.16k forks source link

I have this "click on this link to complete challenge" issue #1103

Open LegendNava opened 4 months ago

LegendNava commented 4 months ago

Attempt to login... ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/AXG_1OwQ0D7hIgkTo3uc0LpHsvFAcageV76R0RShP0exDYvrSFx6IGdjK8Ujf6SEbLxGjy8/Afw9wlDdUiKdu4ERDMrc2il4SqsalAw0mm9TqU7RFRohHh_BB0waDAdV_IagI7VnR0vF9YzwXaZAOg/", "api_path": "/challenge/AXG_1OwQ0D7hIgkTo3uc0LpHsvFAcageV76R0RShP0exDYvrSFx6IGdjK8Ujf6SEbLxGjy8/Afw9wlDdUiKdu4ERDMrc2il4SqsalAw0mm9TqU7RFRohHh_BB0waDAdV_IagI7VnR0vF9YzwXaZAOg/", "hide_webview_header": true, "lock": true, "logout": false, "native_flow": true, "flow_render_type": 0}, "status": "fail", "error_type": "checkpoint_challenge_required"})challenge_required: checkpoint_challenge_required
Please follow this link to complete the challenge: https://i.instagram.com/challenge/AXG_1OwQ0D7hIgkTo3uc0LpHsvFAcageV76R0RShP0exDYvrSFx6IGdjK8Ujf6SEbLxGjy8/Afw9wlDdUiKdu4ERDMrc2il4SqsalAw0mm9TqU7RFRohHh_BB0waDAdV_IagI7VnR0vF9YzwXaZAOg/

This is the error that cam up when i attempted to login. When i went to complete this challenge, it never fixed anything on this side even after i had confirmed it. How do i log in?

Meet-cyber816 commented 4 months ago

same error occured have you successfully found a solution or not?

Cosmic71 commented 4 months ago

im getting "challenge_required" errors when trying to run fwersemail - it runs for a while but then throws exception

if its an account with small enough following (around 75 followers) I'm able to get to the part where it asks if I want to get all emails (otherwise i don't even get here) - but then after saying "n" and selecting only 20 emails to get it throws the below... looks the same as the error I get when going for accounts with bigger followings:

I then need to go to IG under that account and verify im not a robot then i can go back and log in through osintgram

in _call_api
    response = self.opener.open(req, timeout=self.timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kaliuser1/mytoolz/Osintgram/main.py", line 186, in <module>
    _cmd()
  File "/home/kaliuser1/mytoolz/Osintgram/src/Osintgram.py", line 1239, in get_fwersemail
    user = self.api.user_info(str(follow['id']))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kaliuser1/mytoolz/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/endpoints/users.py", line 17, in user_info
    res = self._call_api('users/{user_id!s}/info/'.format(**{'user_id': user_id}))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kaliuser1/mytoolz/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 527, in _call_api
    ErrorHandler.process(e, error_response)
  File "/home/kaliuser1/mytoolz/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/errors.py", line 123, in process
    raise error_info['error'](
instagram_private_api.errors.ClientChallengeRequiredError: challenge_required