Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
xemnias-tech opened this issue May 30, 2021 · 27 comments

Comments

@xemnias-tech
Copy link

No description provided.

@xemnias-tech
Copy link
Author

can any help?

@Pechu-ai
Copy link

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
Copy link

goxtozo commented Jun 11, 2021

can any help?

I am also facing same problem

@goxtozo goxtozo mentioned this issue Jun 11, 2021
@tanitoo2
Copy link

tanitoo2 commented Jun 11, 2021 via email

@54Hex
Copy link

54Hex commented Jun 19, 2021

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
Copy link

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

This shoudl do

@hunter7506
Copy link

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

This shoudl do

didnt worked

@Akshay-shiva
Copy link

[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
Copy link

Akshay-shiva commented Jun 25, 2021

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

@Markojudas
Copy link

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

@Datalux Datalux closed this as completed Oct 18, 2021
@cevaboyz
Copy link

cevaboyz commented Jul 6, 2022

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
Copy link

mohsinhasan502 commented Jul 10, 2022

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

6xkdx9 commented Nov 13, 2022

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
Copy link

6xkdx9 commented Nov 13, 2022

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
Copy link

dinse56 commented Mar 10, 2023

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
Copy link

Same is happening with me

@Wesleyvos250
Copy link

same here

@Qzor
Copy link

Qzor commented Apr 9, 2023

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
Copy link

yah same issue

@AhmadSablouh
Copy link

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
Copy link

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
Copy link

Dkbolte commented Dec 24, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests