Skip to content

Login Failed #77

@justewg

Description

@justewg

Hello. Can anyone help me?
I've run default code structure with 2FA,

insta := goinsta.New("correct_login", "correct_password")
err := insta.Login()
if err.Error() == goinsta.Err2FARequired.Error() {
	code := "correct_2fa_backup_code"
	err2FA := insta.TwoFactorInfo.Login2FA(code)
	if err2FA != nil {
		fmt.Print(err2FA)
	}
} else if err != nil {
	fmt.Print(err)
}

and receive an error "Request Status Code 400: fail, Invalid Parameters"
What an I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions