400 Bad Request; Please wait a few minutes before you try again.
See original GitHub issueBug Report
Form
Requirements
- I’ve searched the Issues
- I’ve read the basic concepts
- I’m using the latest version
Platform
- I’m using Node.js version
v16.14.2
Description
After a short period of time, when I make changes, this error occurs to me
I lost one of my Instagram accounts and whenever I tried to log in, this error was displayed Please wait a few minutes before you try again.
I created a new account, the same thing happened again, but my account was not closed, but the problem is still there.
I read other issues and did not see the correct solution
Code
const instagram = async () => {
const ig = new IgApiClient();
ig.state.generateDevice(process.env.IG_USERNAME);
try {
const loggedInUser = await ig.account.login(
process.env.IG_USERNAME,
process.env.IG_PASSWORD,
);
} catch (e) {
throw e;
}
};
Error and Output
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
IgResponseError: POST /api/v1/accounts/login/ - 400 Bad Request; Please wait a few minutes before you try again.
at Request.handleResponseError (C:\Users\mmdzov\Desktop\test\insta\node_modules\instagram-private-api\dist\core\request.js:126:16)
at Request.send (C:\Users\mmdzov\Desktop\test\insta\node_modules\instagram-private-api\dist\core\request.js:54:28)
Issue Analytics
- State:
- Created a year ago
- Comments:23
Top Results From Across the Web
How to Fix "Please wait a few minutes before you try again" on ...
Instagram says, “Please wait a few minutes before trying again” because you might have logged in and out too fast, or you're using...
Read more >The Best Fixes for Error “Please Wait A Few Minutes Before ...
The “Please wait a few minutes before you try again” error message on Instagram usually occurs when users log in and out extremely...
Read more >How To Fix "Please wait a few minutes before you try again ...
If you receive the "Please wait a few minutes before you try again" error message, it means that your IP address has been...
Read more >How to Fix a 400 Bad Request Error (Causes and Fixes) - Kinsta
The 400 Bad Request error indicates that the server cannot or process the request due to a client error. Read about the common...
Read more >Fix please wait a few minutes before you try again instagram ...
This tutorial is about how to fix instagram please wait a few minutes before you try again problem.This solution works for all android ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That depends on proxy.
Maybe you can close the issue.
It is common error. Change IP or wait 1+ hour