Skip to content

[BUG] Instagram stories Graphql download issues - intermittent downloading #232

@donbeatz

Description

@donbeatz

Describe the bug
When downloading instagram content. IF "Use graphql to download" is checked, both automation and manually triggered downloads works perfectly - except for users active stories which sometimes download and sometimes don't. (the 24 hour stories). Even when a user has a known story and a manual download is triggered it won't get that story.

IF "Use graphql to download" is unchecked, it will download those stories that it misses or can't download when using graphql, but after 2 - 3 profiles, instagram detects botting and you get hit with a "Instagram credentials have expired [400]: [Instagram] - targetusername [Stories]" indicating that it was the stories that tripped it.
Then it returns " [TIMELINE, REELS, TAGGED, STORIES, USERSTORIES, SAVEDPOSTS] DOWNLOADING IS DISABLED UNTIL YOU UPDATE YOUR CREDENTIALS"

If you update your credentials, you get another 2-3 profiles and then get the samething. So it seems graphql is needed, but it will randomly miss stories, both video stories and photo stories, seemingly at random, even with forced manual downloads. It just seems to have a real problem with some stories.

I have tried to set up a few different story formats on my throw away insta account to see if it was a resolution/tag/hyperlink/shared story issue and all of them downloaded using both download methods.

None of the timing or limits have been changed from default. Is anyone else experiencing stories only being skipped randomly?

Please complete the following information or replace the following text with data copied from SCrawler (click the top right info button in the main window, then the Environment button, then the Copy button, and paste the copied text here).
SCrawler v2025.6.12.0 (x64)
OS: Microsoft Windows 10 Pro (x64)
ffmpeg version: ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
yt-dlp version: 2025.06.09
gallery-dl version: 1.29.7
cURL version: curl 7.86.0 (x86_64-w64-mingw32) libcurl/7.86.0 OpenSSL/3.0.7 (Schannel) zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 WinIDN libssh2/1.10.0 nghttp2/1.50.0 ngtcp2/0.10.0 nghttp3/0.7.1 libgsasl/2.2.0

Oh and all of the cookies and tokens/ids are correct. Again everything works 100% of the time - apart from stories which work about 50% of the time.

Another clue I found:
When the stories fail to download any content, the Stories (user) folder in the targets profile on disk, its date changes to the current day of scanning. So if you know profile x has a story, you manually trigger a download. and it says its got everything, if you go to profile x's folder and look at the stories (user) folder where the content should be the content is missing, but the folder date has changed.
So it seems like it is trying to write data to that folder.

This seems to be happening across all profiles (about 20 im monitoring), and it seems that one specific days all profiles stories wont download, but other days they will (if they have stories).

Honestly have no idea what is going on and I can only code python so im out of my depth on looking at the source in git to trouble shoot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions