How can I bypass the 429-error from www.instagram.com?

Viewed 11313

i'm solliciting you today because i've a problem with selenium. my goal is to make a full automated bot that create an account with parsed details (mail, pass, birth date...) So far, i've managed to almost create the bot (i just need to access to gmail and get the confirmation code).

My problem is here, because i've tried a lot of things, i have a Failed to load resource: the server responded with a status of 429 () So, i guess, instagram is blocking me. how could i bypass this ?

2 Answers

The answer is in the description of the HTTP error code. You are being blocked because you made too many requests in a short time.

Reduce the rate at which your bot makes requests and see if that helps. As far as I know there's no way to "bypass" this check by the server.

Check if the response header has a Retry-After value to tell you when you can try again.

Status code of 429 means that you've bombarded Instagram's server too many times ,and that is why Instagram has blocked your ip.

This is done mainly to prevent from DDOS attacks.

Best thing would be to try after some time ( there might be a Retry-After header in the response).

Also, increase the time interval between each request and set the specific count of number of requests made within a specified time (let's say 1 hr).

Related