question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] ClientError checkpoint_challenge_required

See original GitHub issue

Describe the bug

I excute same command every day. Since today, Instagram seems to require an verification. Instapy-cli display a “challenge_required” message.

To Reproduce

instapy -u myuser -p mypassword -f https://i.imgur.com/EaWUsOs.jpg -t "Comment se faire des amis"

Expected behavior

Sending a working instagram post.

Logs If there are any errors or exceptions, add the logs to help explain your problem.

ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/13063477860/GhKeUCVT2D/", "api_path": "/challenge/13063477860/GhKeUCVT2D/", "hide_webview_header": true, "lock": true, "logout": false, "native_flow": true}, "status": "fail", "error_type": "checkpoint_challenge_required"})

Env (please complete the following information):

  • OS: archlinux
  • Python: 3.7.3
  • instapy-cli Version: 0.0.12

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:20

github_iconTop GitHub Comments

1reaction
valentin-a1commented, Dec 20, 2019

Edit: Changed location and it’s working now.

What do you mean by changing the location ? the location of your vpn ?

1reaction
gordonjecommented, Aug 16, 2019

Tried it again, and got a different error message:

ClientError URLError <urlopen error [Errno 8] nodename nor servname provided, or not known> (Code: 0, Response: )

Did a little googling, and it seems these errors are being thrown by the underlying instagram_private_api, as suggested by this issue. The diagnosis is that Instagram these errors indicate that Instagram has flagged an account as spammy.

In instagram_private_api’s README includes as a note recommending that users avoid excessive logins by caching the auth cookie.

Caching the auth cookie isn’t instapy-cli’s default behavior, correct? Is it an invokable option via the command line? If not, would you accept a pull request wherein we added this feature?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ClientError checkpoint_challenge_required (Code: 400 ...
after getting this, i resetted my password and updated credentials.ini with my new password. Now im receiving error 403 (failed to login).
Read more >
Osintgram error :((((((( : r/Kalilinux - Reddit
Experiencing this error in Osintgram. ClientError invalid_user (Code: 400, Response: {"message": "The username you entered doesn't appear to ...
Read more >
instagram-private-api - UNPKG
ig-challenge-wrong-code.error.js.map, 220 B, application/json. ig-checkpoint.error.d.ts, 248 B ... ig-login-required.error.js.map, 209 B, application/json.
Read more >
Osintgram is a OSINT tool on Instagram - Hakin9
Run pip install -r requirements.txt. 6. Open the credentials.ini file in the config folder and write your Instagram account username and password in...
Read more >
Threat Prevention R80.40 Administration Guide - Check Point
4yz Client error codes. 400. Bad request. 404. ICAP Service not found. 405. Method not allowed for service (for example, RESPMOD requested ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found