9xN / node-ig-framework

Framework for interacting with instagrams private api in a usable manner in a structure and format similar to discord's old bot development framework.
GNU Affero General Public License v3.0
25 stars 8 forks source link

POST /api/v1/accounts/login/ - 400 Bad Request; challenge_required #1

Closed azkadev closed 1 year ago

azkadev commented 1 year ago

I am trying to use your library to build a bot,

I have also clicked on my device but I tried to log in again it failed and this error appears

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

IgCheckpointError: POST /api/v1/accounts/login/ - 400 Bad Request; challenge_required
    at Request.handleResponseError (/home/hexaminate/azkadev/baru_test/node_modules/instagram-private-api/dist/core/request.js:108:24)
    at Request.send (/home/hexaminate/azkadev/baru_test/node_modules/instagram-private-api/dist/core/request.js:54:28)

Node.js v18.13.0
9xN commented 1 year ago

that means your account is locked by instagram and you have to sign in manually and then confirm your email or do some kind of confirmation challenge then you can try running the bot again and it should work fine