Instagram ошибка 429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Closed

android0221 opened this issue

Jun 12, 2022

· 5 comments

Labels

no template

Issue doesn’t use one of the Issue templates or lacks required information

Comments

@android0221

HTTP redirect from https://www.instagram.com/graphql/query to https://www.instagram.com/accounts/login/?next=/graphql/query
JSON Query to graphql/query: Redirected to login [retrying; skip with ^C]
Number of requests within last 10/11/20/22/30/60 minutes grouped by type:

  • XXXXXXXXXXXXXXXXXXXXXXXXXX: 1 1 1 1 1 1
    Instagram responded with HTTP error «429 — Too Many Requests». Please
    do not run multiple instances of Instaloader in parallel or within
    short sequence. Also, do not use any Instagram App while Instaloader
    is running.
    The request will be retried in 664 seconds, at 20:22.
    instaloader version:4.9.1

@iWajdi

Force close your instagram app on your phone, close the instagram tab on your browser, and just wait few seconds, or a minute and re-try.

@android0221

Force close your instagram app on your phone, close the instagram tab on your browser, and just wait few seconds, or a minute and re-try.

I haven’t opened instagram on my phone and browser, still the same problem.

@Showmaster3000

@bipsen

Edit: This turned out to be an issue with my Firefox installation, not related to the issue anyway.

I am also experiencing exceptional 429 errors, mainly when using the get_likes method. I have a setup that is usually very stable with several isolated web connections and Instagram profiles, but currently, I get an immediate 429 whenever I try to harvest likes. I am very carefully following the too-many-requests instructions, and normally do not have problems, so it seems to me something has changed.

My code looks likes this:

import instaloader

L = instaloader.Instaloader()
L.load_session_from_file('username')
post = instaloader.Post.from_shortcode(L.context, 'CeqpDjnvQyR')

# This runs fine.
L.download_post(post, 'target')  

# This errors.
for l in post.get_likes():
    print(l)

Error message:

JSON Query to graphql/query: 429 Too Many Requests [retrying; skip with ^C]
Number of requests within last 10/11/20/22/30/60 minutes grouped by type:
   2b0673e0dc4580674a88d426fe00ea90:    1    1    1    1    1    1
 * 1cb6ec562846122743b61e492c85999f:    1    1    1    1    1    1
Instagram responded with HTTP error "429 - Too Many Requests". Please
do not run multiple instances of Instaloader in parallel or within
short sequence. Also, do not use any Instagram App while Instaloader
is running.
The request will be retried in 666 seconds, at 12:05.

@wangqiang1988

i also 429, then i add time.sleep(random.randint(18,22)) to solving 429 error ,but download post very low , about 1 hours 100+ post,how can i do to fast download
code like this:

SINCE = datetime.datetime(1900, 8, 30)
UNTIL = datetime.datetime(2020, 4, 20)
L = instaloader.Instaloader(download_videos=False)
L.load_session_from_file("user")
posts = instaloader.Profile.from_username(L.context,insuser).get_posts()
#today = datetime.datetime.today()
#SINCE = today - datetime.timedelta(days=1)  # further from today, inclusive
print('ready post')
for post in posts:
    if UNTIL > post.date > SINCE:
        try:
            postn  = Post.from_shortcode(L.context,post.shortcode)
            L.download_post(postn,insuser)
            time.sleep(random.randint(18,22))
        except:
            print('error but continue')

@aandergr
aandergr

added

no template

Issue doesn’t use one of the Issue templates or lacks required information

and removed

bug

Bug

labels

Jul 4, 2022

Labels

no template

Issue doesn’t use one of the Issue templates or lacks required information

Работая с теми или иными функциями программы, можно столкнуться с кодом ошибки 429. В разных задачах это может указывать на разные ограничение схожего смысла. Рассмотрим два вида ошибок с таким кодом подробнее.

ЛИМИТ НА ЗАПРОСЫ ОТ ИМЕНИ АККАУНТА

Во время сбора аудитории, у вас может возникнуть ситуация, когда сбор начинает постоянно прерываться, а в логах указано сообщение вида: «[ERROR]:[429 — на всех используемых технических аккаунтах превышен часовой лимит на запросы]«. Данное сообщение означает, что объём запросов со всех технических аккаунтов превысил допустимый лимит. В разных функциях этот лимит может менятся. Чаще всего этот лимит равен 5000 запросов в час, для некоторых функций он может быть равен 200 запросов в час. Это ограничение Instagram накладывает на любые способы работы со своим API в том числе и для своего собственного мобильного приложения.

Чтобы решить эту проблему можно взять другие технические аккаунты или дать отдохнуть текущим. Если планируется длительный непрерывный сбор аудитории, то можно взять более обширную группу технических аккаунтов и настроить переключение между ТА на каждый 32ой запрос. Это позволит распределить нагрузку на каждый из ТА во времени и обойти лимит, если за час каждый из ТА не превысит допустимый лимит по запросам.

По умолчанию в программе всюду выставлено безопасное значение в 4990 запросов. А для тех функций, где проблема лимитов стоит особенно остро — выставлено переключение между ТА на каждый 32ой запрос.

ЛИМИТ НА ЗАПРОСЫ С IP

Также существует лимит на число запросов в единицу времени в пределах каждого IP. Если вы посылаете запросы к серверу Instagram с того или иного IP слишком часто, то это также может привести к временному отказу в выполнении тех или иных запросов с того или иного IP. 

В отличие от предыдущей, данный тип блокировки выдаётся на  короткое время (в пределах 1-2 минут) и большинство задач на сбор или фильтрацию аудитории умеют переходить в режим ожидания при обнаружении такого типа блокировки. Тем не менее, вы можете столкнуться с функцией, которая не подразумевает наличие такого режима ожидания в качестве реакции на «Ошибку 429». Например, если вы превысили лимит на запросы с того или иного IP при использовании фильтра, а затем пытаетесь выполнить полную инициализацию Instagram-аккаунта с заблокированного IP, то получите на экран примерно такое сообщение, как указано на скриншоте ниже.

Image 41099

«Ошибка 429» во время инициализации Instagram-аккаунта.

В этом случае просто подождите 1-2 минуты, а затем попробуйте выполнить инициализацию аккаунта снова.

This topic has been deleted. Only users with topic management privileges can see it.

  • Hello, everyone!!
    Not long I post any posts/topics here
    This week, I have an issue regarding accessing Instagram
    Every 2 or 3 days, I have a HTTP Error 429 when I accessing Instagram Post on new tab. This usually happens randomly, but always after 10:30pm WIB (GMT+7)(or 3:30pm GMT)
    I attach the screenshot for detail
    My Vivaldi version is 5.1.2567.57 (Stable channel) (64-bit)
    I always tick between posts every 40 seconds or more (previously every 20 seconds, then half minute (30 seconds))
    My Questions:

    1. Can I bypass this error code?
    2. If No.1 can’t, how to avoid it?
    3. When I have this error, when I can access it again?(24 hours (1 day), 2 day, or even 1 week?)
      Thanks for your answers!
      Regards
      Farel
      PS: If anything else happens (example move to other topic), please tell me!Screenshot (1633).png
  • The 429 HTTP error means «Too many requests», and is sent by the web site.

    According to the definition, the site has decided that you have been sending too many requests to them, but it might conceivably also mean too many requests to a single page, or perhaps even the entire site. The site decides if/when to send this message.

    Supposedly, the site should work again after a short while.

    Further reading:

    https://www.rfc-editor.org/rfc/rfc6585#section-4
    https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429

  • @frlvivaldi Your Vivaldi version is out of date. First, update the browser to build 5.5.2805.38, and see if the problem still occurs.

  • But how? (Sorry, I’m forget)

  • Ok, I will updating now. I know to it

  • Recently, I updated my Vivaldi to Version 5.5, exactly 5.5.2805.38 (Stable channel) (64-bit).
    If this error happen even I have updated version, what can I do? (This is my anticipation…😆)

  • @frlvivaldi Such can happen if you post too much/fast to Instagram with a extension or automated tool. Or it is a security tool at Instagram servers which blocks some IPs or after a limited number of requests.

  • The 429 HTTP error means «Too many requests», and is sent by the web site.

    According to the definition, the site has decided that you have been sending too many requests to them, but it might conceivably also mean too many requests to a single page, or perhaps even the entire site. The site decides if/when to send this message.

    Supposedly, the site should work again after a short while.

    Further reading:

    https://www.rfc-editor.org/rfc/rfc6585#section-4
    https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429

  • @DoctorG said in HTTP Error 429 Instagram:

    if you post too much/fast to Instagram with a extension or automated tool
    I not use any extension or automated tool. I use my own fingers.

  • Thanks @yngve for your understanding
    But, when I search how 429 HTTP error happens, I pay attention to «Retry-After» header. But I can’t use «View Page Source» because when I clicked it, it takes me back to the error page. If you can’t understand me, I will attach the screenshot on example (on other error code) about this. Probably tomorrow morning or afternoon because I must go sleep now.

  • Until this error solved, I temporarily limits on accessing Instagram post. For now, 40 seconds every posts.
    This is too fast or OK?

  • The Retry-After header is probably more useful for automatic software fetching content than for a browser, at the very least unless the site sends its own HTML error page explaining what is going on instead of relying on the browser to produce a default one, as in this case.

    If there is such a header in the HTTP response (It would not normally be in the HTML), you can see it in the Developer Tools network analyzer; but you can only see it for requests sent after you open the Dev Tools, not for the current page.

    As for why this happens, that is something you will have to ask the web site support about.

    I do see a few search results about this error from Instagram (particularly from users using a tool to download content), so you are not the only one. (One conceivable possibility: If there are many users on your local network, exiting through a single firewall IP address, then you might all be considered one user generating a lot of traffic, collectively exceeding the access rate limit.)

  • I’m sorry, recently I reply on this forum because of my busy activities and fear on using Instagram because of HTTP Error 429.
    @yngve , I usually download content (photos of course) using tool. I used Developer Tool (especially Inspect) to do that. Not third-party tools. This is OK or not? Or probably it cause Error 429?
    For 3 days on, I’m rarely use Instagram because I fear receive Error 429 that will traumatize me using that.

  • It could very well be the tool that got your IP address blocklisted.

    I have no knowledge about what triggers such a block, but I would think it involves at least how many requests are sent within a given timeframe.

    There might be information on their pages about what their expectations of tools are, e.g. request frequency, adherence to the robots.txt file, or some kind of contract that might include a login and API key usage, so that they know the requests are approved.

    Normal surfing should not normally trigger a block, but combined with a tool causing a lot of traffic from the same IP address ….

  • For you all, probably you’ll asked me «why you use this forum?»
    My answer is:
    This issue was addressed by me to Instagram’s Twitter accounts (Instagramcomms and Instagram), even its founder, Adam Moseri. I was followed them all. This was 2 weeks ago when I aware of HTTP Error 429 issue. But, there was no answer from them, so I using Vivaldi Forum to resolve this together. Even, I followed the Vivaldi’s Twitter account and it responded! (Thanks to your team!)

    @yngve said in HTTP Error 429 Instagram:

    It could very well be the tool that got your IP address blocklisted.

    The tool that your mean is Vivaldi’s Developer Tool (I’m using right-click, then Developer Tool, and then Inspect. Or, I simply press CTRL+Q direct to Inspect window)

  • I assumed, by this

    I usually download content (photos of course) using tool.

    you meant a separate (non-Vivaldi) tool to download a lot of images; I didn’t catch the rest, sorry.

    Still, Instagram seems to have some kind of detection method for such downloads (e.g that a resource is requested using a different set of HTTP headers than when loading images for their web view), and adds a temporary block when you cross some limit. I have no idea what that limit is.

  • @yngve said in HTTP Error 429 Instagram:

    you meant a separate (non-Vivaldi) tool to download a lot of images

    @yngve , not that. I’m using Vivaldi’s Developer Tool. Not others.

    @yngve said in HTTP Error 429 Instagram:

    Still, Instagram seems to have some kind of detection method for such downloads (e.g that a resource is requested using a different set of HTTP headers than when loading images for their web view), and adds a temporary block when you cross some limit. I have no idea what that limit is.

    But for this, this forum will open to everyone who see it and can answer/solve my problem, at least have same issue as me. I will wait for next week how this can be solved or -sorry- unsolved.


  • PathduckP Pathduck moved this topic from Vivaldi for Windows on

  • Hello, everyone!
    It’s me again, with Farel
    I’m sorry because last week I’m so sick so I not write anything on this thread. I’m now on recovery mode, hoping to get well soon.
    Now, I have some question to you (not only from Vivaldi’s Team)

    1. There is any website that can see Instagram without account (or for at least -for security reason- using account, but alternative to Instagram)?(This to accomodate me to see Instagram posts when I get HTTP Error 429 that usually last for 24 hours). Usually, I using Picuki (link: picuki.com) before I have my Instagram account.
      (Note: Normally I don’t access private accounts, so I access open one)
    2. When I get HTTP Error 429 in the future, what I must do? (Usually, I panicked when I get this error code)
    3. If you access Instagram on Vivaldi, what you do when accessing posts? Using same tab for see posts? Or «Open Link in New Tab» (in new tab)? (Usually I do latter)
      I wait for your answer for one week I least, so I can considering when I resuming Instagram surfing using Vivaldi.
      Thanks🙏 🙏
      Regards
      Farel☺ ☺

  • pafflickP pafflick marked this topic as a question on


  • pafflickP pafflick has marked this topic as solved on

  • Update:
    Start tomorrow (or probably Saturday), I will use Picuki (link: picuki.com) temporarily to surfing on Instagram. I will try using that to try this is better than Instagram or reversely. I will update as soon as possible, at least after I using this.
    Thank you for your attention
    PS: I will wait for your reply, from Vivaldi team and everyone that read this topic/post.

  • Emergency update:
    I think picuki.com always return with Error 500. So, I can’t use it. How do you think?
    Please answer me. The question that last week posted here still unanswered.
    For time being, I will temporarily refrain from Instagram, except urgent and needed until a useful solution has reached.
    Thank you for your attention.

  • @frlvivaldi
    PS: I recently used it

  • I do an application which deletes comments on Instagram since Saturday 31st of October, I get this response when I use API to delete comments:

    {"error_type":"OAuthRateLimitException","code":429,"error_message":"The maximum number of requests per hour has been exceeded...."}}.
    

    I see that they did a modification one year ago for the limits of the number of requests, but I don’t have this error during this execution since before the update.
    How to avoid it?
    Is it necessary to retrieve a new token or is there an another way to avoid it?

    trotta's user avatar

    trotta

    1,2321 gold badge16 silver badges23 bronze badges

    asked Nov 2, 2015 at 12:42

    user3323940's user avatar

    0

    Use a secure API request to get a higher limit. I think you missed this email from Instagram:

    When we announced our publishing guidelines for likes/relationship
    actions, we also introduced a new technique to sign API requests. As
    part of this announcement we set a deprecation date for the previous
    signed-headers functionality to Sept 1, 2015.

    This email is to let you know that support for signed-headers has now
    been deprecated. We know that a number of developers (including your
    company) are still relying on this option, and have whitelisted your
    client_id for an extended period. Please plan the migration to
    securing your application with signed-requests as soon as possible.
    You can learn more about this feature here:
    https://instagram.com/developer/secure-api-requests/.

    The extended support will end on Nov 1 2015. You will see your
    rate-limits for publishing likes/follows/comments reduced if you
    haven’t migrated after this date.

    tripleee's user avatar

    tripleee

    176k34 gold badges275 silver badges318 bronze badges

    answered Nov 2, 2015 at 19:36

    krisrak's user avatar

    krisrakkrisrak

    12.9k3 gold badges32 silver badges46 bronze badges

    The 429 HTTP status means “too many requests” and together with redirect to “login” page it simply means that Instagram is detecting “automated” traffic (from not logged-in user) and “rejects” it.

    How do I fix Error 429 on Instagram?

    The simplest way to fix an HTTP 429 error is to wait to send another request. Often, this status code is sent with a “Retry-after” header that specifies a period of time to wait before sending another request.

    What is 429 response code on Instagram?

    You’re receiving the 429 Too Many Requests error message because the user has sent too many requests in a given amount of time (could be a plugin, a DDos, or something else). It’s a server telling you to please stop sending requests.

    How do you fix error 429?

    Here is a recap of how to fix error 429 too many requests:

    1. Flush your browser cache.
    2. Monitor your hosting account’s order usage.
    3. Temporarily disable WordPress plugins.
    4. Switch to a default WordPress theme.
    5. Restore a website backup.
    6. Change your default login URL.

    Why does Instagram say 429 failed to load?

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

    ERROR 429 INSTAGRAM FIX | How to Fix Instagram Http Error 429

    Why is Instagram giving me an error message?

    To help reduce spam, Instagram doesn’t allow anyone to follow more than 7,500 people. Anyone who tries to follow more than 7,500 people will see an error message, regardless of how many followers they have.

    How do I fix my Instagram error?

    What to do if Instagram is not working

    1. Check if you are following too many people. …
    2. Try to restart the app (or your phone) …
    3. Check to see if Instagram is down. …
    4. Try logging in on another device. …
    5. Ensure Instagram is up to date. …
    6. Try using Instagram in a browser. …
    7. Clear your cache. …
    8. Ensure you have enabled permissions.

    What causes a 429 error?

    The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time («rate limiting»). A Retry-After header might be included to this response indicating how long to wait before making a new request.

    How to avoid 429?

    Here is a recap of how to fix error 429 too many requests:

    1. Flush your browser cache.
    2. Monitor your hosting account’s order usage.
    3. Temporarily disable WordPress plugins.
    4. Switch to a default WordPress theme.
    5. Restore a website backup.
    6. Change your default login URL.

    What is error Description 429?

    If the custom interface cannot be marshaled during CreateObject or during New, you receive the «429» error message. A late-bound object uses the IDispatch system-defined interface that does not require a custom proxy to be marshaled. Use a late-bound object to verify that this procedure works correctly.

    How do I know if my insta request is declined?

    If their profile still says “Requested,” it means they haven’t accepted nor rejected you. If their profile says “Follow” again, it’s likely they’ve rejected your request.

    What is error 429 in Safari?

    The 429 issue is caused by cookies and web history that web browsers e.g. Chrome, Firefox, Safari, Firefox, Edge track. If you get either of these error pages you will need to clear your web browsing history and cookies.

    What is 429 and 500 error?

    Sometimes the servers get overloaded (a 503 error), or the server goofs (a 500 error) or the server has a limit on the number of requests to protect against a 503 error and you went over that limit (a 429 error).

    What is error 429 in Chrome?

    A 429 «Too many requests» error can occur due to daily per-user limits (including mail sending limits), bandwidth limits, or a per-user concurrent request limit. Information about each limit follows.

    What is reason 429 unable to resolve server address?

    VPN Error 429 happens when your VPN software (client) fails to connect with the VPN server. This is when the following message pops up on the screen: “Unable to establish the VPN connection. The server may be unreachable”.

    What is 429 the custom error module does not recognize this error?

    This happens when you go over your Maximum Number of Concurrent Web Services API Requests or Maximum Number of Web Services API Requests per Minute limit.

    What is 429 Power Automate error?

    In general Error 429 means you have exceeded the limit of triggers per period (probably 60 seconds according to https://docs.microsoft.com/en-gb/connectors/powerbi/ ).

    Why is my Instagram not letting me log in?

    On the login screen, tap Forgot Password? Enter username, email or phone, and tap Log in with Facebook. Tap Next, and follow the on-screen instructions. A link will be sent to either your email or phone to help reset your password.

    Why is my Instagram blocked?

    Accounts that don’t follow our Community Guidelines may be disabled. If you think your account was disabled by mistake, you may be able to ask us to review the decision by opening the app, entering your username and password and following the on-screen instructions.

    What is wrong with Instagram now?

    At the moment, we haven’t detected any problems at Instagram.

    How do I clear my Instagram cache?

    How to clear Instagram cache: Android

    1. Open “Settings” on your phone.
    2. Once in settings, scroll down the menu and tap “Apps.”
    3. Then, select “Manage Apps.” You should see a list of apps on your device.
    4. Search for the Instagram app and select it.
    5. Once you tap on Instagram, select “Clear Data.”

    How long does the Instagram try again later error last for?

    You can always stay off the app for a couple of hours, sometimes up to 24 hours and see if the error resolves itself. If you have tried all the steps above you can talk to Instagram’s support team about the problem by opening «Settings» and pressing «Help».

    How long does Instagram disable your account?

    After 30 days, your account will be permanently deleted. And usually, you can only recover your account if it was disabled by mistake. In order to speed up the process, you can appeal in 3 different formats, two of which are forms, and one is via an email to Instagram support.

    What does error 429 mean on YouTube?

    Receiving a HTTP status 429 is not an error, it is the YouTube server asking you to please stop spamming requests. You should not seek to “dodge” this, or even try to circumvent server security settings by trying to spoof your IP, you should simply respect the server’s answer by not sending too many requests.

    What is 429 too many requests in Postman?

    I am getting a 429 too many requests error

    Postman API access is limited to 300 requests per minute. This error means that you have hit this maximum rate limit. It can happen, for example, if multiple people in your organization are using Postman and hit our servers from the same public IP.

    Понравилась статья? Поделить с друзьями:

    Интересное по теме:

  • Injection inop ошибка рено магнум 2004
  • Instagram ошибка 100
  • Injection defaillante ошибка на рено
  • Instagram неизвестная ошибка сети при входе
  • Inj adj v ошибка митсубиси

  • Добавить комментарий

    ;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: