Osintgram icon indicating copy to clipboard operation
Osintgram copied to clipboard

error

Open ethanhunt009 opened this issue 11 months ago • 8 comments

I got this issue after following usermanuals

Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/home/tron/base/OSINT/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 523, 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 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/tron/base/OSINT/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tron/base/OSINT/Osintgram/src/Osintgram.py", line 47, in init self.setTarget(target) File "/home/tron/base/OSINT/Osintgram/src/Osintgram.py", line 60, in setTarget self.following = self.check_following() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/tron/base/OSINT/Osintgram/src/Osintgram.py", line 1160, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tron/base/OSINT/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/tron/base/OSINT/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/errors.py", line 135, in process raise ClientError(error_msg, http_error.code, error_response) instagram_private_api.errors.ClientError: Not Found

ethanhunt009 avatar Mar 21 '24 14:03 ethanhunt009

ive got this same issue, any fixes?

jebisee avatar Mar 24 '24 18:03 jebisee

Same issue

PratikKumar125 avatar Mar 25 '24 07:03 PratikKumar125

The below comment might sort your issues. https://github.com/Datalux/Osintgram/issues/1026#issuecomment-2004453476

Designerpro13 avatar Mar 25 '24 07:03 Designerpro13

ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/AXE0AhjYgRvOl_nB5uoahZu617wcrHicdhbYBB1cRH28AzorXz0uQt8GUTqBAfXL1n3PX8/AfzQwTF5_4yqpOT7Cj_t7W7nT7hXKkYo01KP8SATUfA0elF_7lxXa_13o6kKypo_LL5YA997mVndSg/", "api_path": "/challenge/AXE0AhjYgRvOl_nB5uoadhZu617wcrHicdhbYBB1cRH28AzorXz0uQt8GUTqBAfXL1n3PX8/AfzQwTF5_4yqpOT7Cj_t7W7nT7hXKkYo01KP8SATUfA0elF_7lxXa_13o6kKypo_LL5YA997mVndSg/", "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

i also got this problem at the login stage

nicehaifirtoh avatar Mar 26 '24 10:03 nicehaifirtoh

This mostly occurs when the server has found your account doing suspicious activity, thus temporary blocks access or imposes re-captcha which is out of the scope of the code. Try creating another dummy account and test, hope that sorts out the problem.

Designerpro13 avatar Mar 26 '24 15:03 Designerpro13

This mostly occurs when the server has found your account doing suspicious activity, thus temporary blocks access or imposes re-captcha which is out of the scope of the code. Try creating another dummy account and test, hope that sorts out the problem.

i just found the solution we have to install the docker than it automatically runs

nicehaifirtoh avatar Mar 26 '24 15:03 nicehaifirtoh

This mostly occurs when the server has found your account doing suspicious activity, thus temporary blocks access or imposes re-captcha which is out of the scope of the code. Try creating another dummy account and test, hope that sorts out the problem.

i just found the solution we have to install the docker than it automatically runs

It still says same error do you have any solutions?

CookieL0gger avatar Apr 23 '24 13:04 CookieL0gger

I got this issue after following usermanuals

Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/home/tron/base/OSINT/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 523, 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 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/tron/base/OSINT/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tron/base/OSINT/Osintgram/src/Osintgram.py", line 47, in init self.setTarget(target) File "/home/tron/base/OSINT/Osintgram/src/Osintgram.py", line 60, in setTarget self.following = self.check_following() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/tron/base/OSINT/Osintgram/src/Osintgram.py", line 1160, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tron/base/OSINT/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/tron/base/OSINT/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/errors.py", line 135, in process raise ClientError(error_msg, http_error.code, error_response) instagram_private_api.errors.ClientError: Not Found

1 . Navigate to the source directory: Go to the directory named "src" in your file system.

2 . Open the Osintgram.py file for editing: Use a text editor to open the file named "Osintgram.py" within the "src" directory.

3 . Find the specific function: Look for the line that contains self.following = self.check_following() within the file.

4 . Comment out the function: Once you find the line, add a # symbol at the beginning of the line to comment it out: -- > #self.following = self.check_following()

5 . Save your changes: Save the file after making the modification.

6 . You're all set! Your changes have been applied to the Osintgram.py file.

maazm7d avatar Jun 01 '24 10:06 maazm7d