age restricted profile: several errors

Author: publictransportfailCreated Jan 24, 2026Updated Sep 27, 2026
Labelsbugstale

i'm trying to download an age restricted profile to my computer for archival reasons n can't do it :(

Describe the bug when i try downloading a profile with the command instaloader --login=MYPROFILE profile TARGETPROFILE --password=MYPASSWORD (putting in instaloader --login=MYPROFILE profile TARGETPROFILE makes it so i can't type in the command prompt for some reason), i get this error:

Session file does not exist yet - Logging in.
Logged in as MYPROFILE.
JSON Query to api/v1/users/web_profile_info/?username=profile: 404 Not Found when accessing https://i.instagram.com/api/v1/users/web_profile_info/?username=profile [retrying; skip with ^C]
JSON Query to api/v1/users/web_profile_info/?username=profile: 404 Not Found when accessing https://i.instagram.com/api/v1/users/web_profile_info/?username=profile [retrying; skip with ^C]
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1 [retrying; skip with ^C]
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1 [retrying; skip with ^C]
profile: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=bundleof.styx&include_reel=False&__a=1 [retrying; skip with ^C]
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=TARGETPROFILE&include_reel=False&__a=1 [retrying; skip with ^C]
TARGETPROFILE: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=TARGETPROFILE&include_reel=False&__a=1
Saved session to C:\Users\MYCOMPUTER\AppData\Local\Instaloader\session-MYPROFILE.

Errors or warnings occurred:
profile: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1
TARGETPROFILE: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=TARGETPROFILE&include_reel=False&__a=1

To Reproduce

  • open Command Prompt
  • cd C:\Users\MYCOMPUTER\Downloads\instaloader-4.15\instaloader-4.15\instaloader
  • put in instaloader --login=MYPROFILE profile TARGETPROFILE --password=MYPASSWORD (change your values accordingly ofc)
  • press enter

Expected behavior download the profile

Error messages and tracebacks

Session file does not exist yet - Logging in.
Logged in as MYPROFILE.
JSON Query to api/v1/users/web_profile_info/?username=profile: 404 Not Found when accessing https://i.instagram.com/api/v1/users/web_profile_info/?username=profile [retrying; skip with ^C]
JSON Query to api/v1/users/web_profile_info/?username=profile: 404 Not Found when accessing https://i.instagram.com/api/v1/users/web_profile_info/?username=profile [retrying; skip with ^C]
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1 [retrying; skip with ^C]
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1 [retrying; skip with ^C]
profile: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=bundleof.styx&include_reel=False&__a=1 [retrying; skip with ^C]
JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=TARGETPROFILE&include_reel=False&__a=1 [retrying; skip with ^C]
TARGETPROFILE: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=TARGETPROFILE&include_reel=False&__a=1
Saved session to C:\Users\MYCOMPUTER\AppData\Local\Instaloader\session-MYPROFILE.

Errors or warnings occurred:
profile: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1
TARGETPROFILE: JSON Query to web/search/topsearch/: 401 Unauthorized - "fail" status, message "Server Error" when accessing https://www.instagram.com/web/search/topsearch/?context=blended&query=TARGETPROFILE&include_reel=False&__a=1

Instaloader version 4.15

Additional context i added --password=MYPASSWORD because i can't type in command prompt (including copy paste) for some reason. maybe this change is the problem? i don't know how else to get around the text input issue tho. i am on a laptop i'm logged into my account on firefox; i'm logged into another one as well that also has access to viewing the account the other threads abt this aren't helpful