ramtinak / InstagramApiSharp

A complete Private Instagram API for .NET (C#, VB.NET).
MIT License
779 stars 239 forks source link

Challenge Required Error when trying to login #589

Open vaibhav-shah1988 opened 1 year ago

vaibhav-shah1988 commented 1 year ago

I've:

Issue category

Language

Usage

Operating System

Describe your issue

When I am trying to login using InstagramApiSharp, every time I get below error. Every time I have to go to "https://www.instagram.com/challenge/" & click "That was me", but still next time same error occurs.

Screenshots

image

CrossV4 commented 1 year ago

hey did you fixed that ?

MCvel commented 1 year ago

I was having the same issue, but I just logged in Via web and mobile, get a message that there were some suspicious logins, I clicked that everything was Ok, after that I try running the app again and it works just good.

mos379 commented 10 months ago

Same here, no problem after web interaction. Issue should be closed

graysuit commented 5 months ago

image

@vaibhav-shah1988 For normal challenges (like "we noticed automated behavior" etc), you can bypass like

if (loginResult.NeedsChallenge)
{
    await api.AcceptChallengeAsync();
}

But if account got suspended or locked, it won't work.

CrossV4 commented 4 months ago

Same here, no problem after web interaction. Issue should be closed

i didnt understand did you fixed that ?

Beblia commented 1 month ago

Still getting this issue. Even when using this code below.

if (loginResult.NeedsChallenge) { await api.AcceptChallengeAsync(); }

Error = User Must Be authenticated.

I log into the instagram account and click on (This was Me). After I can login on the browser. But the app will still not work. Images wont upload to instagram.