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.48k stars 2.07k forks source link

PROBLEM IN OSINTGRAM #813

Open caveruja opened 1 year ago

caveruja commented 1 year ago

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?

pradumon14 commented 1 year ago

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.

AnesC6 commented 1 year ago

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

BeChris100 commented 12 months ago

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.

ali2154105 commented 10 months ago

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

BeChris100 commented 10 months ago

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...

elias0878 commented 10 months ago

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

ali2154105 commented 10 months ago

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

BeChris100 commented 10 months ago

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.

BeChris100 commented 10 months ago

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.

AditSecureDev commented 7 months ago

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 ?

jacky-svj commented 1 month ago

have anyone got the solution

Zenith040 commented 4 weeks ago

how should i link Api

bilalmughal17 commented 1 week ago

same issue it is because my acc gets logout with a message of suspicious activity on your account