#9773·gallery-dl

[instagram] Avatar extraction returns "429 Too Many Requests"

Author: jpskirmseCreated Sep 24, 2026Updated Sep 28, 2026

Today I noticed that I kept receiving "429 Too Many Requests" warnings when trying to run a full Instagram profile. Looking into the issue, I noticed this only happens when extracting avatars, when I run "include" as ["info", "tagged", "posts", "reels", "highlights", "stories"], this does not happen in any of the other subcategories. I toggled user-cache on and off and it keeps happening, so this is not the issue this time, and my account was not flagged or anything. I updated it to the dev version today. Here is the verbose output:

gallery-dl -o include=avatar --verbose "https://www.instagram.com/brotheroflamb/"

[gallery-dl][debug] Version 1.32.14-dev
[gallery-dl][debug] Python 3.14.6 - Windows-11-10.0.26200-SP0
[gallery-dl][debug] requests 2.34.2 - urllib3 2.8.0
[gallery-dl][debug] Configuration Files ['%APPDATA%\\gallery-dl\\config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://www.instagram.com/brotheroflamb/'
[instagram][debug] Using InstagramUserExtractor for 'https://www.instagram.com/brotheroflamb/'
[instagram][debug] Using InstagramAvatarExtractor for 'https://www.instagram.com/brotheroflamb/avatar/'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.instagram.com:443
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /web/search/topsearch/?query=brotheroflamb HTTP/1.1" 302 0
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /web/search/topsearch/?query=brotheroflamb HTTP/1.1" 200 1343
[instagram][debug] Sleeping 18.82 seconds (request)
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/users/11676596331/info/ HTTP/1.1" 429 0
[instagram][debug] '429 Too Many Requests' for 'https://www.instagram.com/api/v1/users/11676596331/info/' (1/5)
[instagram][info] Waiting for 1 minutes until 17:44:00 (429 Too Many Requests)
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/users/11676596331/info/ HTTP/1.1" 429 0
[instagram][debug] '429 Too Many Requests' for 'https://www.instagram.com/api/v1/users/11676596331/info/' (2/5)
[instagram][info] Waiting for 1 minutes until 17:45:01 (429 Too Many Requests)
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/users/11676596331/info/ HTTP/1.1" 429 0
[instagram][debug] '429 Too Many Requests' for 'https://www.instagram.com/api/v1/users/11676596331/info/' (3/5)
[instagram][info] Waiting for 1 minutes until 17:46:02 (429 Too Many Requests)
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/users/11676596331/info/ HTTP/1.1" 429 0
[instagram][debug] '429 Too Many Requests' for 'https://www.instagram.com/api/v1/users/11676596331/info/' (4/5)
[instagram][info] Waiting for 1 minutes until 17:47:03 (429 Too Many Requests)
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/users/11676596331/info/ HTTP/1.1" 429 0
[instagram][debug] '429 Too Many Requests' for 'https://www.instagram.com/api/v1/users/11676596331/info/' (5/5)
[instagram][error] NotFoundError: Requested user could not be found
[instagram][debug]
Traceback (most recent call last):
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 946, in _user_by_id_impl
    return self._call(endpoint, notfound="user")["user"]
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 1201, in _call
    return extr.request_json(url, **kwargs)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\common.py", line 292, in request_json
    response = self.request(url, **kwargs)
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 165, in request
    response = Extractor.request(self, url, **kwargs)
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\common.py", line 267, in request
    raise exc
gallery_dl.exception.HttpError: '429 Too Many Requests' for 'https://www.instagram.com/api/v1/users/11676596331/info/'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python314\Lib\site-packages\gallery_dl\job.py", line 169, in run
    msg = self.dispatch(extractor)
  File "C:\Python314\Lib\site-packages\gallery_dl\job.py", line 228, in dispatch
    for msg, url, kwdict in messages:
                            ^^^^^^^^
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 95, in items
    posts = self.posts()
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 806, in posts
    user = self.api.user_by_id(user_id)
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 939, in user_by_id
    return self.extractor.cache(
           ~~~~~~~~~~~~~~~~~~~~^
        self._user_by_id_impl, user_id,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        _exp=self._user_cache_exp, _mem=self._user_cache_mem)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\common.py", line 416, in cache
    value = func(*args)
  File "C:\Python314\Lib\site-packages\gallery_dl\extractor\instagram.py", line 950, in _user_by_id_impl
    raise self.exc.NotFoundError("user")
gallery_dl.exception.NotFoundError: Requested user could not be found

Cheers,