Osintgram icon indicating copy to clipboard operation
Osintgram copied to clipboard

PROBLEM IN OSINTGRAM

Open caveruja opened this issue 2 years ago • 15 comments

I am unable to log in to Osintgram or search for targets. Every time the following error appears: Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/home/osint/.local/lib/python3.9/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.9/urllib/request.py", line 523, in open response = meth(req, response) File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response response = self.parent.error( File "/usr/lib/python3.9/urllib/request.py", line 561, in error return self._call_chain(*args) File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/usr/lib/python3.9/urllib/request.py", line 641, 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/osint/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home/osint/Osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/home/osint/Osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() File "/home/osint/Osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] File "/home/osint/.local/lib/python3.9/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/osint/.local/lib/python3.9/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"

How to resolve?

caveruja avatar Jun 01 '23 01:06 caveruja

The error you encountered is related to the Osintgram tool's integration with the Instagram Private API. It appears that the tool is unable to make a successful API call due to a 404 Not Found error.

To resolve this issue, you can try the following troubleshooting steps:

  1. Verify the target: Ensure that you have entered the correct target or username. Double-check for any typos or mistakes in the target information you provided.

  2. Check API compatibility: Osintgram relies on the Instagram Private API, which may experience occasional changes or updates. Make sure you are using a compatible version of the API that aligns with the Osintgram tool. You might need to update the tool or check for any available patches or fixes.

  3. Review authentication credentials: If you are using authentication cookies for the Instagram account, verify that they are valid and haven't expired. You may need to reacquire fresh cookies and update them in the tool.

  4. Investigate network connectivity: The error could also be caused by network issues or a temporary problem with the Instagram API. Ensure that you have a stable internet connection and try again later to see if the issue persists.

  5. Seek support or report the issue: If none of the above steps resolve the problem, consider reaching out to the Osintgram tool's developer or community for further assistance. They may be able to provide more specific guidance or offer a solution to the error you encountered.

Remember to exercise caution when using third-party tools like Osintgram and ensure that you comply with all applicable laws and regulations.

pradumonkumar avatar Jun 01 '23 04:06 pradumonkumar

I got this error too I think the problem is from the API

AnesC6 avatar Jun 05 '23 15:06 AnesC6

The error you encountered is related to the Osintgram tool's integration with the Instagram Private API. It appears that the tool is unable to make a successful API call due to a 404 Not Found error.

To resolve this issue, you can try the following troubleshooting steps:

1. Verify the target: Ensure that you have entered the correct target or username. Double-check for any typos or mistakes in the target information you provided.

2. Check API compatibility: Osintgram relies on the Instagram Private API, which may experience occasional changes or updates. Make sure you are using a compatible version of the API that aligns with the Osintgram tool. You might need to update the tool or check for any available patches or fixes.

3. Review authentication credentials: If you are using authentication cookies for the Instagram account, verify that they are valid and haven't expired. You may need to reacquire fresh cookies and update them in the tool.

4. Investigate network connectivity: The error could also be caused by network issues or a temporary problem with the Instagram API. Ensure that you have a stable internet connection and try again later to see if the issue persists.

5. Seek support or report the issue: If none of the above steps resolve the problem, consider reaching out to the Osintgram tool's developer or community for further assistance. They may be able to provide more specific guidance or offer a solution to the error you encountered.

Remember to exercise caution when using third-party tools like Osintgram and ensure that you comply with all applicable laws and regulations.

Straight out of ChatGPT.

BC100Dev avatar Sep 17 '23 00:09 BC100Dev

i think the problem in the tool it not working in all time

ali2154105 avatar Oct 29 '23 14:10 ali2154105

i think the problem in the tool it not working in all time

It's not the tool, it is the API of Instagram that the tool is using. And should I remind you that it is not the devs fault, but rather the backend Instagram APIs themselves?

Kids these days...

BC100Dev avatar Oct 29 '23 23:10 BC100Dev

The tool does not work, I also have the same problem

elias0878 avatar Nov 02 '23 17:11 elias0878

i think the problem in the tool it not working in all time

It's not the tool, it is the API of Instagram that the tool is using. And should I remind you that it is not the devs fault, but rather the backend Instagram APIs themselves?

Kids these days...Do you have this tool working? If it works, give us useful information or give us your silence

ali2154105 avatar Nov 02 '23 22:11 ali2154105

The tool does not work, I also have the same problem

Because it relies on the Backend APIs. Also, from one of the issues that I have seen, one single line might also fix the issue.

BC100Dev avatar Nov 05 '23 18:11 BC100Dev

i think the problem in the tool it not working in all time

It's not the tool, it is the API of Instagram that the tool is using. And should I remind you that it is not the devs fault, but rather the backend Instagram APIs themselves? Kids these days...Do you have this tool working? If it works, give us useful information or give us your silence

I am working on other projects, so I cannot respond to every single message. However, what I can say is that I am working on a remastered version of Osintgram, which can be found on my GitHub page. Yes, it is in Java, but I am looking on working on it, including enhancing the project. Not trying to take away the attention, but mainly trying to make a remastered version of it.

BC100Dev avatar Nov 05 '23 18:11 BC100Dev

Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/home/kali/.local/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/kali/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/home/kali/Osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/kali/.local/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

how can i fix this ?

AditSecureDev avatar Feb 11 '24 12:02 AditSecureDev

have anyone got the solution

jacky-svj avatar Aug 02 '24 06:08 jacky-svj