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

Error parsing error response: Expecting value: line 1 column 1 (char 0) / instagram_private_api.errors.ClientError: Not Found #1109

Open PrincepsVIIII opened 2 months ago

PrincepsVIIII commented 2 months ago

(venv) PS C:\Users(removed)\Osintgram> python3 main.py (removed) Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "C:\Users(removed)\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\instagram_private_api\client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64qbz5n2kfra8p0\Lib\urllib\request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64qbz5n2kfra8p0\Lib\urllib\request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64qbz5n2kfra8p0\Lib\urllib\request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64qbz5n2kfra8p0\Lib\urllib\request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 639, 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 "C:\Users(removed)\Osintgram\main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users(removed)\Osintgram\src\Osintgram.py", line 47, in init self.setTarget(target) File "C:\Users(removed)\Osintgram\src\Osintgram.py", line 60, in setTarget self.following = self.check_following() ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users(removed)\Osintgram\src\Osintgram.py", line 1160, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users(removed)\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\instagram_private_api\client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "C:\Users(removed)\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\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

any idea how to fix this error? ive already installed all the modules and fixed the callables error. I did originally notice an issue in my login credentials but after it was fixed the message has not changed.

MuhammadNurIlham commented 2 months ago

comment this line

self.following = self.check_following()

save file and then run again

PrincepsVIIII commented 2 months ago

Just noticed that from another post, thank you. If it says "{username} does non exist, please enter a valid username" can I assume the tool just scape the info even if my account is following that username?

MuhammadNurIlham commented 2 months ago

yes, of course you can, but please double check the credentials of your fake account in credentials.ini, to make sure that the fake account is registered in the official application and is logged in, then after that try to run the programme again by entering a valid target.username based on the existing documentation.

PrincepsVIIII commented 2 months ago

Okay, thank you.

codealpha9 commented 2 months ago

did fixed that username not exist problem ? because its saying same for all accounts and i have even checked the credentials.ini its also correct

DD-square commented 1 month ago

the username not exist problem still persists, how to fix it?

PrincepsVIIII commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

DD-square commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct! wdym by config file? u meant credentials.ini ??? (if yes then its all correct)

PrincepsVIIII commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct!

The only advice I can give you then is check the directory the files saved in and the format. That’s not an everyone has had like with some of the others so I don’t know the exact steps to fix it.

DD-square commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct!

The only advice I can give you then is check the directory the files saved in and the format. That’s not an everyone has had like with some of the others so I don’t know the exact steps to fix it.

Did commenting the self.following = self.check_following() line helped you? u didn't get that username not exists error?

PrincepsVIIII commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct!

The only advice I can give you then is check the directory the files saved in and the format. That’s not an everyone has had like with some of the others so I don’t know the exact steps to fix it.

Did commenting the self.following = self.check_following() line helped you? u didn't get that username not exists error?

Ah, sorry it’s been a while since I did it. I do believe there was something like that. You comment that line, edit another to add abc or smth in the cmd name and then I think maybe one other step before you fix all the error messages.

DD-square commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct!

The only advice I can give you then is check the directory the files saved in and the format. That’s not an everyone has had like with some of the others so I don’t know the exact steps to fix it.

Did commenting the self.following = self.check_following() line helped you? u didn't get that username not exists error?

Ah, sorry it’s been a while since I did it. I do believe there was something like that. You comment that line, edit another to add abc or smth in the cmd name and then I think maybe one other step before you fix all the error messages.

Brother i want to reach out to you personally, can i? please it is a humble request... i need help... my instagram id is : _chas.hmish_ my discord id is : CAPTAN220708#3229

PrincepsVIIII commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct!

The only advice I can give you then is check the directory the files saved in and the format. That’s not an everyone has had like with some of the others so I don’t know the exact steps to fix it.

Did commenting the self.following = self.check_following() line helped you? u didn't get that username not exists error?

Ah, sorry it’s been a while since I did it. I do believe there was something like that. You comment that line, edit another to add abc or smth in the cmd name and then I think maybe one other step before you fix all the error messages.

Brother i want to reach out to you personally, can i? please it is a humble request... i need help... my instagram id is : _chas.hmish_ my discord id is : CAPTAN220708#3229

Unfortunately I’m on a camping trip atm, and don’t really have the time to help you with anything more than some steps I may have already figured out.

DD-square commented 1 month ago

the username not exist problem still persists, how to fix it?

Did you put a username and password in the config file?

Yes Brother i have even checked the acc details... its all correct!

The only advice I can give you then is check the directory the files saved in and the format. That’s not an everyone has had like with some of the others so I don’t know the exact steps to fix it.

Did commenting the self.following = self.check_following() line helped you? u didn't get that username not exists error?

Ah, sorry it’s been a while since I did it. I do believe there was something like that. You comment that line, edit another to add abc or smth in the cmd name and then I think maybe one other step before you fix all the error messages.

Brother i want to reach out to you personally, can i? please it is a humble request... i need help... my instagram id is : _chas.hmish_ my discord id is : CAPTAN220708#3229

Unfortunately I’m on a camping trip atm, and don’t really have the time to help you with anything more than some steps I may have already figured out.

I understand, but i have already researched much on this topic but still not getting to any conclusion... well u can msg me in your spare time or when u come back to ur home... i will be waiting for ur msg, thank you... it was nice talking to u man! enjoy the camping ^_^