/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
Error:
My source code:
I have entered the username and password according to my Instagram account