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.52k stars 2.09k forks source link

I got to face an API error anybody please Help Me? #724

Open Irfan-Khan-I opened 1 year ago

Irfan-Khan-I commented 1 year ago

Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/home/revenx/myset/osintgram/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 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home/revenx/myset/Osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/home/revenx/myset/Osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() File "/home/revenx/myset/Osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] File "/home/revenx/myset/osintgram/lib/python3.8/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/revenx/myset/osintgram/lib/python3.8/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

elkenaattt commented 1 year ago

any solution? please I don't know why this happens

Wesflex commented 1 year ago

Hello people, I have this same problem, have you not solved it yet? I need this tool urgently!!! greetings from Chile

Advancewizard commented 1 year ago

im having the same issue, im not a professional at linux or coding or this kind of stuff so whenever i have an issue i would just ask chatgpt and its telling me the issue could because the api has been changed. the exact message is:

"The error message suggests that the API is not able to find the requested resource. This could be due to a variety of reasons, such as the resource being deleted or moved, or an issue with the API endpoint itself.

You may want to double-check that the endpoint you are using is correct and that the resource you are trying to access is still available. If you continue to encounter this error, you may want to check the API documentation or contact the API provider for further assistance."

would like to know if there is a fix soon. thanks!

thefantomashacker commented 1 year ago

I have the error ClientCookieExpiredError/ClientLoginRequiredError: Cookie expired at 1628592384

nitinbankar44 commented 1 year ago

Is there any update on this issue ?