question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instagram 560 errors when trying to download stories from lots of accounts

See original GitHub issue

Describe 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:open
  • Created a year ago
  • Reactions:6
  • Comments:27 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
fireattackcommented, Jul 14, 2022

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.

1reaction
Nova6K0commented, Jul 31, 2022

That does not avoid error 400. It only allows access to metadata. And it is worth everything, I mean the following:

https:\\www.instagram.com\{}\[shortcode]\?__a=1&__d=dis

{} = tv, reel, p...

Greetings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I'm Getting an Error Message - Instagram Help Center
I get an error when trying to add a comment on Instagram. If you're not able to add a comment, first try updating...
Read more >
Error Codes - Instagram Platform - Meta for Developers
HTTP Status Code Code Subcode 400 ‑2 2207003 400 ‑2 2207020 400 ‑1 2207001
Read more >
'Oops, an error occurred' on Instagram: How to Fix It
Use another smartphone that is not blocked (your friend's or family member's phone) and log in to your current Instagram account. Link your ......
Read more >
Instagram Media Saver - RoutineHub
Find the Instagram post you want to download ... or downloading the full story from the given user's account (this includes all story...
Read more >
How to share a podcast to Instagram Stories with a link to the ...
If you have Facebook Stories sharing enabled it also pushes to your Facebook account. There, viewers can click to listen as well. Additionally, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found