Osintgram
Osintgram copied to clipboard
Issue with getting followers/following
Please advise how to amend this issue:
Traceback (most recent call last):
File "/home/csi/.local/lib/python3.8/site-packages/instagram_private_api/client.py", line 523, in _call_api
response = self.opener.open(req, timeout=self.timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, 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 "main.py", line 186, in <module>
_cmd()
File "/home/csi/osintgram/src/Osintgram.py", line 389, in get_followings
data = self.api.user_following(str(self.target_id), rank_token=rank_token)
File "/home/csi/.local/lib/python3.8/site-packages/instagram_private_api/endpoints/friendships.py", line 40, in user_following
res = self._call_api(endpoint, query=query_params)
File "/home/csi/.local/lib/python3.8/site-packages/instagram_private_api/client.py", line 527, in _call_api
ErrorHandler.process(e, error_response)
File "/home/csi/.local/lib/python3.8/site-packages/instagram_private_api/errors.py", line 123, in process
raise error_info['error'](
instagram_private_api.errors.ClientCheckpointRequiredError: checkpoint_required
Alot of people are having this issue. Unfortunately nothing has been resolved yet.
I also have this problem, does anybody know what triggers it, because sometimes it works fine for me.