Skip to content

error when logging in #27

@Syrup

Description

@Syrup

Error:

/root/bot/node_modules/node-insta-web-api/lib/index.js:149
            throw new Error(e)
                  ^

Error: Error: Login Failed, Please Try Again Later.
    at Instagram.login (/root/bot/node_modules/node-insta-web-api/lib/index.js:149:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async main (/root/bot/ninsta.js:5:3)

Node.js v19.1.0

My source code:

const Insta = require("node-insta-web-api")
const client = new Insta()

async function main() {
  await client.login("username", "password")

  console.log(await client.getProfileData())
}

main()

I have entered the username and password according to my Instagram account

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