Davincible / goinsta

Unofficial Instagram API written in Golang (v2022)
MIT License
183 stars 56 forks source link

Too many requests, sleeping for %d seconds 1m0s #41

Open Subi opened 1 year ago

Subi commented 1 year ago

I've noticed this error sometimes even when running my application using a single account and looking up a single profile but this error typically occurs during the insta.Login() process of the app. I know this isn't an error on my end because of how it's logged. Curious if you know what this could be from

Davincible commented 1 year ago

I would need a bit more details. There are a few requests made during login that are expected to generate this response, also in the Android app. I would need to know whether this response is generated by one of those endpoints or not

Subi commented 1 year ago
instagram_1            |   "body": "{\"message\":\"Please wait a few minutes before you try again.\",\"status\":\"fail\"}",
instagram_1            |   "endpoint": "fbsearch/nullstate_dynamic_sections/",
instagram_1            |   "status": 429
instagram_1            | }
instagram_1            | Too many requests, sleeping for %d seconds 1m0s

Here is the error with the error following after. Would using proxies help mitigate this issue ?

Davincible commented 1 year ago

Is it actually erroring out? It should get ignored, this endpoint is not of importance "Non fatal error while setting search null state"

Subi commented 1 year ago

Well the issue isn't that , the problem is the Too many requests, sleeping for x amount of seconds causes the app to stop sending additional request so if I am want to send a following request shortly there after nothing happens.