I have been working my way through the Unofficial Instagram-API-python and (in short) what my app did was to download public data (likes per photo) of various Instagram users. After about 24 hours of work suddenly I received the following message
code of 400 (Bad Request)
After checking out the rate limits on the official Instagram API page, I found out that this 400 Bad Request
is not linked to limits, but to "spammy"
behaviour.
From documentation:
"You may also receive responses with an HTTP response code of 400 (Bad Request) if we detect spammy behavior by a person using your app. These errors are unrelated to rate limiting."
There are similar questions on stack overflow, but none of them seem to provide any solutions. My questions are:
P.S. note that in the documentation, it's explicitly noted that this is not related to the request frequency.
P.S.2 48 hours lated my account could run the same code and there 400 Bad Request
was gone, so it was a temporary ban.
Any input will be much appreciated!