Challenge resolution failed during login
Become a 10x Instagrammer and Escape Brainrot with Instagram CLI
Brought to you by:
jetc
Originally created by: HomyeeKing
Describe the bug
instagram-cli auth login
ERROR Text string ";" must be rendered inside <text> component</text>
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Originally posted by: endernoke
Hello, thanks for reporting the issue.
This bug was caused by a typo in the code (see [#165]). We've fixed it in the latest commit on
mainbranch.Also I believe the bug is only triggered when the UI is trying to display the error message if you have entered the wrong password, could you check that and see if the issue is resolved?
We'll also be releasing a patch version on npm asap
Related
Tickets:
#165Originally posted by: supreme-gg-gg
Could you provide the logs file for the session in
~/.Instagram-cli/logs, the login functionality itself is working just that it cannot display error messages due to this typo. See [#156] the error might be that you entered a wrong passwordRelated
Tickets:
#156Originally posted by: HomyeeKing
I'm sure that my account and password are right and there's no logs file.
Before showing the error message, it shows
Challenge required, requesting code, don't know if it helpsOriginally posted by: supreme-gg-gg
This means that instagram is usually sending you an email / SMS to verify your login as would happen on the web, perhaps we're not handling it well, weird that there's no log for the session since it would help us diagnose the issue. Perhaps updating the CLI with the npm install again and see if you can see runtime logs.
Originally posted by: HomyeeKing
Updated to 1.2.2 and still no logs.
Originally posted by: supreme-gg-gg
I see, this is a known issue that we've tried to resolve with the API library: https://github.com/dilame/instagram-private-api/issues/1804. However, we weren't able to completely fix it since we can't debug it if we don't receive challenge on our development and own accounts. For now, perhaps try to use another account or setup 2FA, or use the python client (which should handle challenges fine). I will ping you once we've solved this for typescript
Originally posted by: endernoke
Let's move the discussion upstream to https://github.com/dilame/instagram-private-api/issues/1804 since we can't really do anything without fixing
instagram-private-api.If anyone can reproduce the
No checkpoint data availableerror /IgNoCheckpointErrorand want to work on it please let us know, we'd greatly appreciate your help :)