Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Checkpoint Challenge required.... #1186

Open
5 tasks
jamescavallo opened this issue Jan 1, 2020 · 11 comments
Open
5 tasks

Checkpoint Challenge required.... #1186

jamescavallo opened this issue Jan 1, 2020 · 11 comments

Comments

@jamescavallo
Copy link

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • You will be asked some questions and requested to provide some information, please read them carefully and answer completely.
  • Put an x into all the boxes [ ] relevant to your issue (like so [x]).
  • Use the Preview tab to see how your issue will actually look like.

Before submitting an issue, make sure you have:

  • Updated to the latest version
  • Read the README and docs
  • Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

  • [X ] Bug report (encountered problems/errors)
  • Feature request (request for a new functionality)
  • [ X] Question
  • Other

The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here:

Code:

# Example code that will produce the error reported
from instabot import Bot

bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)

Error/Debug Log:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Running the bot off a VPS, whenever checkpoint challenge occurs and user clicks "this was me" then re logs in a new challenge occurs. Im guessing that this is because the code randomizes what kind of device it logs in from?

@duplicate-issues
Copy link

Hey @jcavallo88,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄

If not, the maintainers will get to this issue shortly.

Cheers,
Your Friendly Neighborhood ProBot

@bruvv
Copy link
Collaborator

bruvv commented Jan 15, 2020

Please see this: #1224 you have 2fa enabled I assume?

@hydrotik
Copy link

Is there even a way to disable 2FA in IG? I took a quick look and didn't see anything. Could be cause I was using a business account. I assume it's standard across all types of accounts? I tried exporting a cookie and used the code that navigates the 2FA but it doesn't seem to work.

@4godev
Copy link

4godev commented Feb 3, 2020

Hello, has this situation been updated? I'm having the same problem, instagram asks for login confirmation and I can't access the account.

2020-02-03 13:47:33,997 - DEBUG - Responsecode indicates error; response content: b'{"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/6525713726/yCJm9h2FwX/", "api_path": "/challenge/6525713726/yCJm9h2FwX/", "hide_webview_header": true, "lock": true, "logout": false, "native_flow": true}, "status": "fail", "error_type": "checkpoint_challenge_required"}'
2020-02-03 13:47:34,000 - ERROR - Request returns 400 error!
2020-02-03 13:47:34,001 - INFO - Instagram's error message: challenge_required
2020-02-03 13:47:34,003 - INFO - Error type: checkpoint_challenge_required
2020-02-03 13:47:34,004 - INFO - Checkpoint challenge required...

@ChadLei
Copy link

ChadLei commented Feb 5, 2020

getting this error as well, login info is correct, 2fa is not enabled on ig, what else could be the issue? even after manually clearing challenge it just repeats

@bruvv
Copy link
Collaborator

bruvv commented Feb 6, 2020

Your password needs to be changed. Change your password. Remove the secret file and the json cookie file and you're good to go.

@TrevisGordan
Copy link

@bruvv 'Remove the secret file and the json cookie' Remove what where? I have the same issue..

@thatdudealso
Copy link

I have the same issue please help @bruvv

@neilctwu
Copy link

neilctwu commented Mar 5, 2020

encountered same error here, any solution?

@RedxLus
Copy link

RedxLus commented Apr 4, 2020

Same error here

@leon-wbr
Copy link

Please see #1293 (comment) for a quick workaround.

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

No branches or pull requests

10 participants