mirror of
https://github.com/misiektoja/instagram_monitor.git
synced 2026-04-25 22:35:49 +03:00
[GH-ISSUE #65] useragent mismatch #46
Labels
No labels
Stale
Stale
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/instagram_monitor#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrtreexu1104 on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/65
{"message":"useragent mismatch","status":"fail"}
Hello, I encounter this issue when monitoring my account. How can I resolve it?
@misiektoja commented on GitHub (Feb 12, 2026):
It is due to recent changes made by Instagram, which require adjustments to Instaloader. The issue has already been reported here and there is already a PR for that. Also discussed here.
We are waiting for the official Instaloader 4.16 release. Meanwhile, you can install the beta version from the PR branch as shown below. However, keep in mind that it currently breaks session mode 1, so you need to use mode 2 (the best with Firefox session cookie).
@tomballgithub commented on GitHub (Feb 21, 2026):
Duplicate of #61
@mrtreexu1104 commented on GitHub (Feb 26, 2026):
I am unable to install the beta version from the PR branch as shown below,
and the link displays "Not Found".
tomballgithub @.***> 于2026年2月24日周二 04:21写道:
@tomballgithub commented on GitHub (Feb 26, 2026):
@mrtreexu1104
It looks like some links in the email didn't work for you. If you say 'view on github' from your email update, it will bring up full details.
The PR is here: https://github.com/instaloader/instaloader/pull/2652
And it's coming from cxyfer:fix/profile-graphql-v4.16
Above in this thread (viewable on github as I mentioned), @misiektoja tells how to install it:
@mrtreexu1104 commented on GitHub (Feb 26, 2026):
C:\Users\xujie>pip install git+
@./profile-graphql-v4.16
WARNING: Ignoring invalid distribution ~ip
(C:\Users\xujie\AppData\Local\Programs\Python\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip
(C:\Users\xujie\AppData\Local\Programs\Python\Python312\Lib\site-packages)
Collecting git+
@./profile-graphql-v4.16
Cloning https://github.com/cxyfer/instaloader.git (to revision
fix/profile-graphql-v4.16) to .\AppData\Local\Temp\pip-req-build-pem89ktp
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your
PATH?
tomballgithub @.***> 于2026年2月26日周四 13:14写道:
@tomballgithub commented on GitHub (Feb 26, 2026):
@misiektoja will need to advise
@tomballgithub commented on GitHub (Feb 26, 2026):
@mrtreexu1104
FYI, what I did when the PR was developed was take structures.py from here and replace the one on my system.
https://raw.githubusercontent.com/cxyfer/instaloader/refs/heads/fix/profile-graphql-v4.16/instaloader/structures.py
@mrtreexu1104 commented on GitHub (Feb 26, 2026):
Awesome, thanks!
tomballgithub @.***> 于2026年2月26日周四 13:28写道: