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.77k stars 2.16k forks source link

ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": #220

Closed xemnias-tech closed 3 years ago

xemnias-tech commented 3 years ago

can any help?

Pechu-ai commented 3 years ago

instagram has blocked the account and you have to achieve some steps to prove that you're human. Connect yourself to the account through a web browser and it should show you the steps.

goxtozo commented 3 years ago

can any help?

I am also facing same problem

tanitoo2 commented 3 years ago

, in settings.json just edit it to "{}" that will work

Get Outlook for iOShttps://aka.ms/o0ukef


From: goxtozo @.> Sent: Friday, June 11, 2021 10:57:05 AM To: Datalux/Osintgram @.> Cc: DonT @.>; Comment @.> Subject: Re: [Datalux/Osintgram] ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": (#220)

can any help?

I am also facing se problem

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Datalux/Osintgram/issues/220#issuecomment-859402559, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZS2WE55MWBCBEB6S2HW5DTSHFWDANCNFSM45ZHVPDA.

54Hex commented 3 years ago

after getting this, i resetted my password and updated credentials.ini with my new password. Now im receiving error 403 (failed to login). Does anyone have a solution to that?

Akshay-shiva commented 3 years ago

[Solved] sudo apt-get install libncurses5-dev install gnureadline==6.3.3

This shoudl do

hunter7506 commented 3 years ago

[Solved] sudo apt-get install libncurses5-dev install gnureadline==6.3.3

This shoudl do

didnt worked

Akshay-shiva commented 3 years ago

[Solved] sudo apt-get install libncurses5-dev install gnureadline==6.3.3 This shoudl do

didnt worked

Can you attach your error precisely ?

Akshay-shiva commented 3 years ago

In json file , only {} should be there create a dummy insta account, enter your credentials correctly

Markojudas commented 3 years ago

this command worked for me, while on the /config directory: echo "{}" > settings.json

cevaboyz commented 2 years ago

this command worked for me, while on the /config directory: echo "{}" > settings.json

Thank you! It worked for me, can you explain why is it required in the settings.json?

mohsinhasan502 commented 2 years ago

hi i have same error

Attempt to login... ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/", "api_path": "/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/", "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 Please follow this link to complete the challenge: https://i.instagram.com/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/

tho i have a json file with {} but still getting this error ?!

kelanawisnu commented 2 years ago

hi i have same error

Attempt to login... ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/", "api_path": "/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/", "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 Please follow this link to complete the challenge: https://i.instagram.com/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/

tho i have a json file with {} but still getting this error ?!

Have you solved the problem? I also face the same issue

Yadhu009 commented 2 years ago

First u need to make a dummy account in ur mobail or instagram website not in kali linux or osintgram, u need to create like u create ur orginal instagram account then use the username and password of ur dummy account in osintgram

Abdullah-Rabee3 commented 2 years ago

In json file , only {} should be there create a dummy insta account, enter your credentials correctly

I installed the tools you mentioned and checked on my settings.json file made a new dummy account and didnt work it gives me the same error

ClientError Bad Request: ip_block (Code: 400, Response: {"message":"The username you entered doesn't appear to belong to an account. Please check your username and try again.","status":"fail","error_type":"ip_block","exception_name":"RleLoginBlocked"})The username you entered doesn't appear to belong to an account. Please check your username and try again.: Bad Request: ip_block

_im using cloudshell on windows_

giannis4369 commented 2 years ago

Guys can somebody help?! I recieve little same error, but nothing works out

ClientError bad_password (Code: 400, Response: {"message": "The password you entered is incorrect. Please try again.", "invalid_credentials": true, "exception_name": "UserInvalidCredentials", "error_title": "Incorrect password", "buttons": [{"title": "OK", "action": "dismiss"}], "status": "fail", "error_type": "bad_password"})The password you entered is incorrect. Please try again.: bad_password

I would appriciate it if somebody could help me

6xkdx9 commented 2 years ago

hi i have same error

Attempt to login... ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/", "api_path": "/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/", "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 Please follow this link to complete the challenge: https://i.instagram.com/challenge/AXHkLbdZMVWGHho0OzuWhvaLLqoHbyWyobrRANEDSns4lK-TmnY1oGJpkAoYq_Knam2TAFI/AfxpOJw-MdIPzh3RyJ_H6bl2BhHy_8O-j0y00Fwh6ji-yuExHnPR7OyM2r8a2WwFg0l3qGbWBRlH6w/

tho i have a json file with {} but still getting this error ?!

I have found the fix for this, took me around a min to resolve this issue. What you have to here is to run the python3 main.py and meanwhile keep your dummy account open on your mobile.

Once it is opened on your mobile, hit enter your one your machine and let the error comes up.

Once is here, refresh the dummy account on your mobile by scrolling down → this wil give you an pop of this was me/This wasn't me page.

After that, press Up arrow key or type the same command again on your machine ( python3 main.py ) and hit enter.

As soon as the Attempt to login message comes, click This was me on your mobile for dummy Insta account.

This might take a few tries to get ahead, but surely work. Did helped me and my friends to get ahead.

Regards 6xkdx9

6xkdx9 commented 2 years ago

Guys can somebody help?! I recieve little same error, but nothing works out

ClientError bad_password (Code: 400, Response: {"message": "The password you entered is incorrect. Please try again.", "invalid_credentials": true, "exception_name": "UserInvalidCredentials", "error_title": "Incorrect password", "buttons": [{"title": "OK", "action": "dismiss"}], "status": "fail", "error_type": "bad_password"})The password you entered is incorrect. Please try again.: bad_password

I would appriciate it if somebody could help me

I have found the fix for this, took me around a min to resolve this issue. What you have to here is to run the python3 main.py and meanwhile keep your dummy account open on your mobile.

Once it is opened on your mobile, hit enter your one your machine and let the error comes up.

Once is here, refresh the dummy account on your mobile by scrolling down → this wil give you an pop of this was me/This wasn't me page.

After that, press Up arrow key or type the same command again on your machine ( python3 main.py ) and hit enter.

As soon as the Attempt to login message comes, click This was me on your mobile for dummy Insta account.

This might take a few tries to get ahead, but surely work. Did helped me and my friends to get ahead.

Regards 6xkdx9

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

can anyone please help me with this.

Artticus3516 commented 1 year ago

Same is happening with me

Wesleyvos250 commented 1 year ago

same here

Qzor 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 "/usr/local/lib/python3.11/dist-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/Desktop/ourtest/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Desktop/ourtest/Osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/home/kali/Desktop/ourtest/Osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Desktop/ourtest/Osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/usr/local/lib/python3.11/dist-packages/instagram_private_api/errors.py", line 135, in process raise ClientError(error_msg, http_error.code, error_response) heeeeeeeeeeeeeeeeeeeeeelp

vamshi1188 commented 1 year ago

yah same issue

AhmadSablouh commented 1 year ago

Attempt to login... ClientError Bad Request: consent_required (Code: 400, Response: {"message":"consent_required","consent_data":{"headline":"Updates to Our Terms and Privacy Policy","content":"We've updated our Terms and made some changes to our Privacy Policy. Please take a moment to review these changes and let us know that you agree to them.\n\nYou need to finish reviewing this information before you can use Instagram.","button_text":"Review Now"},"status":"fail"})consent_required any help

robertopv commented 11 months ago

A porcaria do instagram mudou a API.... O retorno da chamada de API específico que, o Instagram o descontinuou, fazendo com que o programa não funcionasse totalmente.

O que você realmente precisa fazer é:

1 - vai até o diretorio: a src 2 - procure o arquivo Osintgram.py 3 - na linha onde está escrito self.following = self.check_following() na função setTarget(self, target) 4 - comente essa linha, assim: #self.following = self.check_following(). 5 - Prontinho sejam felizes.... Isso deve funcionar.

Dkbolte commented 10 months ago

Attempt to login... Error parsing error response: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-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 "/root/Desktop/osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/Desktop/osintgram/src/Osintgram.py", line 48, in init self.setTarget(target) File "/root/Desktop/osintgram/src/Osintgram.py", line 61, in setTarget self.following = self.check_following() ^^^^^^^^^^^^^^^^^^^^^^ File "/root/Desktop/osintgram/src/Osintgram.py", line 1159, in check_following return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/usr/local/lib/python3.11/dist-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 what sholud i do .. can anyone write step by step what need to be done for this..

Rhythmsahi commented 7 months ago

@Dkbolte just do command (pip install instagram_private_api.errors ) simple as that

7tndm commented 2 months ago

(Code: 400, Response: {"message": "challenge_required", "challenge"

ismukhanovks commented 2 days ago

Guys can somebody help?! I recieve little same error, but nothing works out ClientError bad_password (Code: 400, Response: {"message": "The password you entered is incorrect. Please try again.", "invalid_credentials": true, "exception_name": "UserInvalidCredentials", "error_title": "Incorrect password", "buttons": [{"title": "OK", "action": "dismiss"}], "status": "fail", "error_type": "bad_password"})The password you entered is incorrect. Please try again.: bad_password I would appriciate it if somebody could help me

I have found the fix for this, took me around a min to resolve this issue. What you have to here is to run the python3 main.py and meanwhile keep your dummy account open on your mobile.

Once it is opened on your mobile, hit enter your one your machine and let the error comes up.

Once is here, refresh the dummy account on your mobile by scrolling down → this wil give you an pop of this was me/This wasn't me page.

After that, press Up arrow key or type the same command again on your machine ( python3 main.py ) and hit enter.

As soon as the Attempt to login message comes, click This was me on your mobile for dummy Insta account.

This might take a few tries to get ahead, but surely work. Did helped me and my friends to get ahead.

Regards 6xkdx9

I'm just logging out of my account. You've been logged out. Please log back in