Instagram 560 errors when trying to download stories from lots of accounts
See original GitHub issueDescribe the bug I’m receiving 560 errors when downloading multiple stories at the same time. This is happening on multiple accounts, not just one.
To Reproduce
Using stories.cmd batch:
instaloader +args.txt --no-posts --no-profile-pic --stories --no-metadata-json --no-iphone --abort-on=400,429
Inside the args text:
--login="<IG username>" --password="<IG user password>" --fast-update <Accounts to fetch stories from>
Expected behavior Should be downloading stories. If I download stories from only one account or a few, then the stories download should work, if the user has any active stories. But…
Error messages and tracebacks When I try to download stories from lots of accounts at the same time, Instagram is sending out 560 error code instead:
JSON Query to graphql/query: HTTP error code 560. [retrying; skip with ^C]
Errors or warnings occurred: Download stories: JSON Query to graphql/query: HTTP error code 560.
Instaloader version 4.9.2
Additional context This is happening starting just today. Is it just me or are others facing the same issue? If so, are Instagram servers overloaded for some reason?
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:27 (4 by maintainers)
You can simply modify this line:
https://github.com/instaloader/instaloader/blob/5e232fd4f521b1700c122827d973fd868c6ae483/instaloader/instaloader.py#L793
to a smaller number instead of running the accounts one by one manually.
5 works for me at the moment, but you can try literally 1.
Also yeah, I still encounter 560 issue today if using default 50 to download 23 account at once.
That does not avoid error 400. It only allows access to metadata. And it is worth everything, I mean the following:
Greetings.