Skip to content

whenever using fwersemail it takes some time then quits with this. #2550

Open
@enuxysuse

Description

@enuxysuse

raceback (most recent call last):
File "/Users/(redacted)/Osintgram/venv/lib/python3.13/site-packages/instagram_private_api/client.py", line 523, in _call_api
response = self.opener.open(req, timeout=self.timeout)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 495, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 604, in http_response
response = self.parent.error(
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 533, in error
return self._call_chain(*args)
~~~~~~~~~~~~~~~~^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 613, 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 "/Users/(redacted)/Osintgram/main.py", line 186, in
_cmd()
~~~~^^
File "/Users/(redacted)/Osintgram/src/Osintgram.py", line 1239, in get_fwersemail
user = self.api.user_info(str(follow['id']))
File "/Users/(redacted)/Osintgram/venv/lib/python3.13/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 "/Users/(redacted)/Osintgram/venv/lib/python3.13/site-packages/instagram_private_api/client.py", line 527, in _call_api
ErrorHandler.process(e, error_response)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/Users/(redacted)/Osintgram/venv/lib/python3.13/site-packages/instagram_private_api/errors.py", line 123, in process
raise error_info['error'](
...<2 lines>...
)
instagram_private_api.errors.ClientChallengeRequiredError: challenge_required

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions